$THREE Token

io.github.nirholas由 GitHub 账号 nirholas 发布v1.1.3更新于 Nov 1, 2026

Price, hold, and burn $THREE on Solana — the first MCP server whose actions burn a token.

已验证STDIO仅桌面金融开发者工具

概览

AI 生成的概览

让助手查询 Solana 上 $THREE 代币的实时美元价格与钱包余额,并从指定钱包在链上不可逆地销毁 $THREE。

可以做什么
  • 查询 $THREE 的实时美元价格,并可按美元金额换算成代币数量
  • 查询任意公钥的 $THREE 与 SOL 余额,默认使用已配置的签名钱包
  • 在一笔 Solana 交易中按美元金额销毁 $THREE,按比例分配给销毁地址与项目金库,并返回交易签名与各部分明细
适用场景
适合让智能体查看 $THREE 的价格或持仓,或从自己掌控的 Solana 钱包执行有意为之、可验证的代币销毁。只读工具风险较低;销毁工具应仅用于明确的通缩操作,而非日常使用。
运行要求
需要 Node.js 20 或更高版本,通过 npx 在本地运行。需要 HTTPS 的 Solana 主网 RPC 端点(SOLANA_RPC_URL,默认公共集群)。执行销毁还需在 SOLANA_SECRET_KEY 或单次调用参数中提供持有 $THREE 钱包的 base58 私钥。可选配置包括 MAX_BURN_USD、REQUIRE_CONFIRM 和 THREE_WS_BASE。
安装前请注意
SOLANA_SECRET_KEY 是用于签署真实交易的私钥,应视同现金保管,仅销毁操作需要。销毁不可逆且会真实销毁资产,按 burnBps 设置部分金额可能转入项目金库。服务器会访问 three.ws 代币接口获取铸币地址、价格与去向配置,端点被篡改存在风险,尽管签名前会校验铸币地址。建议保持 REQUIRE_CONFIRM 开启并调低 MAX_BURN_USD。

安装

在 SourceWeft 中

  1. 打开 控制台中的 $THREE Token,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

[three.ws]

@three-ws/three-token-mcp

The first MCP server whose actions burn a token — let any AI agent price, hold, and burn $THREE on Solana.

[npm] [downloads] [license] [node] [MCP Registry] [three.ws]

Install · Quick start · Tools · Requirements · three.ws


A Model Context Protocol server that gives any AI assistant three $THREE primitives over stdio: read the live USD price, read a wallet's balance, and burn $THREE on-chain — split between the incinerator and the three.ws treasury, priced live via Jupiter. Deflation as an agent primitive: every three_burn call is a real, verifiable Solana transaction that permanently removes $THREE from supply and funds the treasury.

$THREE is the only coin this server touches. Contract address (mainnet SPL): FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump.

Why this is different

Most paid MCP servers settle in USDC. This one moves the project's own token, and the destinations are not hardcoded — they're read at runtime from the public three.ws token surface (/api/token/config, /api/token/price), so the mint, decimals, burn address, treasury, and split always track the canonical on-chain config the rest of three.ws uses. Before signing, the resolved mint is asserted to equal the canonical $THREE address above — a misconfigured or compromised endpoint cannot redirect a burn to any other token.

Install

bash
npm install @three-ws/three-token-mcp

Run it directly with npx (no install needed):

bash
SOLANA_SECRET_KEY=<base58> npx @three-ws/three-token-mcp

Or install globally for the three-token-mcp binary on your PATH:

bash
npm install -g @three-ws/three-token-mcp

Quick start

Claude Code, one line:

bash
claude mcp add three-token -- npx -y @three-ws/three-token-mcp

Claude Desktop / Cursor (claude_desktop_config.json or mcp.json):

json
{	"mcpServers": {		"three-token": {			"command": "npx",			"args": ["-y", "@three-ws/three-token-mcp"],			"env": {				"SOLANA_SECRET_KEY": "<base58 secret of the wallet that holds $THREE>",				"SOLANA_RPC_URL": "https://your-rpc-provider"			}		}	}}

SOLANA_SECRET_KEY is only required for three_burn. The read-only tools (three_price, three_balance) work without it. Inspect the surface with the MCP Inspector:

bash
npx -y @modelcontextprotocol/inspector npx @three-ws/three-token-mcp

