Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add ThomsenDrake/btcpay-mcp --skill clawhubgit clone --depth 1 https://github.com/ThomsenDrake/btcpay-mcpWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/thomsendrake/btcpay-mcp/clawhub)<a href="https://agentmods.dev/skills/thomsendrake/btcpay-mcp/clawhub"><img src="https://agentmods.dev/badge/skills/thomsendrake/btcpay-mcp/clawhub/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/thomsendrake/btcpay-mcp/clawhub"><img src="https://agentmods.dev/badge/skills/thomsendrake/btcpay-mcp/clawhub.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00037 | $0.00644 |
| Opus 5 | $0.00018 | $0.00322 |
| Sonnet 5 | $0.00007 | $0.00129 |
| Haiku 4.5 | $0.00004 | $0.00064 |
Grade A, and why
btcpay-mcp scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
BTCPay Server MCP
MCP server enabling AI agents (Claude, Cursor, VS Code, Windsurf) to manage BTCPay Server merchant payments via 21 tools across 23 Greenfield API endpoints.
What It Does
Connects AI assistants to BTCPay Server — the leading self-hosted Bitcoin payment processor (7,500+ GitHub stars). AI agents can create invoices, process payments, manage stores, handle pull payments, configure webhooks, monitor Lightning nodes, and track wallet balances.
This is the only MCP server covering the BTCPay Server merchant payment lifecycle.
Installation
pip install btcpay-mcp
Set environment variables:
BTCPAY_BASE_URL— Your BTCPay Server Greenfield API URLBTCPAY_API_KEY— API key from Store → API Keys
Run:
btcpay-mcp
Tools (21)
| Category | Tools |
|---|---|
| Server | get_server_info |
| Store Management | list_stores, get_store_info, get_store_payment_methods |
| Invoices | create_invoice, get_invoice, list_invoices, refund_invoice |
| Pull Payments | create_pull_payment, list_pull_payments, list_payouts |
| Payment Requests | create_payment_request, get_payment_request, list_payment_requests |
| Webhooks | create_webhook, list_webhooks |
| Lightning | get_lightning_info, list_lightning_channels |
| Wallet | get_wallet_balance, list_wallet_transactions |
| Exchange | get_exchange_rate |
Requirements
- Python 3.10+
- A running BTCPay Server instance
- MCP-compatible AI client (Claude Desktop, Cursor, VS Code with Copilot, Windsurf)
Architecture
server.py— FastMCP server with 21 tool definitionsclient.py— BTCPay Greenfield API HTTP client__main__.py— CLI entry point
Testing
77 tests, 100% pass rate. Run with:
pip install btcpay-mcp[dev]
pytest tests/ -v
License
MIT
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 9d ago First seen · 91 lines · 37 tokens per session scan A 5fcc198de618
btcpay-mcp is a skill published in the GitHub repository ThomsenDrake/btcpay-mcp (0 stars, last pushed 23d ago), licensed MIT. It adds 37 tokens to every session and 644 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
starknet-mini-pay
Simple P2P payments on Starknet. Generate QR codes, payment links, invoices, and transfer ETH/STRK/USDC. Like Lightning, but native.
sparkbtcbot
Give an AI agent a self-custodial Bitcoin wallet on the Spark L2. Covers wallet init from a BIP39 mnemonic, zero-fee Spark and BTKN/LRC20 token transfers, Lightning invoices (create and pay), Spark native invoices, L402 paywall payment, L1 deposits and cooperative withdrawals, and message signing. Make sure to use…
saturnzap
Non-custodial Lightning wallet for AI agents via sz CLI: send/receive sats, pay invoices, auto-pay HTTP 402 (L402), manage channels and liquidity. Use when: (1) paying for API access with Lightning, (2) creating or paying BOLT11 invoices, (3) checking wallet balance or channel health, (4) managing peers and channels.…
satrank-l402
Discover and score L402 endpoints on Bitcoin Lightning before paying. Use when an agent needs to call a paid API and wants a Bayesian trust posterior + offline-verifiable Nostr assertion. Bitcoin-pure, no x402/EVM.
blocknative-openapi-skill
Operate Blocknative gas intelligence APIs through UXC with a curated OpenAPI schema, API-key auth, and read-first guardrails.
coingecko-openapi-skill
Operate CoinGecko and GeckoTerminal market data APIs through UXC with a curated OpenAPI schema, API-key auth, and read-first guardrails.