Skip to main content
Glama

hoton-mcp

Buy Telegram Stars, Premium, and TON top-ups from a single prompt — "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 TON 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: P-Link-MCP

What you need

Two MCP servers, running side by side:

Server

Does

From

hoton

builds the order

this repo (you run it)

ton

the wallet that signs & pays

TON's official @ton/mcp

Teleton users: Teleton has its own built-in TON wallet, so you likely only need hoton — Teleton signs the transaction itself.


1. Install

git clone https://github.com/hotonlabs/hoton-mcp.git
cd hoton-mcp
yarn install
yarn build

This produces dist/index.js — the file your agent will run. Note its full path.

2. The config (identical for every agent)

MCP is a standard, so every agent uses the same two servers. Only where you paste this changes (step 3).

{
  "mcpServers": {
    "hoton": {
      "command": "node",
      "args": ["/absolute/path/to/hoton-mcp/dist/index.js"],
      "env": { "HOTON_BACKEND_URL": "https://hoton.up.railway.app" }
    },
    "ton": { "command": "npx", "args": ["-y", "@ton/mcp@alpha"] }
  }
}

3. 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: node
    args: ["/absolute/path/to/hoton-mcp/dist/index.js"]
    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 node /absolute/path/to/hoton-mcp/dist/index.js. 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 -- node /absolute/path/to/hoton-mcp/dist/index.js 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.)

Safety

  • Keyless. hoton-mcp only 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_ORDER caps any single order.

License

MIT — see LICENSE.

A
license - permissive license
-
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hotonlabs/hoton-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server