SnapEX Pay — Claude Code MCP server: setup
This MCP server for Claude Code connects an agent to SnapEX Pay crypto payments. It creates invoices, receives crypto and sends payouts.
MIT updated 2026-11-04
claude mcp add --transport http pay https://pay.snapex.pro/mcpWhat SnapEX Pay does
The server lets an agent open a SnapEX Pay account and obtain an API key, then create invoices with hosted payment pages, accept crypto at permanent addresses and send payouts across coins and networks. The account balance is held in USDT. A payout starts with preview_payout, followed by create_payout using an idempotency key; retrying with the same key will not send a second payment.
Catalogue tools work without a key. Test mode runs the flow without real funds: a test invoice becomes paid about 10 seconds after a coin is selected, while the balance stays unchanged. Connect to https://pay.snapex.pro/mcp or run the local package with npx -y snapex-pay-mcp. Payouts cannot be reversed.
What it helps with
- create an invoice to accept crypto
- check the payment status of an invoice
- send a payout in a selected coin and network
- inspect the account balance and transaction history
Example prompts for the agent
- Create a SnapEX Pay invoice for a crypto payment and return its payment link.
- Check the status of my invoice and show the SnapEX Pay balance.
- Prepare a payout on the selected network and show its preview.
How to install SnapEX Pay
1Platform CLI: remote server
claude mcp add --transport http pay https://pay.snapex.pro/mcp2Platform CLI
claude mcp add --env SNAPEX_API_KEY=<SNAPEX_API_KEY> --env SNAPEX_BASE_URL=<SNAPEX_BASE_URL> --transport stdio snapex-pay -- npx -y snapex-pay-mcpReplace <…> with your own values
1Platform CLI: remote server
codex mcp add snapex-pay --url https://pay.snapex.pro/mcp2Platform CLI
codex mcp add snapex-pay --env SNAPEX_API_KEY=<SNAPEX_API_KEY> --env SNAPEX_BASE_URL=<SNAPEX_BASE_URL> -- npx -y snapex-pay-mcpReplace <…> with your own values
Config file
{
"mcpServers": {
"snapex-pay": {
"url": "https://pay.snapex.pro/mcp"
}
}
}{
"mcpServers": {
"snapex-pay": {
"command": "npx",
"args": [
"-y",
"snapex-pay-mcp"
],
"env": {
"SNAPEX_API_KEY": "<SNAPEX_API_KEY>",
"SNAPEX_BASE_URL": "<SNAPEX_BASE_URL>"
}
}
}
}Replace <…> with your own values
Config file
{
"servers": {
"snapex-pay": {
"type": "http",
"url": "https://pay.snapex.pro/mcp"
}
}
}{
"servers": {
"snapex-pay": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"snapex-pay-mcp"
],
"env": {
"SNAPEX_API_KEY": "<SNAPEX_API_KEY>",
"SNAPEX_BASE_URL": "<SNAPEX_BASE_URL>"
}
}
}
}Replace <…> with your own values
1Platform CLI: remote server
gemini mcp add -t http snapex-pay https://pay.snapex.pro/mcp2Platform CLI
gemini mcp add -e SNAPEX_API_KEY=<SNAPEX_API_KEY> -e SNAPEX_BASE_URL=<SNAPEX_BASE_URL> snapex-pay npx -y snapex-pay-mcpReplace <…> with your own values
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about SnapEX Pay
How do I install SnapEX Pay in Claude Code?
For a remote connection, run claude mcp add --transport http pay https://pay.snapex.pro/mcp.
What does SnapEX Pay do?
It gives an agent tools to manage a SnapEX Pay account, create invoices, receive crypto and send payouts. Test mode runs without real funds.
What does SnapEX Pay need to work?
The server connects to SnapEX Pay at https://pay.snapex.pro/mcp. For a local connection, run the snapex-pay-mcp package with npx; the agent can create an account and API key with create_account.