Tolk MCP Server
MCP server that compiles and validates Tolk smart contracts for TON developers
- Pricing
- Open source
- Platforms
- CLI, API, self-hosted
- Version
- 1.0.0
- Listing updated
- today
Similar MCP servers
About Tolk MCP Server
Tolk MCP Server is an open-source MCP server for legal and government. It is available on CLI, API and self-hosted.
The server wraps the Tolk compiler so an AI assistant can compile TON contract source into Fift assembly and BoC, check syntax without full output, and pull reference material and example contracts. Multi-file projects are supported by passing several source files with an entrypoint name, and standard library imports are resolved by the compiler.
It exposes three tools for compiling, syntax checking and reading the compiler version, plus resources for a Tolk language reference covering differences from FunC, along with counter, wallet and jetton examples. Compiler settings such as optimization level, stack comments and experimental flags can be adjusted per call.
The README targets developers writing or reviewing TON smart contracts in MCP-compatible clients such as Claude Desktop, Cursor and Windsurf. It requires Node.js 18 or later and is released under the MIT license.
Tools this server provides (3)
Taken from the project documentation; the running server may differ.
- get_compiler_version
- Returns the Tolk compiler version.
- compile_tolk
- Compiles Tolk source code to Fift and BoC with compiler options.
- check_tolk_syntax
- Validates Tolk syntax without full output.
What it does
- Contract compilation
- Compiles Tolk source to Fift assembly and a base64 BoC with a code hash and warnings.
- Quick syntax check
- Validates Tolk syntax and reports errors with line and column information.
- Multi-file projects
- Accepts several source files with an entrypoint so imports between files resolve.
- Adjustable compiler options
- Sets optimization level, stack comments and experimental flags for each compile.
- Language reference resource
- Provides a Tolk quick reference covering syntax, types and differences from FunC.
- Example contracts
- Includes counter, wallet and jetton skeleton examples as readable resources.
Good for
- Compile a TON contract from inside an AI coding assistant before deployment
- Catch Tolk syntax errors quickly while drafting a contract
- Learn Tolk syntax and differences from FunC using the bundled reference
- Start a new wallet or jetton contract from the provided examples
Pricing
Open source
Free and open source under MIT.
Tolk MCP Server FAQ
How do I install the server?
The README shows an npx-based config entry for Claude Desktop and Cursor or Windsurf, and a from-source setup using npm install and npm run build.
What does compile_tolk return?
According to the README it returns Fift assembly, a base64 BoC ready for deployment, the code hash and any warnings.
What are the requirements?
Node.js 18 or later. The README says there are no external dependencies beyond npm packages.
What license is it under?
The README states the project is released under the MIT license.
Is Tolk MCP Server free?
Yes. Tolk MCP Server is open source, so you can use and self-host it for free.
What are the best alternatives to Tolk MCP Server?
The closest alternatives to Tolk MCP Server are Adeu, IAJUS Direito Brasileiro, 網紅開團合規工具箱, TokenOS Smart Contract Audit and Muckaway Ai MCP.
Where this comes from
- Description: written from the project's README and its MCP Registry entry.
