| name | moonpay-mcp |
| description | Set up MoonPay as an MCP server for Claude Desktop or Claude Code. Provides all MoonPay CLI tools via the Model Context Protocol. |
| tags | ["setup"] |
MoonPay MCP Setup
Goal
Configure the MoonPay CLI as an MCP server so Claude Desktop, Claude Code, or any MCP-compatible client can use all MoonPay tools directly.
Prerequisites
npm i -g @moonpay/cli
mp login --email user@example.com
mp verify --email user@example.com --code <code>
Claude Code setup
claude mcp add moonpay -- mp mcp
Claude Desktop setup
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"moonpay": {
"command": "mp",
"args": ["mcp"]
}
}
}
Then restart Claude Desktop.
What it provides
All MoonPay CLI tools are available as MCP tools:
- Wallet management — create, import, list, retrieve, delete, export wallets
- Token operations — search, retrieve, trending, swap, bridge, transfer
- Fiat — buy crypto with card/bank, virtual accounts with on-ramp
- x402 payments — paid API requests with automatic payment handling
- Transactions — sign locally, send, list, retrieve
Verification
After setup, ask Claude: "What MoonPay tools do you have?" — it should list all available tools.
Auth
The MCP server uses the same credentials as the CLI (~/.config/moonpay/credentials.json). Run mp login --email <email> then mp verify --email <email> --code <code> to authenticate.
Related skills
- moonpay-auth — Login and wallet setup.
- moonpay-discover-tokens — Search and analyze tokens.
- moonpay-swap-tokens — Swap tokens.