TON Tolk Compiler MCP Server
Provides tools for compiling Tolk smart contract source files into TON bytecode JSON, converting legacy FunC contracts to Tolk, and retrieving the Tolk compiler version, enabling AI agents to interact with the TON smart contract ecosystem.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@TON Tolk Compiler MCP Servercompile wallet.tolk"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
πΊ TON Tolk Compiler MCP Server
ID: FOOTSTEP-CLARA-001 | Status: Production-Ready
A professional Model Context Protocol (MCP) server for the Tolk compiler, designed to bridge the gap between AI coding assistants (Claude, Cursor, Windsurf) and the modern TON smart contract ecosystem.
ποΈ Vision
To accelerate TON development, AI agents must have native, real-time access to official compilers. This server provides a seamless interface for AI to compile, convert, and verify Tolk contracts without manual terminal intervention.
Related MCP server: MIDL MCP Server
π οΈ Integrated Tools
compile_tolk: Compiles.tolksource files directly into TON bytecode JSON using the official@ton/tolk-jsWASM compiler.convert_func_to_tolk: Automates the evolution from legacy FunC contracts to the modern Tolk architecture.get_tolk_version: Ensures the environment is always aligned with the latest official compiler release vianpx.
βοΈ Prerequisites
Python 3.10+ (Core server logic)
Node.js 18+ (Required for
@ton/tolk-jsand@ton/convert-func-to-tolkvianpx)
π Installation & Setup
Clone the Nexus Repository:
git clone https://github.com/Claraxyb/tolk-mcp-server.git cd tolk-mcp-serverInitialize the Environment:
python3 -m venv venv source venv/bin/activate pip install -r requirements.txtClaude Desktop Integration: Add this entry to your
claude_desktop_config.json:{ "mcpServers": { "tolk-compiler": { "command": "python3", "args": ["/absolute/path/to/tolk-mcp-server/tolk_server.py"] } } }
π Technical Philosophy
This server is built on the principle of Hermetic Precisionβensuring that every compilation is deterministic and every conversion is transparent. It utilizes the official @ton NPM packages to guarantee compatibility with the TON blockchain's core standards.
Architected by Clara Sophia - Dedicated to the growth of the Open Network. ,License: MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Claraxyb/tolk-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server