# izzzzzi/izTolkMcp [Health: Active]

**Category:** 💰 Finance & Fintech  
**Repository:** https://github.com/izzzzzi/izTolkMcp  
**GitHub Stars:** 3  
**npm Downloads (last month):** 368  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/izzzzzi-iztolkmcp

## Description
MCP server for the Tolk smart contract compiler on TON blockchain. Compile, syntax-check, and generate deployment deeplinks for TON contracts directly from AI assistants.

## Tools
Capabilities this server exposes over MCP:

- **get_compiler_version** — Returns the version of the Tolk compiler (from @ton/tolk-js WASM). Use this to check which compiler version is available.
- **compile_tolk** — Compiles Tolk smart contract source code using @ton/tolk-js. Provide source files as a map of filename->content. The entrypoint file must be included. Standard library imports (@stdlib/*, @fiftlib/*) are resolved automatically. Supports pathMappings for custom @alias import resolution. Returns compiled Fift code, BoC (Bag of Cells) in base64, code hash, and compiler version.
- **check_tolk_syntax** — Checks Tolk source code for syntax and type errors without returning full compilation output. Faster feedback loop for iterative development. Supports pathMappings for custom @alias import resolution. Returns OK + code hash on success, or error details on failure.
- **generate_deploy_link** — Generates a TON deployment deeplink for a compiled Tolk contract. Accepts the compiled code BoC (base64) and optionally initial data BoC. Computes the contract address and returns ton:// deeplinks for wallet deployment.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "iztolkmcp": {
    "command": "npx",
    "args": ["-y","iz-tolk-mcp"]
  }
}
```

## Documentation

## What izzzzzi/izTolkMcp MCP server does

The izzzzzi/izTolkMcp MCP server connects an MCP-compatible AI assistant to the Tolk smart contract compiler used for TON blockchain development. It provides tools for checking source code, compiling contracts, inspecting the bundled compiler version, and creating deployment links from compiled contract code.

The server is intended for development workflows where contract source is supplied in the conversation or by the client. It does not deploy a contract to the blockchain itself. Instead, its deployment tool computes the contract address and returns wallet-oriented links that can be used to initiate deployment.

In addition to tools, the project exposes Tolk documentation resources covering the language, standard library, changelog, FunC migration, and example counter and jetton contracts. It also includes prompts for writing, reviewing, and debugging Tolk contracts.

## How it works

The izzzzzi/izTolkMcp MCP server communicates over standard input and output, so an MCP client launches it as a local process. The documented quick-start command is `npx iz-tolk-mcp`; a local build can instead run the generated `dist/cli.js` file with Node.js.

`compile_tolk` receives an entrypoint filename and a map of filenames to source contents. The entrypoint must be present in that map. Standard imports using `@stdlib/*` and `@fiftlib/*` are resolved automatically, while `pathMappings` can define custom aliases. Compilation can use optimization levels from 0 through 2 and optionally include stack comments in the Fift result.

The compiler response includes Fift code, a base64-encoded BoC, a code hash, and the compiler version. `check_tolk_syntax` uses the same source structure for a faster validation cycle and reports success with a code hash or returns error details. `generate_deploy_link` consumes the compiled code BoC, optionally accepts an initial-data BoC, and supports workchain and deployment amount parameters.

## Setup and configuration

The izzzzzi/izTolkMcp MCP server requires Node.js 18 or newer. It can be run without a global installation through `npx`, installed globally with npm, or built from the repository after installing dependencies and running the build script.

For Claude Desktop, Cursor, Windsurf, and VS Code with Copilot, configure the client to launch `npx -y iz-tolk-mcp`. Claude Code can register the same command with its MCP add command. A client using a local checkout can launch Node with an absolute path to `dist/cli.js`.

No environment variables are documented as required. The server uses the Tolk compiler bundled through `@ton/tolk-js` and does not list external credentials or network services as prerequisites.

## Tools and capabilities

The four MCP tools are:

- `get_compiler_version`: reports the version of the bundled Tolk compiler.
- `compile_tolk`: compiles multi-file Tolk input and returns Fift, BoC, code hash, and version information.
- `check_tolk_syntax`: checks syntax and types without returning the full compilation output.
- `generate_deploy_link`: creates `ton://` and Tonkeeper deployment links from compiled code and optional initial data.

The supplied prompts support new contract generation, security-oriented review, and diagnosis of compiler errors. The review workflow covers areas such as access control, message handling, integer overflow, gas management, storage integrity, and TON-specific vulnerabilities, according to the project documentation.

## Limitations and notes

The izzzzzi/izTolkMcp MCP server prepares compilation results and deployment links but does not claim to broadcast transactions or deploy contracts directly. The deployment link requires compiled code in base64 BoC form; initial data is optional and defaults to an empty cell. The default workchain is 0, and the default deployment amount is 50,000,000 nanoTON.

Compilation depends on the Tolk compiler version bundled in `@ton/tolk-js`. Use `get_compiler_version` when the exact available compiler version matters. Custom imports must match the configured path mappings, and the entrypoint filename must be included in the submitted source map.

_Full upstream README: https://allmcps.com/mcp/izzzzzi-iztolkmcp/readme_

