TONNode — TON blockchain access

v0.9.2
io.github.tonnode/mcp Checked 2 days ago Published 1 month ago

TON liteservers over ADNL: balances, history, get-methods, non-custodial DEX and cross-chain swaps

Values you need

VariableWhat it is
TON_LITESERVERSoptional Optional JSON array of private liteserver entries: [{"ip":"host","port":41000,"key":"<base64 ed25519>"}]. Defaults to the public global config.
TON_NETWORKoptional Set to "testnet" to use the testnet global config.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add mcp -- npx -y --package=@tonnode/mcp@0.9.2 tonnode-mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "mcp": {
      "args": [
        "-y",
        "--package=@tonnode/mcp@0.9.2",
        "tonnode-mcp"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp": {
      "args": [
        "-y",
        "--package=@tonnode/mcp@0.9.2",
        "tonnode-mcp"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "mcp": {
      "args": [
        "-y",
        "--package=@tonnode/mcp@0.9.2",
        "tonnode-mcp"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mcp]
command = "npx"
args = ["-y", "--package=@tonnode/mcp@0.9.2", "tonnode-mcp"]

Remote (hosted)

Run in a terminal
claude mcp add --transport http mcp https://mcp.tonnode.io/mcp
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "mcp": {
      "args": [
        "-y",
        "mcp-remote",
        "https://mcp.tonnode.io/mcp"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp": {
      "url": "https://mcp.tonnode.io/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "mcp": {
      "type": "http",
      "url": "https://mcp.tonnode.io/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mcp]
command = "npx"
args = ["-y", "mcp-remote", "https://mcp.tonnode.io/mcp"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: get_masterchain_info, get_balance, get_account_state, get_transactions, run_get_method, get_jetton_balance, get_jetton_info, parse_address, ….
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json