Tools

ToolTypeWhat it does
three_priceread-onlyLive USD price of $THREE (Jupiter primary, Birdeye fallback). Pass usd to also get the token-amount quote.
three_balanceread-only$THREE + SOL balance for any pubkey (defaults to the configured signer).
three_burnexecutionBurn a USD-denominated amount of $THREE in one Solana tx, split incinerator/treasury. Returns the signature, breakdown, and a Solscan link.

three_burn burns $THREE the wallet already holds. To acquire $THREE first, swap SOL → $THREE on any Solana DEX, then burn.

Safety

All three tools ship MCP tool annotations: three_price and three_balance advertise readOnlyHint: true and can be safely auto-approved; three_burn is flagged destructiveHint: true, so annotation-aware MCP clients (Claude Code, Claude Desktop, Cursor) prompt for confirmation before running it. The hints are advisory — server-side, every burn is still bounded by MAX_BURN_USD (default $100), gated by REQUIRE_CONFIRM (default on: the call refuses until re-issued with confirm: true), and the resolved mint is asserted to be canonical $THREE before signing, independent of the client.

Input parameters

three_price — usd (optional positive number: USD amount to quote into $THREE).

three_balance — pubkey (optional base58, 32–64 chars; defaults to the configured signer's address).

three_burn — usd (required positive number: USD value of $THREE to burn), burnBps (0–10000, default 5000 = 50% burn / 50% treasury; 10000 = burn everything), memo (optional, ≤120 chars; appended to the on-chain memo), secret (optional base58 signer override; defaults to SOLANA_SECRET_KEY), confirm (must be true to execute the irreversible burn when REQUIRE_CONFIRM is on).

Example

jsonc
// three_price> { "usd": 5 }{ "price_usd": 0.0042, "quote": { "usd": 5, "token_amount": 1190.47, "atomics": "1190476190" } }
// three_burn — irreversible; confirm:true required by default> { "usd": 5, "burnBps": 5000, "confirm": true }{  "ok": true,  "signature": "5x...",  "explorer": "https://solscan.io/tx/5x...",  "usd": 5,  "burned": 595.23,  "legs": [    { "role": "burn", "amount": 595.23 },    { "role": "treasury", "amount": 595.23 }  ]}

How a burn is built

three_burn mirrors the proven three.ws browser payment flow:

  1. GET /api/token/config → mint, decimals, burn address, treasury.
  2. GET /api/token/price?usd=<n> → live Jupiter price and the exact $THREE atomics.
  3. Build one transaction: an idempotent ATA-create + SPL transfer per leg (burn + treasury), plus a memo tagging the burn on-chain. An amount that will not divide evenly at burnBps gives the leftover atomic unit to the burn leg, so a burn is never short of its share; with burnBps: 10000 (or a config with no treasury) there is one leg and everything is destroyed.
  4. Sign with your wallet, send, and confirm. The result reports the on-chain signature and per-leg amounts.

The server pre-checks your $THREE balance and fails fast with a clear error if it can't cover the burn — no opaque on-chain failures. Burns are bounded by MAX_BURN_USD (default $100) and gated by REQUIRE_CONFIRM (default on).

Requirements

  • Node.js >= 20.
  • A Solana mainnet RPC endpoint (the public cluster works for read-only; bring your own — Helius / Quicknode / Triton — for burn traffic). The endpoint must be https (only http://localhost is accepted, for local dev validators).
  • For burns: a wallet holding $THREE, provided as a base58 SOLANA_SECRET_KEY (or a per-call secret).

Environment variables

VariableRequiredDefault
SOLANA_SECRET_KEYfor burns onlynone (FUNDER_SECRET is accepted as a fallback)
SOLANA_RPC_URLnohttps://api.mainnet-beta.solana.com
THREE_WS_BASEnohttps://three.ws
MAX_BURN_USDno100
REQUIRE_CONFIRMnotrue (set 0/false to skip the confirm gate)
THREE_BURN_ADDRESSnothe Solana incinerator

Links


Part of the three.ws SDK suite — 3D AI agents, on-chain identity, and agent payments.
Website · Changelog · GitHub

来源:packages/three-token-mcp/README.md,提交 c8f2cde

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

2
  1. v1.1.3最新Oct 10, 2026
  2. v1.1.2Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分