@phantom/mcp-server) is a Phantom wallet product for users who interact through AI agents. Just like the mobile wallet and browser extension serve users who click and tap, the MCP server serves users who interact through natural language with their AI assistant.
When someone uses Claude, Cursor, or another AI agent and asks “send 10 USDC to my friend” or “swap some SOL for ETH,” Phantom’s MCP server is the wallet the agent uses to act on their behalf.
What are you here for?
Set up the MCP server
Add the Phantom MCP Server to Claude Desktop, Cursor, or Claude Code and get a wallet for your AI agent.
Quick install
You need an App ID from Phantom Portal before getting started. Then add this config to your AI client:What agents can do
The MCP server gives agents 13 tools across wallet operations, swaps, and portfolio rebalancing. See the setup and reference guide for full parameter documentation. Wallet operations| Tool | Description |
|---|---|
get_connection_status | Check if the wallet session is active |
get_wallet_addresses | Get addresses for Solana, Ethereum, Bitcoin, and Sui |
get_token_balances | View token holdings with live USD pricing |
transfer_tokens | Transfer SOL, ETH, and SPL/ERC-20 tokens |
send_solana_transaction | Sign and broadcast Solana transactions |
send_evm_transaction | Sign and broadcast EVM transactions |
sign_solana_message | Sign UTF-8 messages on Solana |
sign_evm_personal_message | EIP-191 personal message signing |
sign_evm_typed_data | EIP-712 structured data signing |
phantom_login | Re-authenticate, switch accounts, or refresh a session |
pay_api_access | Pay for daily API access when quota is consumed |
| Tool | Description |
|---|---|
buy_token | Swap tokens via Phantom routing (Solana, EVM, cross-chain) |
portfolio_rebalance | Analyze and rebalance portfolio allocation via token swaps |
Supported clients
| Client | How to connect |
|---|---|
| Claude Desktop | Add to claude_desktop_config.json |
| Cursor | Add to ~/.cursor/mcp.json (or use the Phantom Cursor plugin) |
| Claude Code | claude mcp add phantom -- npx -y @phantom/mcp-server |
Related
Phantom Connect SDKs
Build apps with embedded wallets and social login for traditional user flows.
Phantom Connect SDK MCP server
Give your AI coding assistant access to Phantom developer documentation.