Payments MCP is an MCP server & companion wallet app that combines wallets, onramps, and payments via x402 into a single solution for agentic commerce.
It enables AI agents to autonomously discover and pay for services without API keys, complex seed phrases, or manual intervention.
Read the documentation
npx @coinbase/payments-mcpDuring installation, you'll be prompted to choose which MCP client you're configuring:
- Claude - Claude Desktop application
- Claude Code - Claude Code CLI
- Codex - OpenAI Codex CLI
- Gemini - Google Gemini CLI
- Other - Other MCP-compatible tools
The installer supports automatic configuration for compatible MCP clients.
You'll be prompted during installation, or you can:
# Automatically configure without prompting
npx @coinbase/payments-mcp --client claude --auto-config
# Skip automatic configuration
npx @coinbase/payments-mcp --client claude --no-auto-configIf you skip automatic configuration, detailed setup instructions will be displayed.
{
"mcpServers": {
"payments-mcp": {
"command": "node",
"args": ["/Users/your-home-dir/.payments-mcp/bundle.js"]
}
}
}# Default installation (same as 'install')
npx @coinbase/payments-mcp
# Explicit install command
npx @coinbase/payments-mcp install
# Force reinstallation (even if up to date)
npx @coinbase/payments-mcp install --force
# Check installation status
npx @coinbase/payments-mcp status
# Uninstall payments-mcp
npx @coinbase/payments-mcp uninstall
# Enable verbose logging for any command
npx @coinbase/payments-mcp install --verbose--client, -c <client>: Specify MCP client to configure (claude, claude-code, codex, gemini, other)--auto-config: Automatically configure the MCP client without prompting (for supported clients)--no-auto-config: Skip automatic configuration prompt--verbose, -v: Enable detailed logging output--force, -f: Force reinstallation even if already up to date--help, -h: Show help information
| Client | Value | Description | Auto-Config |
|---|---|---|---|
| Claude Desktop | claude |
Claude Desktop application | ✅ |
| Claude Code | claude-code |
Claude Code CLI tool | ✅ |
| Codex CLI | codex |
OpenAI Codex CLI tool | ✅ |
| Gemini CLI | gemini |
Google Gemini CLI tool | ✅ |
| Other | other |
Other stdio-compatible MCP clients | Manual only |
- Installation Directory:
~/.payments-mcp/ - Logs: Displayed in terminal (use
--verbosefor detailed logs)
"Command not found" Error
- Ensure npm is in your system PATH
- Try running
npm --versionto verify npm installation
"Permission denied" Error
- On macOS/Linux: Check file permissions in the installation directory
- On Windows: Try running as administrator
"Module not found" Error
- Re-run the installer to download the latest version
- Use
--forceflag to force reinstallation
Network Issues
- Check your firewall and proxy settings
For detailed troubleshooting information, run with verbose logging:
npx @coinbase/payments-mcp install --verbose-
Check the status of your installation:
npx @coinbase/payments-mcp status
-
View detailed logs with
--verboseflag -
For additional support, visit: GitHub Issues
The Coinbase team takes security seriously. Please do not file a public ticket discussing a potential vulnerability. Please report your findings through our HackerOne program.
For more information, see our Security Policy.
Licensed under the Apache License, Version 2.0. See the LICENSE file for details.
Note: This installer is designed for the payments-mcp project and supports multiple MCP clients. For other MCP servers, please refer to their respective installation instructions.