
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

An MCP server that brings the Tolk smart contract compiler into AI assistants for writing, compiling, checking, and deploying TON contracts.
Tolk Smart Contract MCP Server is cataloged as an MCP server attributed to izzzzzi. An MCP server that brings the Tolk smart contract compiler into AI assistants for writing, compiling, checking, and deploying TON contracts. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Tolk Smart Contract MCP Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
Yes, the Tolk compiler is provided via @ton/tolk-js as WASM and runs locally.
It offers prompts for writing smart contracts, reviewing them for security, and debugging compilation errors.
README.md · e5b016ebcc96 · 采集于 2026-11-13 14:15:04 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
MCP server for the Tolk smart contract compiler — compile, check, and deploy TON blockchain smart contracts from any AI assistant
🇷🇺 Русский | 🇬🇧 English
MCP server that brings the Tolk smart contract compiler directly into AI assistants like Claude — write, compile, check, and deploy TON contracts without leaving the conversation.
iz-tolk-mcp is a Model Context Protocol (MCP) server that integrates the Tolk smart contract compiler into AI assistants, enabling a seamless write-compile-deploy workflow for TON blockchain development.
| Feature | Description |
|---|---|
| 🔨 4 MCP Tools | compile_tolk, check_tolk_syntax, get_compiler_version, generate_deploy_link |
| 📄 6 MCP Resources | Language guide, stdlib reference, changelog, FunC migration guide, example contracts |
| 💬 3 MCP Prompts | Guided workflows for writing, reviewing, and debugging smart contracts |
| ⚙️ Full Compiler Options | Optimization levels (0-2), stack comments, path mappings, multi-file compilation |
| 📦 Multi-file Support | Compile projects with multiple .tolk source files, @stdlib/* and @fiftlib/* imports |
| 🔗 Deployment Links | Generate ton:// deeplinks and Tonkeeper URLs for wallet deployment |
| 🚀 Zero Configuration | Runs via npx with no external dependencies beyond Node.js |
npx iz-tolk-mcp
The server communicates over stdio and is designed to be launched by an MCP client.
MCP clients launch the server automatically — just add it to your configuration (see below).
npm install -g iz-tolk-mcp
git clone https://github.com/izzzzzi/izTolkMcp.git
cd izTolkMcp
npm install
npm run build
Requirement: Node.js >= 18
Add to claude_desktop_config.json:
{
"mcpServers": {
"tolk": {
"command": "npx",
"args": ["-y", "iz-tolk-mcp"]
}
}
}
claude mcp add tolk -- npx -y iz-tolk-mcp
Add to .cursor/mcp.json:
{
"mcpServers": {
"tolk": {
"command": "npx",
"args": ["-y", "iz-tolk-mcp"]
}
}
}
Add to ~/.windsurf/mcp.json:
{
"mcpServers": {
"tolk": {
"command": "npx",
"args": ["-y", "iz-tolk-mcp"]
}
}
}
Add to .vscode/mcp.json:
{
"servers": {
"tolk": {
"command": "npx",
"args": ["-y", "iz-tolk-mcp"]
}
}
}
{
"mcpServers": {
"tolk": {
"command": "node",
"args": ["/absolute/path/to/izTolkMcp/dist/cli.js"]
}
}
}
get_compiler_versionReturns the version of the Tolk compiler bundled in @ton/tolk-js (WASM).
| Parameter | Type | Required | Description |
|---|---|---|---|
| (none) | — | — | No parameters |
compile_tolkCompiles Tolk smart contract source code. Returns Fift output, BoC (Bag of Cells) in base64, code hash, and compiler version.
| Parameter | Type | Required | Description |
|---|---|---|---|
entrypointFileName | string | ✅ | The main .tolk file to compile (e.g., "main.tolk") |
sources | object | ✅ | Map of filename -> source code. Must include the entrypoint file. |
optimizationLevel | number | — | Optimization level 0-2 (default: 2) |
withStackComments | boolean | — | Include stack layout comments in Fift output |
pathMappings | object | — | Maps @alias prefixes to folder paths for import resolution |
check_tolk_syntaxChecks Tolk source code for syntax and type errors without returning full compilation output. Faster feedback loop for iterative development.
| Parameter | Type | Required | Description |
|---|---|---|---|
entrypointFileName | string | ✅ | The main .tolk file to check |
sources | object | ✅ | Map of filename -> source code |
pathMappings | object | — | Maps @alias prefixes to folder paths for import resolution |
generate_deploy_linkGenerates TON deployment deeplinks for a compiled contract. Computes the deterministic contract address and returns ton:// and Tonkeeper links ready for wallet deployment.
| Parameter | Type | Required | Description |
|---|---|---|---|
codeBoc64 | string | ✅ | Base64-encoded BoC of compiled contract code (from compile_tolk) |
initialDataBoc64 | string | — | Base64-encoded BoC for initial data cell (default: empty cell) |
workchain | number | — | Target workchain ID (default: 0) |
amount | string | — | Deploy amount in nanoTON (default: "50000000" = 0.05 TON) |
| Resource | URI | Description |
|---|---|---|
📘 language-guide | tolk://docs/language-guide | Complete Tolk language syntax reference |
📗 stdlib-reference | tolk://docs/stdlib-reference | Standard library modules and functions reference |
📋 changelog | tolk://docs/changelog | Tolk compiler version history from v0.6 to latest |
🔄 tolk-vs-func | tolk://docs/tolk-vs-func | FunC to Tolk migration guide — key differences and comparison |
📝 example-counter | tolk://examples/counter | Simple counter smart contract example in Tolk |
💎 example-jetton | tolk://examples/jetton | Jetton (fungible token) minter contract example in Tolk |
write_smart_contractGuided workflow for writing a new Tolk smart contract on TON. Injects the language reference and a relevant example contract into the conversation context.
| Argument | Type | Required | Description |
|---|---|---|---|
description | string | ✅ | Description of what the smart contract should do |
contractType | string | — | "counter" | "jetton" | "nft" | "wallet" | "custom" (default: "custom") |
review_smart_contractSecurity-focused review of a Tolk smart contract. Checks for access control, message handling, integer overflow, gas management, storage integrity, and TON-specific vulnerabilities.
| Argument | Type | Required | Description |
|---|---|---|---|
code | string | ✅ | The Tolk smart contract source code to review |
debug_compilation_errorDiagnose and fix a Tolk compilation error. Analyzes the error against the language reference and provides corrected code.
| Argument | Type | Required | Description |
|---|---|---|---|
errorMessage | string | ✅ | The compilation error message from the Tolk compiler |
code | string | ✅ | The Tolk source code that failed to compile |
Once configured, interact with the Tolk MCP server through natural language in your AI assistant:
Compile a contract:
"Compile this Tolk smart contract:"
import "@stdlib/tvm-dicts"; fun onInternalMessage(myBalance: int, msgValue: int, msgFull: cell, msgBody: slice) { // handle messages }
Write a new contract from scratch:
"Write a simple counter contract for TON that stores a number and lets anyone increment it. Include a getter to read the current value."
Review an existing contract:
"Review this contract for security issues" (paste code)
Debug a compilation error:
"I'm getting this error when compiling:
unexpected token 'fun'— here's my code:" (paste code)
Generate a deploy link:
"Generate a deployment link for the contract we just compiled."
src/
├── index.ts — Server initialization and stdio transport
├── tools.ts — 4 MCP tools (compile, check, version, deploy)
├── resources.ts — 6 MCP resources (docs, examples)
├── prompts.ts — 3 MCP prompts (write, review, debug)
└── content/ — Bundled documentation and example contracts
├── language-guide.md
├── stdlib-reference.md
├── changelog.md
├── tolk-vs-func.md
├── example-counter.tolk
└── example-jetton.tolk
Key dependencies:
@modelcontextprotocol/sdk — MCP server framework@ton/tolk-js — Tolk compiler (WASM, runs locally)@ton/core — TON primitives for address computation and cell serializationzod — Schema validation for tool parametersnpm install # Install dependencies
npm run build # Compile TypeScript + copy content files
npm run dev # Run with tsx (hot reload for development)
npm test # Run test suite (vitest)
npm run lint # Check for lint errors
npm run lint:fix # Fix lint errors automatically
npm run format # Format code with Biome
Pre-commit hooks enforce code quality automatically:
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Tolk Smart Contract MCP Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/iztolkmcp)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.