Tonnode MCP logo

Tonnode MCP

Reads TON liteserver data, contract state, jettons, swaps, cross-chain trades, and wallet details through MCP.

Install Tonnode MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "tonnode-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@tonnode/mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Claude Code command
claude mcp add --transport stdio tonnode-mcp -- npx -y @tonnode/mcp

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

Automated check passed— started and listed 16 tools correctly ().

Overview

The tonnode/mcp MCP server connects AI clients to TON liteservers over native ADNL, without an HTTP gateway in the data path. It reads masterchain status, GRAM and jetton balances, account state, transactions, addresses, and contract get-methods through the public configuration or a configured private endpoint. Mainnet swap and cross-chain tools provide quotes and unsigned TonConnect transactions, while wallet generation can create new TON key material. Reach for it when an agent needs direct TON chain reads or needs to prepare non-custodial TON transactions.

Use cases

  • Check whether a TON payment reached a wallet
  • Inspect a contract's deployment state and get-methods
  • Convert and compare TON address formats
  • Prepare a TON or cross-chain swap for wallet signing
  • Monitor an HTLC trade and build a refund when eligible

Key features

  • Native ADNL liteserver access
  • GRAM and jetton balance inspection
  • TON account and transaction queries
  • Read-only smart-contract get-methods
  • Unsigned TON and cross-chain swap transactions
  • TON wallet generation

Tools16

What Tonnode MCP lets your agent do. Expand a tool for its parameters.

Verified live~5.6k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

26/26 checks healthy over the last 117d

What it can do

From the 16 tools this server returned when we ran it; 16 declare their own safety hints.

Runs commands · 2Can delete or modify data · 1Handles credentials · 7Makes network requests · 15Read-only tools · 13
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceNot published
Package age122 days
Maintainers1

Observed 2026-11-13 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 14d ago via OSV.dev · @tonnode/mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars17Stargazers on the source repository.
npm downloads431Package downloads in the last 30 days.
Last commit1mo agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed16Callable tools this server registers over MCP.
Directory activity7 viewsConfig copies, upvotes, and views on AllMCPs.

How Tonnode MCP works

What tonnode/mcp MCP server does

The tonnode/mcp MCP server exposes direct access to The Open Network (TON) through MCP and the network's native ADNL liteserver protocol. It can connect through TON's free public configuration or through liteservers supplied by the operator. The package is intended for MCP clients and can also run in a Streamable HTTP mode for remote deployments.

Read operations cover the latest masterchain block, native GRAM balances, jetton balances and metadata, account status, recent transactions, and contract get-methods. Address input can be validated and converted locally between raw, bounceable, and non-bounceable forms. The server also includes TON swap and cross-chain workflows, plus a wallet-generation tool that returns secret key material.

This belongs in the Finance & Fintech category when an agent needs to inspect TON payments, read token data, prepare swaps, or monitor escrow-based cross-chain trades.

How it works

A local MCP setup starts the package with npx -y @tonnode/mcp. By default, it uses the public TON global configuration. TON_LITESERVERS can point it at private or hosted liteservers, while TON_CONFIG_URL selects an alternative configuration. TON_NETWORK=testnet or the corresponding command-line option selects the test network.

The read tools return data anchored to a masterchain sequence number where applicable. get_account_state can establish whether an address is active before run_get_method is used. Transaction reads are limited to the newest 30 reachable transactions and may fail for pruned history unless an archive-capable endpoint is used.

Swap execution remains non-custodial. get_swap_quote and get_crosschain_quote return firm, short-lived quotes; the matching build tools create unsigned TonConnect messages. Signing and broadcasting remain with the wallet owner. Cross-chain trades require tracking the escrow, disclosing the generated secret at the appropriate phase, or building a refund when the position becomes cancellable.

Setup and configuration

For a desktop MCP client, configure the command as npx with arguments -y and @tonnode/mcp. The README specifically provides examples for Claude Desktop, Claude Code, ChatGPT, Cursor, Codex, and other MCP clients.

HTTP mode starts with npx -y @tonnode/mcp --http. It listens on 127.0.0.1 by default and requires keys unless TONNODE_ALLOW_OPEN=1 is explicitly set. TONNODE_KEYS supplies comma-separated keys, while TONNODE_KEYS_FILE supports a hot-reloaded JSON key file. HTTP deployments can also set HOST, PORT, request and global rate limits, session limits, and session expiry. A TLS reverse proxy is recommended when exposing the service remotely.

OMNISTON_API_URL changes the Omniston WebSocket endpoint used by swap tools. TONNODE_DISABLE_WALLET_GEN=1 removes wallet generation, which is useful when the endpoint should not generate private key material.

Tools and capabilities

  • Inspect masterchain sequence numbers, shards, and block hashes with get_masterchain_info.
  • Read GRAM balances, jetton balances, token decimals, supply, minting status, and administrators.
  • Check account deployment, status, balance, last transaction, code, and data flags.
  • Read recent transactions and execute integer-argument contract get-methods without changing state.
  • Normalize TON addresses offline with parse_address.
  • Request TON mainnet DEX quotes and build unsigned swaps through Omniston, which aggregates STON.fi and DeDust liquidity.
  • Quote and prepare TON-to-Ethereum, Arbitrum, Base, BNB, Polygon, or Avalanche trades using HTLC escrow tools.
  • Generate wallets for v4, v3r2, v5r1, or highload_v3 contract versions.

The tonnode/mcp MCP server reports swap amounts in raw units. GRAM uses nine decimals, USDT uses six, and other jettons require their metadata to determine conversion. Generated mnemonics and private keys are returned to the caller; the server states that it does not store or log them, but losing the mnemonic means losing access to the wallet.

Limitations and notes

Swap quotes expire in about a minute and should be passed promptly to their build tools. Built transactions move real funds after signing, so applications should show the messages to the wallet owner. Cross-chain secrets must be kept private and retained until settlement or refund.

run_get_method supports integer arguments only; methods requiring address or slice arguments may need a dedicated tool. get_transactions has no pagination and cannot expose pruned history from a non-archive liteserver. Never-active addresses return empty transaction lists, and uninitialized addresses can return zero balance without indicating an error.

The generate-wallet tool creates a new independent wallet on every call. An undeployed wallet should receive its first deposit at the recommended non-bounceable address. The tonnode/mcp MCP server does not sign or broadcast transactions on behalf of the wallet owner.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Tonnode MCP

Run `npx -y @tonnode/mcp`, then add that command to the MCP client's server configuration. The package can use TON's public configuration by default.

Yes. The provided setup lists Claude Desktop as a supported MCP client and shows an `npx -y @tonnode/mcp` configuration.

Yes. `get_balance` reads native GRAM, while `get_jetton_balance` reads USDT and other TEP-74 token balances. `get_jetton_info` provides token metadata such as decimals.

No. The swap tools create unsigned TonConnect-ready messages. The wallet owner must sign and broadcast them.

Set `TON_LITESERVERS` to a JSON list containing each liteserver's IP, port, and base64 Ed25519 key.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewTonnode MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/tonnode-mcp?style=directory)](https://allmcps.com/mcp/tonnode-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/tonnode-mcp"><img src="https://allmcps.com/api/badge/tonnode-mcp?style=directory" alt="Tonnode MCP on AllMCPs" /></a>