In short
- The CigalPay MCP server (cigalpay-mcp on npm) connects AI assistants such as Claude, Cursor and VS Code to your CigalPay account through the Model Context Protocol.
- Ask in plain language to create a payment link priced in USD or EUR, check whether an order is paid, list the payments waiting for funds or follow a refund.
- Your API key stays in your assistant's configuration. Refunds, the only tool that moves money, are off unless you turn them on.
AI assistants are becoming the place where people work: they write the code, answer the client, prepare the invoice. The Model Context Protocol (MCP) lets an assistant use outside tools, and the CigalPay MCP server gives it the tools of your CigalPay account. You can then ask for a payment link or a payment status the way you would ask a colleague.
- "Create a 49 EUR payment link for invoice 1042, logo design."
- "Has the payment for order 1042 been confirmed?"
- "Which payments are still waiting for the customer?"
What the assistant can do
| Tool | What it does |
|---|---|
create_checkout | Creates a payment priced in USD or EUR and returns the checkout link (up to 5,000 per payment) |
get_payment | Status, coin and amounts of a payment; paid means confirmed or finished |
get_payments_by_order | Every payment created for one of your order references |
list_active_payments | Payments still waiting for the customer |
list_supported_coins | Coins accepted directly |
list_refunds | Refunds of a payment and their status |
create_refund | Refunds a payment in crypto; off unless CIGALPAY_ALLOW_REFUNDS=1 |
Set it up
You need Node.js 18 or later, and your Account ID and API key from your CigalPay dashboard, Settings → API credentials. CIGALPAY_NOTIFY_URL is the public HTTPS address where CigalPay sends signed payment notifications for the links the assistant creates.
Claude Code
claude mcp add cigalpay \ -e CIGALPAY_ACCOUNT_ID=your-account-id \ -e CIGALPAY_API_KEY=your-api-key \ -e CIGALPAY_NOTIFY_URL=https://your-site.com/cigalpay/notify \ -- npx -y cigalpay-mcp Claude Desktop (claude_desktop_config.json), Cursor (.cursor/mcp.json) and other clients
{ "mcpServers": { "cigalpay": { "command": "npx", "args": ["-y", "cigalpay-mcp"], "env": { "CIGALPAY_ACCOUNT_ID": "your-account-id", "CIGALPAY_API_KEY": "your-api-key", "CIGALPAY_NOTIFY_URL": "https://your-site.com/cigalpay/notify" } } } } What keeps your account safe
- Your key stays local. The server runs on your computer and reads the key from its configuration; tool results never contain it.
- No money moves by default. Creating a payment link and reading payments can't take anything out of your balance.
create_refundis only available withCIGALPAY_ALLOW_REFUNDS=1, and it is marked as destructive so the assistant asks before using it. - Delivery still depends on the signature. Ship or give access from your signed payment notification, not from what an assistant says: check the
x-cigalpay-sigsignature and the amount, as in our security checklist.
Automations without an assistant
To run the same steps automatically on every order, use the CigalPay node for n8n. It also works as a tool for n8n's AI Agent.
FAQ
What is the CigalPay MCP server?
A small program, cigalpay-mcp on npm, that connects AI assistants like Claude, Cursor and VS Code to your CigalPay account through the Model Context Protocol, so they can create crypto payment links and check payments.
Can the assistant spend my balance?
Not by default. Payment links and reading payments don't move money. Refunds are the only tool that does, and they are off unless you set CIGALPAY_ALLOW_REFUNDS=1.
Which assistants does it work with?
Any MCP client that runs local servers: Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and others.
Which coins can customers pay with?
Bitcoin, USDT on Tron, Ethereum, Solana, Litecoin, TRX, Bitcoin Cash, Dogecoin, Dash and Polygon directly, plus many other coins converted automatically. Prices stay in USD or EUR.
Originally published on cigalpay.com.

