hoton-mcp
Enables AI agents to purchase Telegram Stars, Premium, and TON top-ups by building unsigned transactions for the agent's TON wallet to sign.
README
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 ✅
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 |
|---|---|---|
hoton |
builds the order | npx -y hoton-mcp |
ton |
the wallet that signs & pays | npx -y @ton/mcp@alpha (TON's official kit) |
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.
Teleton users: Teleton has its own built-in TON wallet, so you likely only need
hoton— Teleton signs the transaction itself.
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"]
Teleton — run teleton mcp add (or teleton setup --ui) and point it at npx -y hoton-mcp. Teleton's built-in wallet handles signing, so you can skip the ton server. (teletonagent.dev)
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 |
|---|---|---|
HOTON_BACKEND_URL |
https://hoton.up.railway.app |
The hoton backend the server talks to. |
HOTON_MAX_ORDER |
(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 build
Then 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.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。