Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"btcpay-server": {
"env": {
"BTCPAY_API_KEY": "your-api-key",
"BTCPAY_BASE_URL": "https://your-btcpay-server.com",
"BTCPAY_STORE_ID": "your-store-id"
},
"args": [
"btcpay-mcp"
],
"command": "uvx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
MCP server for BTCPay Server — let AI agents create invoices, manage stores, track payments, and check exchange rates through the Greenfield REST API.
Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
uvx 'btcpay-mcp' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
Checked btcpay-mcp against OSV.dev.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in finance / ai-ml
Persistent memory using a knowledge graph
Dynamic problem-solving through sequential thought chains
Workspace template + MCP server for Claude Code, Codex CLI, Cursor & Windsurf. Multi-agent knowledge engine (ag-refresh / ag-ask) that turns any codebase into a queryable AI assistant.
Privacy-first. MCP is the protocol for tool access. We're the virtualization layer for context.
MCP Security Weekly
Get CVE alerts and security updates for xyz.draket/btcpay-mcp and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
MCP server for BTCPay Server — let AI agents create invoices, manage stores, track payments, and check exchange rates through the Greenfield REST API.
21 tools · MIT licensed · Zero hardcoded credentials
The only MCP server for BTCPay Server. While other Bitcoin MCP servers cover blockchain data and node RPC,
btcpay-mcpis the first to expose full merchant payment processing — invoice creation, store management, pull payments, payment requests, Lightning operations, wallet management, webhooks, and exchange rates — to AI agents.
pip install btcpay-mcp
Add to your claude_desktop_config.json:
{
"mcpServers": {
"btcpay-server": {
"command": "uvx",
"args": ["btcpay-mcp"],
"env": {
"BTCPAY_BASE_URL": "https://your-btcpay-server.com",
"BTCPAY_API_KEY": "your-api-key",
"BTCPAY_STORE_ID": "your-store-id"
}
}
}
}
claude mcp add btcpay-server -- uvx btcpay-mcp
Add to .cursor/mcp.json or .vscode/mcp.json:
{
"mcpServers": {
"btcpay-server": {
"command": "uvx",
"args": ["btcpay-mcp"],
"env": {
"BTCPAY_BASE_URL": "https://your-btcpay-server.com",
"BTCPAY_API_KEY": "your-api-key",
"BTCPAY_STORE_ID": "your-store-id"
}
}
}
}
pip install btcpay-mcp
# Set environment variables
export BTCPAY_BASE_URL="https://your-btcpay-server.com"
export BTCPAY_API_KEY="your-api-key"
export BTCPAY_STORE_ID="your-store-id"
# Run
btcpay-mcp
Or with pip install from source:
git clone https://github.com/toplyrnarfur/btcpay-mcp.git
# or: git clone https://codeberg.org/toplyr-narfur/btcpay-mcp.git
cd btcpay-mcp
pip install -e ".[dev]"
python -m btcpay_mcp.server
| Tool | Description |
|---|---|
get_server_info | BTCPay Server version, sync status, supported methods |
list_stores | List all stores accessible with the API key |
get_store_info | Store configuration: currency, speed policy, checkout type |
get_store_payment_methods | Enabled payment methods: on-chain, Lightning, etc. |
create_invoice | Create a new invoice (amount, currency, order ID, description) |
get_invoice | Invoice status, payments received, metadata, timing |
list_invoices | List invoices with optional status filter |
get_exchange_rate | Current BTC/fiat exchange rate from BTCPay |
list_pull_payments | List pull payments (donations, subscriptions, payroll) |
create_pull_payment | Create pull payment for donations, subscriptions, or payroll |
list_payouts | List actual payout transactions (claims against pull payments) |
list_payment_requests | List payment requests (reusable payment links) |
create_payment_request | Create a payment request (persistent payment page) |
get_payment_request | Get payment request details and status |
list_webhooks | List configured webhooks for payment event notifications |
create_webhook | Create a webhook for real-time payment notifications |
refund_invoice | Refund an invoice (creates pull payment) |
get_lightning_info | Lightning node info: alias, version, peers, channels, balance |
list_lightning_channels | List Lightning channels with capacity, balances, status |
get_wallet_balance | On-chain wallet balance (confirmed/unconfirmed) |
list_wallet_transactions | List on-chain wallet transactions |
Ask your AI agent:
| Prom