tolk-mcp-server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_compiler_versionA | Returns the version string of the Tolk compiler (WASM build from @ton/tolk-js). Use this to verify the compiler is available and check its version before compiling. |
| compile_tolkA | 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/*) are resolved automatically. Returns compiled Fift code, BoC (Bag of Cells) in base64, and the code hash. |
| check_tolk_syntaxA | Validates Tolk smart contract source code without returning the full compiled output. Returns either "OK" with the code hash, or a detailed error message. Faster feedback loop for iterative development. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| write_smart_contract | Generates a prompt to write a TON smart contract in Tolk language. Describe what the contract should do and get a complete implementation. |
| review_smart_contract | Generates a prompt to review and analyze a Tolk smart contract for bugs, security issues, gas optimization, and best practices. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| tolk-language-reference | Tolk language quick reference — syntax, types, built-in functions, and key differences from FunC |
| tolk-example-hello-world | Minimal Tolk contract that stores and returns a number |
| tolk-example-wallet | Basic wallet contract with owner authentication |
| tolk-example-jetton | Skeleton of a Jetton (fungible token) contract |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/oxgeneral/tolk-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server