hoton-mcp
OfficialClick 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., "@hoton-mcp buy 100 stars for @alice"
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.
hoton-mcp
Buy Telegram Stars & Premium, and top up your Telegram GRAM balance — all from a single prompt like "buy 100 stars for @alice" — with any AI agent.
hoton-mcp is a small, keyless MCP server: it builds the order, and your agent's wallet pays. It never holds your keys or your money.
How it works
Three steps, all driven by your agent:
you: "buy 100 stars for @alice"
agent: hoton → builds the order (shows the price + an unsigned transaction)
agent: wallet → signs & pays → txHash
agent: hoton → confirms it settled on-chain, returns a tonviewer link ✅Related MCP server: AiAgentWalletMCP
What you need
Two MCP servers, running side by side. You don't install either one — your agent fetches them automatically on first use via npx:
Server | Does | Command |
| builds the order |
|
| the wallet that signs & pays |
|
You only need Node.js on your machine (you already have it if you run any of these agents).
npxpulls the package from npm the first time and caches it — nonpm install, no clone, no build.
The config (identical for every agent)
MCP is a standard, so every agent uses the same two servers. Only where you paste this changes (below).
{
"mcpServers": {
"hoton": {
"command": "npx",
"args": ["-y", "hoton-mcp"],
"env": { "HOTON_BACKEND_URL": "https://hoton.up.railway.app" }
},
"ton": { "command": "npx", "args": ["-y", "@ton/mcp@alpha"] }
}
}Add it to your agent
Telegram agents
OpenClaw — add the two servers to the mcpServers section of your openclaw.json, then restart. (MCP guide)
Hermes — run hermes mcp add, or paste this into your config's mcp_servers: block (docs):
mcp_servers:
hoton:
command: npx
args: ["-y", "hoton-mcp"]
env:
HOTON_BACKEND_URL: "https://hoton.up.railway.app"
ton:
command: npx
args: ["-y", "@ton/mcp@alpha"]Desktop / coding agents
Claude — Claude Code: claude mcp add hoton -- npx -y hoton-mcp and claude mcp add ton -- npx -y @ton/mcp@alpha. Claude Desktop: paste the JSON above into claude_desktop_config.json.
Codex — add the servers to ~/.codex/config.toml under [mcp_servers].
Cursor — paste the JSON above into .cursor/mcp.json.
Then just talk to it
"is hoton online?"
"buy 100 stars for @alice"
"gift @bob 3 months of premium"
"top up @carol with 5 GRAM"
"buy 50 stars each for @a, @b and @c" — bulk, up to 10 in one signature
Tools
hoton_use_wallet · hoton_use_referrer · hoton_find_recipient · hoton_buy_stars (+_bulk) · hoton_buy_premium (+_bulk) · hoton_topup_gram (+_bulk) · hoton_confirm · hoton_status
Settings
Env var | Default | What it does |
|
| The hoton backend the server talks to. |
| (unset) | Optional safety cap — orders above it are refused. |
Referrals
The referrer comes from your prompt. "buy 50 stars for @monk on hoton.tg/damx" → damx earns 35% of the fee. No link → no commission. (First-referrer-wins, enforced by the backend.)
Run from source (for contributors)
To hack on the server, run it from a local clone instead of npm:
git clone https://github.com/hotonlabs/hoton-mcp.git
cd hoton-mcp
yarn install
yarn buildThen point your agent at node /absolute/path/to/hoton-mcp/dist/index.js instead of npx -y hoton-mcp.
Safety
Keyless.
hoton-mcponly builds orders — it never holds keys or funds. Your wallet signs.Fund the agent wallet with only what you're willing to spend. You keep the master key and can revoke the agent anytime — see agents.ton.org.
HOTON_MAX_ORDERcaps any single order.
License
MIT — see LICENSE.
Available Tools
11 toolshoton_buy_starsBuy Telegram Stars (single recipient)A
Build an order to send Stars to one Telegram user. Returns messages[] to sign with @ton/mcp. Extract a referrer from the user's prompt if they named one.
Inputs: amount (required), payToken (required), recipient (required), wallet, +1 more.
hoton_buy_stars_bulkBuy Telegram Stars for many recipientsA
Build ONE order sending the same star amount to 1–10 Telegram users. Returns messages[] (one per recipient) to sign with @ton/mcp in a single transaction.
Inputs: payToken (required), amountEach (required), recipients (required), wallet, +1 more.
hoton_confirmConfirm a purchase settled on-chainA
Call after @ton/mcp send_raw_transaction signs the order. I poll the TON chain for the settled transaction, return whether it's delivered + a tonviewer link, and record it in Hoton's history + referral. Pass expectedAmount from the buy result so I can pinpoint the exact transaction. The purchase settles on-chain when signed, so a failure here never means you should re-buy — just retry confirm.
Inputs: historyId (required), expectedAmount (required), purchaseId, walletAddress.
hoton_find_recipientVerify a Telegram recipientA
Look up a Telegram @username before buying, to confirm the right person (returns display name + photo). For premium, pass months. Optional — buy tools also resolve usernames themselves.
Inputs: product (required), username (required), months.
hoton_statusCheck if Hoton is onlineA
Returns whether Hoton/Fragment is healthy right now. Call before buying if unsure; if unhealthy, tell the user to try later instead of buying.
Inputs: no named parameters.
hoton_topup_gramTop up a Telegram account with GRAMA
Build an order to top up one Telegram account with GRAM (the native chain coin). Returns messages[] to sign with @ton/mcp. GRAM only.
Inputs: amount (required), recipient (required), wallet, referrer.
hoton_topup_gram_bulkTop up many Telegram accounts with GRAMA
Build ONE order topping up 1–10 Telegram accounts with the same GRAM (native chain coin) amount each. Returns messages[] to sign with @ton/mcp. GRAM only.
Inputs: amountEach (required), recipients (required), wallet, referrer.
hoton_use_referrerSet the referrer for this sessionA
Set a referral link/short-name/wallet (e.g. 'hoton.tg/jeribond') so subsequent purchases credit that referrer 35% of the fee. Only set this if the user named a referrer. The house link (hoton.tg/hoton) or none means no commission.
Inputs: referrer (required).
hoton_use_walletRemember the agent wallet for buyingA
Store the agent's TON wallet identity (from @ton/mcp) for this session so buy tools can target it. Call this once before buying.
Inputs: address (required), chain, publicKey, walletStateInit.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 11 tools
Each tool targets a distinct resource and action. The buy/topup tools are clearly separated by product type (stars, premium, gram) and by single vs bulk, and the auxiliary tools (wallet, referrer, find_recipient, status, confirm) each have a unique role.
Tool names follow a consistent verb_noun pattern with a 'hoton_' prefix, and bulk variants add '_bulk' for predictability. Minor deviations exist: 'hoton_status' and 'hoton_confirm' are not strictly verb_noun, but they are brief and unambiguous.
The 11 tools are well-scoped for the server's purpose. Each product type has a single and bulk variant, and the support tools are necessary for configuration and confirmation. No redundant tools.
The tool set covers the full purchase lifecycle: storing the wallet, setting a referrer, looking up recipients, building orders for Stars/Premium/GRAM (single and bulk), checking service health, and confirming settled transactions. No obvious gaps for the intended operations.
Maintenance
Related MCP Connectors
Prepaid balance for AI agents: one key, 4,900+ tools your agent can run today, caps, receipts.
Non-custodial x402 payments between AI agents on Solana. Returns unsigned transactions.
Your AI pays with a TunaPay prepaid card. You approve each payment in Telegram or on tunapay.ai.
Let an AI agent buy gift cards with USDC over x402, within limits the wallet owner sets.
Related MCP Servers
- AlicenseBqualityDmaintenancePayment & Transaction Tools that allow AI agents to send, receive, and request payments1125 npm2Apache 2.0
- AlicenseNot gradedqualityNot gradedmaintenanceEnables AI agents to access a marketplace of paid tools by automatically handling Stellar blockchain payments and wallet management. It utilizes the X-402 protocol to facilitate transparent, automated transactions for tool usage through a marketplace backend.-
- AlicenseAqualityDmaintenanceEnables AI agents to interact with the Stars Cash Flow reseller API for real Telegram actions, including listing services, checking balance, creating orders with cost confirmation, and managing orders.513 npm1MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to discover, price, and purchase SaaS products, developer tools, and MCP servers with live Stripe checkout, affiliate program, and AgentTrust verification.MIT