ton-cli
TON MCP Raw CLI Mode
Run any TON wallet MCP tool directly from the command line. The binary invokes the tool, prints the JSON result to stdout, and exits.
Invocation Modes
| Command | Description |
|---|---|
npx @ton/mcp@alpha |
stdio MCP server (for Claude Desktop / MCP clients) |
npx @ton/mcp@alpha --http [port] |
HTTP MCP server |
npx @ton/mcp@alpha <tool_name> [--arg value ...] |
Raw CLI: call one tool and exit |
Use exactly one mode for a given workflow: either MCP server mode (stdio/--http) or raw CLI. Do not combine them in the same task/session.
Raw CLI Usage
# No arguments
npx @ton/mcp@alpha get_balance
More from ton-org/skills
ton-docs
>
40ton-send
Use this skill when sending TON or jettons (tokens) to an address or TON DNS domain. It transfers TON, jettons, or other assets to any wallet address, .ton domain, or .t.me domain. Also use when the user wants to pay someone, send funds, transfer tokens, or move assets on the TON blockchain.
35ton-balance
Use this skill when checking TON wallet balances, token holdings, or transaction history. It retrieves how much TON or jettons a wallet holds, lists tokens, looks up token details, checks transaction history, and verifies transaction status. Also use when the user asks about their funds, portfolio, or recent activity on TON.
35ton-swap
Swap or trade tokens on the TON blockchain via DEX. Use when the user wants to swap, trade, exchange, convert, buy, or sell tokens like TON, USDT, jUSDC, or any jetton. Covers phrases like "swap TON for USDT", "trade tokens", "buy USDT", "exchange jettons".
34ton-nfts
Use this skill when viewing or transferring NFTs on the TON blockchain. It lists collectibles, checks NFT details, and sends NFTs to other addresses. Also use when the user mentions collectibles, digital assets, NFT collections, or wants to send an NFT to someone on TON.
34ton-xstocks
Buy or sell Backed xStocks (tokenized equities, e.g. TSLAx) on TON using jetton addresses from the xStocks API and TON MCP swap tools. Use when the user asks for xStocks, xStock, TSLAx, stock tokens on TON, or buying/selling equity jettons via Omniston.
34