Skip to main content
Glama
oxgeneral

tolk-mcp-server

by oxgeneral

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

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

CapabilityDetails
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription
write_smart_contractGenerates a prompt to write a TON smart contract in Tolk language. Describe what the contract should do and get a complete implementation.
review_smart_contractGenerates 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

NameDescription
tolk-language-referenceTolk language quick reference — syntax, types, built-in functions, and key differences from FunC
tolk-example-hello-worldMinimal Tolk contract that stores and returns a number
tolk-example-walletBasic wallet contract with owner authentication
tolk-example-jettonSkeleton of a Jetton (fungible token) contract

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/oxgeneral/tolk-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server