Skip to main content
The Phantom MCP Server (@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.
The Phantom MCP Server is currently in preview and may change at any time. Always use a separate Phantom account for testing. Never use accounts containing significant assets.

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:
{
  "mcpServers": {
    "phantom": {
      "command": "npx",
      "args": ["-y", "@phantom/mcp-server"],
      "env": {
        "PHANTOM_APP_ID": "your_app_id_from_portal"
      }
    }
  }
}
See the setup guide for step-by-step instructions for Claude Desktop, Cursor, and Claude Code.

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
ToolDescription
get_connection_statusCheck if the wallet session is active
get_wallet_addressesGet addresses for Solana, Ethereum, Bitcoin, and Sui
get_token_balancesView token holdings with live USD pricing
transfer_tokensTransfer SOL, ETH, and SPL/ERC-20 tokens
send_solana_transactionSign and broadcast Solana transactions
send_evm_transactionSign and broadcast EVM transactions
sign_solana_messageSign UTF-8 messages on Solana
sign_evm_personal_messageEIP-191 personal message signing
sign_evm_typed_dataEIP-712 structured data signing
phantom_loginRe-authenticate, switch accounts, or refresh a session
pay_api_accessPay for daily API access when quota is consumed
Swaps and portfolio
ToolDescription
buy_tokenSwap tokens via Phantom routing (Solana, EVM, cross-chain)
portfolio_rebalanceAnalyze and rebalance portfolio allocation via token swaps

Supported clients

ClientHow to connect
Claude DesktopAdd to claude_desktop_config.json
CursorAdd to ~/.cursor/mcp.json (or use the Phantom Cursor plugin)
Claude Codeclaude mcp add phantom -- npx -y @phantom/mcp-server

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.