$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.
概覽
讓助理查詢 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。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 $THREE Token,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
@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_burncall 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
Run it directly with npx (no install needed):
Or install globally for the three-token-mcp binary on your PATH:
Quick start
Claude Code, one line:
Claude Desktop / Cursor (claude_desktop_config.json or mcp.json):
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:
Tools
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
How a burn is built
three_burn mirrors the proven three.ws browser payment flow:
GET /api/token/config→ mint, decimals, burn address, treasury.GET /api/token/price?usd=<n>→ live Jupiter price and the exact $THREE atomics.- 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
burnBpsgives the leftover atomic unit to the burn leg, so a burn is never short of its share; withburnBps: 10000(or a config with no treasury) there is one leg and everything is destroyed. - 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(onlyhttp://localhostis accepted, for local dev validators). - For burns: a wallet holding $THREE, provided as a base58
SOLANA_SECRET_KEY(or a per-callsecret).
Environment variables
Links
- Homepage: https://three.ws
- Changelog: https://three.ws/changelog
- Issues: https://github.com/nirholas/three.ws/issues
- License: Apache-2.0, see LICENSE
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版本歷史
2- v1.1.3最新Oct 10, 2026
- v1.1.2Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分