@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.
Agent wallets and your existing accounts
Why your agent gets a new wallet when you sign in, and how to access your existing Phantom accounts.
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.
Use it with OpenClaw
Install the Phantom OpenClaw plugin to bring the same Phantom wallet capabilities directly into OpenClaw.
Quick install
No App ID or Phantom Portal setup required. Add this config to your AI client:What agents can do
The MCP server gives agents wallet, swap, and perp-trading tools. See the setup guide and tool reference for full parameter documentation.No fees on swaps. All swaps executed through
buy_token and portfolio_rebalance are fee-free.
Swaps and portfolio
Perps
Perps tools guide
Hyperliquid-specific funding, trading, and withdrawal flow for the Phantom MCP server.
Supported clients
How agent wallets sign
Agent wallets complete a Phantom Connect sign-in, then use an OIDC stamper to stamp KMS requests. KMS validates the stamp, enforces policy, and then signs and submits.How Phantom KMS works
Learn how KMS handles key storage and signing for agent wallets.
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.