Tegro Wallet MCP
OfficialRead-only TON/GRAM wallet data server that gives AI assistants live on-chain lookups without keys or signing.
Get GRAM balance, account status, and wallet flag for an address.
List jetton/token balances with fiat value.
Fetch recent transactions with type, GRAM amount, counterparty, and comment.
Get GRAM or jetton price in a fiat currency plus 24h change.
Read jetton metadata by master contract address.
List NFTs owned by an address.
Resolve TON DNS names to wallet addresses.
Validate and normalize TON addresses offline with CRC, bounceable, and testnet flags.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Tegro Wallet MCP What's the GRAM balance of foundation.ton?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Tegro Wallet MCP — TON / GRAM
The TON & GRAM wallet MCP. Give any AI assistant read-only, real-time access to TON on-chain data — wallet balances, tokens, transactions, prices, NFTs, TON DNS and address validation — with no private keys and no signing. One server, every major AI client.
Read-only Model Context Protocol server for TON wallets and the GRAM token (formerly Toncoin). Works out of the box with Claude Desktop, Claude Code, Cursor, Hermes Agent (MCP) and ChatGPT (GPT Actions via OpenAPI).
Part of the Tegro open ecosystem — see @tegroton/tegro-finance (DEX) and @tegroton/tegro-money (payments).
🔁 The TON native token rebranded Toncoin → Gram (ticker TON → GRAM, 2026‑06‑15). Balances are 1:1, the network and addresses stay TON. This server surfaces amounts as GRAM and the network as TON.
Tools
Tool | What it returns |
| GRAM balance, status, wallet flag for an address |
| Jetton (token) balances with fiat value |
| Recent transactions — type, GRAM amount, counterparty, comment |
| GRAM (or any jetton) price in a fiat currency + 24h change |
| Jetton metadata by master address (symbol, supply, verification) |
| NFTs owned by an address |
| TON DNS name → wallet address |
| Validate + normalize an address offline (CRC16, bounceable/testnet flags) |
Every tool maps 1:1 to an MCP tool and an HTTP POST /tools/<name> operation in the OpenAPI spec — the two surfaces are generated from one definition.
Example output
// ton_get_rate { "token": "ton", "currency": "usd" }
{ "token": "GRAM", "currency": "USD", "price": 1.58, "diff24h": "+1.39%" }
// ton_get_account { "address": "UQ…" }
{ "address": "0:…", "balanceGram": "12.8400", "balanceNano": "12840000000",
"status": "active", "isWallet": true, "network": "TON" }
// ton_validate_address { "address": "EQ…" } ← offline, no network
{ "valid": true, "format": "friendly", "raw": "0:…", "workchain": 0,
"bounceable": true, "testnet": false }Ask an AI assistant: "What's the GRAM price, and how much is in foundation.ton?" — it resolves the DNS name, reads the balance, and answers with live data.
Related MCP server: XRPL MCP Server
Quick start
npx @tegroton/wallet-mcp # MCP server over stdio
npx @tegroton/wallet-mcp http 8787 # HTTP + OpenAPI on :8787 (for ChatGPT / universal)No configuration is required. To lift the public rate limit, set a TonAPI key: TONAPI_KEY=....
Connect it
Claude Desktop / Claude Code / Cursor (MCP)
Add to your MCP config (claude_desktop_config.json, Cursor ~/.cursor/mcp.json, or claude mcp add):
{
"mcpServers": {
"tegro-wallet-mcp": {
"command": "npx",
"args": ["-y", "@tegroton/wallet-mcp"],
"env": { "TONAPI_KEY": "" }
}
}
}Claude Code one-liner: claude mcp add tegro-wallet-mcp -- npx -y @tegroton/wallet-mcp
Hermes Agent (MCP)
Hermes Agent connects any MCP server. Add @tegroton/wallet-mcp as an MCP server in its MCP config / registry with the same command/args as above, then enable it via hermes tools.
ChatGPT (GPT Actions)
Run the HTTP surface (self-host — see below) and point a custom GPT's Action at https://<your-host>/openapi.json. Each tool becomes an operation the GPT can call. Read-only, so no auth is required (add your own if you host it privately).
Self-host the HTTP surface
# from source
npm i && npm run build && node dist/cli.js http 8787
# docker
docker build -t tegro-wallet-mcp . && docker run -p 8787:8787 -e TONAPI_KEY=... tegro-wallet-mcpEndpoints: GET / (info), GET /health, GET /openapi.json, POST /tools/<name> (JSON body).
curl -s localhost:8787/tools/ton_get_rate -d '{"token":"ton","currency":"usd"}'
# → {"token":"GRAM","currency":"USD","price":1.58,"diff24h":"+1.39%"}Safety
Read-only. No private keys, no seed phrases, no signing, no transactions — the server only reads public on-chain data via TonAPI.
No secrets are required or stored. An optional
TONAPI_KEY(yours) only raises the rate limit.Non-custodial by design: it cannot move funds.
Programmatic use
import { getAccount, getRate } from "@tegroton/wallet-mcp";
const acc = await getAccount("UQ…"); // { balanceGram, status, network: "TON", … }
const rate = await getRate("ton", "usd"); // { token: "GRAM", price, diff24h }Contributing & support
Contributing guide — setup, tests, adding a tool
Security policy — report privately via a GitHub security advisory
Issues and feature requests: GitHub issues
Ecosystem
Part of the Tegro open ecosystem — a non-custodial TON/GRAM wallet with a crypto card. Sister packages:
@tegroton/tegro-finance— Tegro Finance DEX SDK@tegroton/tegro-money— Tegro.Money payments SDK
License
MIT © TegroTON
Available Tools
8 toolston_get_accountB
Get a TON account's GRAM balance (the native token, formerly Toncoin), status, and wallet flag. Network is TON; balances are 1:1 GRAM↔TON.
Inputs: address (required).
ton_get_jetton_infoB
Metadata for a jetton (token) by its master contract address: symbol, name, supply, verification.
Inputs: master (required).
ton_get_jettonsB
List jetton (token) balances held by a TON address, with fiat value where the token is priced.
Inputs: address (required), currency.
ton_get_nftsC
NFTs owned by a TON address (name, collection, image).
Inputs: address (required), limit.
ton_get_rateB
Current price of GRAM (the native TON token) or any jetton in a fiat currency, plus 24h change.
Inputs: token, currency.
ton_get_transactionsB
Recent transactions/events for a TON address — type, GRAM amount, counterparty, comment.
Inputs: address (required), limit.
ton_resolve_dnsB
Resolve a TON DNS name (e.g. foundation.ton) to its wallet address.
Inputs: name (required).
ton_validate_addressA
Validate and normalize a TON address (raw or friendly) offline — returns format, normalized raw form, and bounceable/testnet flags with a real CRC check. No network call.
Inputs: address (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
Each tool targets a distinct data point: native balance, jetton balances, transactions, price rate, jetton metadata, NFTs, DNS resolution, and address validation. The only near-neighbors (ton_get_jettons for balances vs ton_get_jetton_info for metadata) are clearly distinguished by their descriptions.
All tools follow a uniform ton_<verb>_<noun> pattern with consistent verbs (get/resolve/validate). Minor singular/plural variation (account vs jettons/nfts) does not break the pattern.
Eight tools is well-scoped for a read-only TON data/wallet-query surface, with each tool earning its place and no redundancy.
Read-only coverage of balances, tokens, transactions, rates, metadata, NFTs, DNS, and validation is solid, but as a 'Wallet MCP' it lacks any write/lifecycle operations such as sending GRAM or jettons, constructing transfers, or wallet creation, leaving a notable gap.
Related MCP Connectors
Read-only market and on-chain data for Bitcoin, Ethereum and more; on-chain from our own nodes.
Read-only Bitcoin blockchain, mempool, mining, market, and on-chain analytics; no API key.
Read EVM and Solana chains for balances, tokens, eth_call, logs, receipts, gas, blocks and ENS.
Query real-time blockchain token data across EVM and Solana networks. Access token balances, transfers, prices, holders, NFT ownership, DEX swaps, and liquidity pools. Supports Ethereum, Base, Arbitrum, BSC, Polygon, Solana, and more.
Related MCP Servers
- AlicenseAqualityDmaintenanceProvides read-only access to Solana on-chain data, enabling natural language queries for wallet balances, token holdings, prices, transactions, and more via MCP-compatible clients.8MIT
- AlicenseAqualityDmaintenanceProvides read-only access to the XRP Ledger for querying accounts, transactions, NFTs, DEX order books, and more.12MIT
- AlicenseAqualityBmaintenanceProvides AI agents with direct liteserver access to the TON blockchain for querying balances, account states, transactions, and contract get-methods without HTTP gateways.586 npm17MIT
- AlicenseNot gradedqualityBmaintenanceEnables querying blockchains across EVM, Solana, Bitcoin/UTXO, and Cosmos through a unified interface, with tools for resolving addresses, checking balances, fetching transactions and blocks, reading contracts, decoding calldata, and building unsigned transfers.7 npm3MIT