btcmatic-mcp-server
Officialbtcmatic-mcp-server
MCP-Server für die BTCMatic-Agenten-API: nutzungsbasierte Bezahlung
Bitcoin-Kontext für autonome Agenten — der Self-Custody-Sicherheitsradar, Gebührenperzentil,
Preisänderungsfenster und Bedingungshäufigkeit — bezahlt in Sats über Lightning. Kein Konto, kein
API-Schlüssel, keine Kreditkarte: Die API antwortet mit 402 und einer Rechnung, die Wallet des Agenten bezahlt, der
Tool-Aufruf wird mit dem Preimage abgeschlossen.
BTCMatic ist die Bitcoin-Event-Engine; dieses Paket ist der Einstieg für Agenten. Alles hier ist nur-Lese-Kontext — es kann keine Regeln erstellen, keine Aufträge aufgeben, niemanden benachrichtigen oder Gelder berühren.
Tools
Tool | Bezahlt | Funktion |
| nein | Preise, vorausbezahlte Grenzen und der Zahlungsablauf — zuerst aufrufen |
| ja | Offene/bestätigte Self-Custody-Vorfälle, Produktbezogene Aktivitätszahlen mit Quellenanzahl, Quellenbezogenes Präzisionsprotokoll |
| ja | Aktueller Preis mit 1h/24h/7d-Änderung, Gebühr für den nächsten Block + deren 90-Tage-Perzentil, Mempool-Größe; veraltete Werte zurückgehalten, Lücken gemeldet |
| ja | Wie oft |
| nein | Eine vorausbezahlte Aufladungsrechnung erstellen |
| nein | Die Aufladung mit ihrem Preimage nachweisen → Inhaber-Token (einmalig) |
| nein | Vorausbezahltes Guthaben und verbleibende Aufrufe |
Ein bezahlter Aufruf kostet etwa 21 Sats (der aktuelle Preis steht in btcmatic_discover).
Related MCP server: x402-api
So funktioniert die Bezahlung
Rufen Sie ein bezahltes Tool ohne Nachweis auf. Das Ergebnis ist das 402-Angebot als Daten, kein Fehler:
{ "kind": "offer", "price_sats", "bolt11", "payment_hash", "next_step" }.Ihre Wallet bezahlt die
bolt11-Rechnung und zeigt das Preimage.Rufen Sie dasselbe Tool erneut mit
{ "payment_hash", "preimage" }auf. Der Nachweis ist einmalig verwendbar.
Vorausbezahlt: btcmatic_topup → bezahlen → btcmatic_topup_claim → Token. Starten Sie den Server mit
BTCMATIC_AGENT_TOKEN=agt_… und jedes bezahlte Tool belastet das Guthaben; bei null antworten die Tools mit
{ "kind": "topup_needed" }.
Dieser Server hält niemals Schlüssel und bezahlt niemals. Er übermittelt Nachweise; das Bezahlen ist immer die Entscheidung
einer Wallet, die Sie kontrollieren. Das Nachweisformat ist Authorization: L402 <payment_hash>:<preimage> — der
Zahlungshash benennt eine Rechnung, die BTCMatic ausgestellt hat, und sha256(preimage) = payment_hash ist der Nachweis,
somit ist kein Macaroon erforderlich.
Installation
{
"mcpServers": {
"btcmatic": {
"command": "npx",
"args": ["-y", "btcmatic-mcp-server"],
"env": { "BTCMATIC_AGENT_TOKEN": "agt_…" }
}
}
}BTCMATIC_AGENT_TOKEN ist optional (nutzungsbasierter 402-Ablauf ohne ihn). BTCMATIC_API_URL überschreibt die
API-Basis-URL (Standard: https://api.btcmatic.com).
Was die Zahlen sind — und was nicht
Quellenbezogene Präzision stammt aus manuell von BTCMatic gepflegten Kennzeichnungen, veröffentlicht unter btcmatic.com/radar; eine nicht gekennzeichnete Quelle zeigt keinerlei Präzision an.
Gebührenperzentil, Änderungsfenster und Häufigkeit sind beschreibende Statistiken über öffentliche Datenreihen. Sie beschreiben die Vergangenheit; sie sagen nichts voraus und nichts davon ist eine Empfehlung zum Kaufen oder Verkaufen.
Jede bezahlte Antwort enthält einen
meta-Block mit dem bezahlten Preis, dem verbleibenden Guthaben, einem Haftungsausschluss und einem Anmeldelink — dieselben Daten sind mit einem BTCMatic-Konto kostenlos; diese API existiert für Clients, die keines haben können.
Entwicklung
pnpm install
pnpm build && pnpm test && pnpm lint
BTCMATIC_API_URL=http://localhost:3000 node dist/cli.js # stdio transportRessourcen
Agenten-API-Dokumentation: https://btcmatic.com/integrations/agents
OpenAPI (Tag
agent): https://api.btcmatic.com/docsBTCMatic für Automatisierungen (API-Schlüssel, n8n): https://btcmatic.com/integrations/n8n
Lizenz
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityBmaintenanceMCP server that enables AI agents to make autonomous Bitcoin Lightning Network payments using the L402 protocol. Agents can pay for API access, purchase resources, and complete transactions without human intervention — invoice comes in, sats go out, done.179MIT
- AlicenseAqualityDmaintenanceMCP server for pay-per-call DeFi and crypto data via x402 micropayments on Base. 8 endpoints: token prices, TVL, funding rates, token security, gas tracker, whale monitoring, wallet profiling, and yield scanning.846MIT
- AlicenseNot gradedqualityDmaintenanceMinimal MCP server demonstrating L402 pay-per-call with Depth-of-Identity reputation gating, providing a bitcoin data tool that fetches BTC price and mempool fees.MIT
- AlicenseBqualityCmaintenanceMCP server offering 26 Lightning-paid tools for Bitcoin mempool intelligence and sovereign on-prem AI inference, with no third-party APIs and pay-per-call in sats.26181MIT
Related MCP Connectors
Monetize any MCP server: x402 paywall, pay-per-call billing in USDC on Base, agent marketplace.
MCP marketplace: agents pay per call in USDC via x402. Plus Base chain data and a USDC<->bank ramp.
MCP server connecting AI agents to non-custodial staking data across 130+ networks.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/btcmatic-com/btcmatic-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server