$THREE Token

v1.1.3
io.github.nirholas/three-token-mcp Checked 1 hour ago Published 1 month ago

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

Values you need

VariableWhat it is
SOLANA_SECRET_KEYoptional secret Base58 Solana secret key that signs burns (the wallet that holds the $THREE). Not needed for the read-only tools (three_price, three_balance). Treat like cash.
SOLANA_RPC_URLoptional Solana mainnet RPC endpoint. Defaults to the public cluster — bring your own (Helius / Quicknode / Triton) for production traffic. Default: https://api.mainnet-beta.solana.com
THREE_WS_BASEoptional Base URL of the three.ws token API (serves /api/token/config and /api/token/price). Override only when self-hosting. Default: https://three.ws
MAX_BURN_USDoptional Max USD value of $THREE a single three_burn call may destroy. Default: 100
REQUIRE_CONFIRMoptional When on (default), three_burn refuses until re-issued with confirm:true. Set 0/false to disable the gate. Default: true

npm (npx) verified

Requires Node.js 18+

Run in a terminal
claude mcp add three-token-mcp -- npx -y @three-ws/three-token-mcp@1.1.3
Add to claude_desktop_config.json
{
  "mcpServers": {
    "three-token-mcp": {
      "args": [
        "-y",
        "@three-ws/three-token-mcp@1.1.3"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "three-token-mcp": {
      "args": [
        "-y",
        "@three-ws/three-token-mcp@1.1.3"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "three-token-mcp": {
      "args": [
        "-y",
        "@three-ws/three-token-mcp@1.1.3"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.three-token-mcp]
command = "npx"
args = ["-y", "@three-ws/three-token-mcp@1.1.3"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: three_price, three_balance, three_burn.
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json