About CigalPay
CigalPay is an MCP server for AI assistants to manage crypto payments through natural-language requests. It is aimed at merchants who need payment links, status checks, and refund tracking, with refunds disabled by default.
Key features
- 01Create payment links in USD or EUR
- 02Check payment status, coin, and amounts
- 03Find payments by order reference
- 04List pending payments and supported coins
- 05Check refunds and optionally issue them
Use cases
- 01Create a crypto payment link for an invoice
- 02Confirm whether an order payment arrived
- 03Track a payment's refund status
MCP support
The MCP server provides payment-link, payment lookup, and refund tools to clients such as Claude, Cursor, and VS Code. Refunds are off by default and require explicit enabling.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
npx -y cigalpay-mcpCIGALPAY_ACCOUNT_IDYour Account ID (dashboard > Settings > API credentials)CIGALPAY_API_KEYSecretYour API key (dashboard > Settings > API credentials)CIGALPAY_NOTIFY_URLDefault public HTTPS URL for signed payment notificationsCIGALPAY_ALLOW_REFUNDSSet to 1 to enable the create_refund toolLocal servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMECigalPay MCP server
Let Claude, Cursor, VS Code and other AI assistants use your CigalPay account: create crypto payment links, check whether a payment arrived, and follow refunds, by asking in plain language.
"Create a 49 EUR payment link for invoice 1042, logo design." "Has the payment for order 1042 been confirmed?"
Prices are in USD or EUR. Your customer picks the coin on the CigalPay checkout (Bitcoin, USDT on Tron, Ethereum, Solana, Litecoin and more), with the rate locked for 30 minutes.
Tools
| Tool | What it does |
|---|---|
create_checkout | Create a payment priced in USD or EUR and return the checkout link (up to 5,000 per payment). fee_paid_by: customer adds the processing fee to the customer's price |
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 | Refund a payment in crypto. Off by default: set CIGALPAY_ALLOW_REFUNDS=1 |
create_refund moves money out of your CigalPay balance, so it is only available when you turn it on, and it is
marked as destructive so your assistant asks before using it.
Setup
Get your Account ID and API key in the CigalPay dashboard, Settings → API credentials. Node.js 18 or later is needed.
| Variable | |
|---|---|
CIGALPAY_ACCOUNT_ID | Required to create payment links |
CIGALPAY_API_KEY | Required to read payments and refunds. Keep it secret |
CIGALPAY_NOTIFY_URL | Public HTTPS URL that receives signed payment notifications. Needed by create_checkout, unless you pass notify_url each time |
CIGALPAY_RETURN_URL | Where customers go after paying (default: cigalpay.com) |
CIGALPAY_ALLOW_REFUNDS | 1 to enable create_refund |
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, Cursor, VS Code and others
Add to the client's MCP configuration (claude_desktop_config.json, .cursor/mcp.json, ...):
{
"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"
}
}
}
}
Payment notifications
CigalPay sends a signed notification to your notify URL when a payment's status changes. Check the
x-cigalpay-sig signature before trusting it, with the JavaScript SDK
(CigalPay.verifyWebhook) or the PHP SDK. See the
developer docs.
Release
Bump the version in package.json, server.json (twice) and CHANGELOG.md, then push a tag vX.Y.Z. GitHub
Actions stages the package on npm; approve it on npmjs.com, then run the MCP Registry workflow.
License
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.