$THREE Token — Claude Code MCP server: features and setup
This MCP server lets an agent check $THREE prices and wallet balances, then burn tokens on Solana. Burning requires tokens in the wallet and a confirmed call.
claude mcp add --env SOLANA_SECRET_KEY=<SOLANA_SECRET_KEY> --env SOLANA_RPC_URL=<SOLANA_RPC_URL> --env THREE_WS_BASE=<THREE_WS_BASE> --env MAX_BURN_USD=<MAX_BURN_USD> --env REQUIRE_CONFIRM=<REQUIRE_CONFIRM> --transport stdio three-token-mcp -- npx -y @three-ws/three-token-mcpWhat $THREE Token does
The server exposes three tools. three_price fetches the current $THREE price, three_balance checks token and SOL balances for an address, and three_burn submits a burn transaction. The burn amount is set in USD, with tokens split between the burn destination and the treasury.
Price and balance checks work without a wallet key. To use three_burn, set SOLANA_SECRET_KEY and pass confirm: true; the default burn cap is $100. The transaction cannot be reversed, and the server only burns $THREE already held by the wallet. You’ll need to acquire the tokens separately first.
What it helps with
- check the current $THREE price
- look up $THREE and SOL balances for an address
- estimate the token amount for a USD value
- burn held $THREE with a split between burn and treasury
Example prompts for the agent
- Check the current $THREE price and estimate the token amount for $5.
- Look up the $THREE and SOL balances for this address.
- Burn $5 worth of $THREE, split it evenly, and confirm the transaction.
How to install $THREE Token
Platform CLI
claude mcp add --env SOLANA_SECRET_KEY=<SOLANA_SECRET_KEY> --env SOLANA_RPC_URL=<SOLANA_RPC_URL> --env THREE_WS_BASE=<THREE_WS_BASE> --env MAX_BURN_USD=<MAX_BURN_USD> --env REQUIRE_CONFIRM=<REQUIRE_CONFIRM> --transport stdio three-token-mcp -- npx -y @three-ws/three-token-mcpReplace <…> with your own values
Platform CLI
codex mcp add three-token-mcp --env SOLANA_SECRET_KEY=<SOLANA_SECRET_KEY> --env SOLANA_RPC_URL=<SOLANA_RPC_URL> --env THREE_WS_BASE=<THREE_WS_BASE> --env MAX_BURN_USD=<MAX_BURN_USD> --env REQUIRE_CONFIRM=<REQUIRE_CONFIRM> -- npx -y @three-ws/three-token-mcpReplace <…> with your own values
Config file
{
"mcpServers": {
"three-token-mcp": {
"command": "npx",
"args": [
"-y",
"@three-ws/three-token-mcp"
],
"env": {
"SOLANA_SECRET_KEY": "<SOLANA_SECRET_KEY>",
"SOLANA_RPC_URL": "<SOLANA_RPC_URL>",
"THREE_WS_BASE": "<THREE_WS_BASE>",
"MAX_BURN_USD": "<MAX_BURN_USD>",
"REQUIRE_CONFIRM": "<REQUIRE_CONFIRM>"
}
}
}
}Replace <…> with your own values
Config file
{
"servers": {
"three-token-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@three-ws/three-token-mcp"
],
"env": {
"SOLANA_SECRET_KEY": "<SOLANA_SECRET_KEY>",
"SOLANA_RPC_URL": "<SOLANA_RPC_URL>",
"THREE_WS_BASE": "<THREE_WS_BASE>",
"MAX_BURN_USD": "<MAX_BURN_USD>",
"REQUIRE_CONFIRM": "<REQUIRE_CONFIRM>"
}
}
}
}Replace <…> with your own values
Platform CLI
gemini mcp add -e SOLANA_SECRET_KEY=<SOLANA_SECRET_KEY> -e SOLANA_RPC_URL=<SOLANA_RPC_URL> -e THREE_WS_BASE=<THREE_WS_BASE> -e MAX_BURN_USD=<MAX_BURN_USD> -e REQUIRE_CONFIRM=<REQUIRE_CONFIRM> three-token-mcp npx -y @three-ws/three-token-mcpReplace <…> with your own values
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about $THREE Token
How do I install $THREE Token in Claude Code?
Run claude mcp add three-token-mcp -e SOLANA_SECRET_KEY=<SOLANA_SECRET_KEY> -- npx -y @three-ws/three-token-mcp. The key is needed to burn tokens.
What does $THREE Token do?
It reports the $THREE price and wallet balances, and can submit a burn transaction on Solana. Burns are irreversible.
Is a secret key needed to check prices and balances?
No. three_price and three_balance work without SOLANA_SECRET_KEY. Burning requires the key and a call with confirm: true.