The Phantom MCP Server gives AI agents a wallet. Sign transactions, transfer tokens, and interact on-chain across Solana and EVM chains.
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.
The MCP server gives agents 25 tools across wallet operations, swaps, portfolio rebalancing, and Hyperliquid perpetual trading. 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
Swaps and portfolio
Tool
Description
buy_token
Swap tokens via Phantom routing (Solana, EVM, cross-chain)
portfolio_rebalance
Analyze and rebalance portfolio allocation via token swaps
Hyperliquid perpetual trading
Tool
Description
deposit_to_hyperliquid
Bridge tokens into Hyperliquid as USDC
transfer_spot_to_perps
Move USDC from spot to perps account
withdraw_from_perps
Move USDC from perps back to spot
get_perp_account
Get perps account balance and withdrawable amount
get_perp_markets
List markets with prices, funding rates, and leverage limits
get_perp_positions
Get open positions with PnL and liquidation prices