TM

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

27 stars 0 forks Качество 83 Тренд 25MIT

tonnode/mcp - кандидат на сервер MCP, импортированный из https://github.com/tonnode/mcp.

Обзор

tonnode/mcp - кандидат на сервер MCP, импортированный из https://github.com/tonnode/mcp.

Обзор (машинный перевод)

Русская версия

MCP-сервер, предоставляющий агентам ИИ прямой liteserver доступ к Open Network (TON) — нет HTTP-шлюзов в середине. Балансы, состояние счета, история транзакций и методы получения контрактов по родному протоколу ADNL TON.

Построен TONNode — частные литерверы TON, архивные узлы, поток мемпулов и API REST (ранний доступ, по запросу).

Быстрый старт

Добавьте к Claude Desktop, Claude Code, ChatGPT, Cursor, Codex или любому клиенту MCP:

Это и есть вся интеграция. Сервер подключается к сети TON через общедоступную глобальную конфигурацию по умолчанию. Готовые конфигурации для каждого клиента — плюс использование программных Node.js — живут в примерах.

Инструменты

**Название примечание: ** родная монета была переименована из Toncoin в GRAM в июне 2026 года; сама сеть по-прежнему называется TON. На выходе инструмента используются поля *_gram.

Инструмент Что такое типичный вопрос [править править код] | get_balance | GRAM баланс адреса | * «Сколько GRAM EQ… удерживает?» * | | get_jetton_balance | Баланс джеттона / токена (USDT и любой токен TEP-74) | * «Сколько USDT на этом кошельке?» | get_jetton_info | Метаданные токена: имя, символ, ** десятичные числа **, предложение | * «Что такое десятичные числа этого джеттона?» * |

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

README

Показан фрагмент оригинального README. Открыть оригинал.

@tonnode/mcp

Русская версия

MCP server that gives AI agents direct liteserver access to The Open Network (TON) — no HTTP gateways in the middle. Balances, account state, transaction history and contract get-methods over TON’s native ADNL protocol.

Built by TONNode — private TON liteservers, archive nodes, a mempool stream and a REST API (early access, on request).

Quick start

Add to Claude Desktop, Claude Code, ChatGPT, Cursor, Codex or any MCP client:

{
  "mcpServers": {
    "ton": {
      "command": "npx",
      "args": ["-y", "@tonnode/mcp"]
    }
  }
}

That’s the whole integration. The server connects to TON mainnet via the public global config by default. Ready-made configs for every client — plus programmatic Node.js usage — live in examples/.

Tools

Naming note: the native coin was renamed from Toncoin to GRAM in June 2026; the network itself is still called TON. Tool outputs use *_gram fields.

Tool What it does Typical question
get_balance GRAM balance of an address “How much GRAM does EQ… hold?”
get_jetton_balance Jetton/token balance (USDT and any TEP-74 token) “How much USDT is on this wallet?”
get_jetton_info Token metadata: name, symbol, decimals, supply “What are this jetton’s decimals?”
get_transactions Recent transactions: values, senders, fees “Did my payment arrive?”
get_account_state Status, deployment flags, last-tx pointer “Is this contract deployed?”
run_get_method Read-only get-methods on contracts “Call get_jetton_data on this master”
parse_address Convert/validate EQ…/UQ…/raw forms, offline “Are these two addresses the same?”
get_masterchain_info Masterchain head: seqno, shard, hashes “Is the network (or my endpoint) alive?”
get_swap_quote Firm DEX swap quote (GRAM ⇄ any jetton) via Omniston “How much USDT for 100 GRAM right now?”
build_swap_tx Unsigned, TonConnect-ready swap transaction “Prepare that swap for my wallet to sign”
get_crosschain_quote Quote TON → Ethereum/Arbitrum/Base/BNB/Polygon/Avalanche “How much USDT on Ethereum for my TON USDT?”
build_crosschain_swap_tx Unsigned HTLC escrow transaction + its secret “Start that cross-chain swap”
track_crosschain_swap Live phases of a cross-chain trade on both chains “Did the resolver lock my USDT on Ethereum?”
disclose_crosschain_secret Reveal the secret — atomically settles both sides “Complete the swap”
build_crosschain_refund Unsigned cancellation that reclaims escrowed funds “The trade stalled — get my money back”
Открыть полный README на GitHub

Установка

npx -y @tonnode/mcp
Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "mcpServers": { "ton": { "command": "npx", "args": ["-y", "@tonnode/mcp"] } } }