SatsRail MCP — Bitcoin Lightning Payments for AI Agents

# satsrail-mcp

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "SatsRail MCP — Bitcoin Lightning Payments for AI Agents" with this command: npx skills add RubyTuess/satsrail-mcp

satsrail-mcp

Give any MCP-compatible AI agent the ability to accept Bitcoin Lightning payments. Create orders, generate invoices, and check payment status — all through natural language. No browser, no forms, no redirects.

Works with: Claude Desktop · Cursor · Windsurf · Cline · any MCP client

What This Skill Does

This skill configures OpenClaw to use the SatsRail MCP server, enabling your agent to:

  • Create Lightning payment orders
  • Generate bolt11 invoices
  • Check payment status in real-time
  • List payments and orders
  • Create hosted checkout sessions

Why Lightning for AI Agents?

Credit CardsLightning (SatsRail)
IntegrationBrowser forms, redirectsOne API call → invoice string
Settlement2-3 business daysInstant (seconds)
Fees2.9% + $0.30Fractions of a cent
MicrotransactionsEconomically irrationalWorks at any amount
CustodyHeld by processorNon-custodial — your sats

Setup

1. Get your API key

Sign up at satsrail.com and grab your secret key (sk_live_... or sk_test_...).

2. Configure MCP server

Add to your OpenClaw MCP config or Claude Desktop config:

{
  "mcpServers": {
    "satsrail": {
      "command": "npx",
      "args": ["-y", "satsrail-mcp"],
      "env": {
        "SATSRAIL_API_KEY": "sk_test_your_key_here"
      }
    }
  }
}

3. Use it

Ask your agent:

"Create a $25 order for a monthly subscription and generate a Lightning invoice"

Available Tools

Orders

  • create_order — Create a payment order with optional auto-generated Lightning invoice
  • get_order — Get order details by ID
  • list_orders — List and filter orders by status
  • cancel_order — Cancel a pending order

Invoices & Payments

  • get_invoice — Get invoice details including bolt11 Lightning payment string
  • generate_invoice — Generate a new invoice for an existing order
  • check_invoice_status — Real-time payment verification
  • list_payments — List confirmed payments
  • get_payment — Get payment details by ID

Checkout & Config

  • create_checkout_session — Create a hosted checkout session
  • get_merchant — Get merchant profile and settings
  • list_wallets — List connected Lightning wallets

Example Flow

User: "Charge me $50 for the pro plan"

Agent → create_order(amount_cents: 5000, description: "Pro Plan", generate_invoice: true)
     ← bolt11: "lnbc500u1pj...kqq5yxmetu"

Agent: "Here's your Lightning invoice — scan or copy the payment string."

User: "Paid!"

Agent → check_invoice_status(invoice_id: "inv_xyz789")
     ← { status: "paid" }

Agent: "Payment confirmed! ⚡"

Use Cases

  • SaaS billing — Sell API access, subscriptions, or per-task services in the conversation
  • Agent-to-agent commerce — Autonomous agents paying each other with instant settlement
  • Micropayments — Pay-per-query, pay-per-generation — amounts too small for credit cards
  • Invoice automation — Generate and send Lightning invoices based on usage or milestones

Resources

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Security

Bank of Bots

Trust scoring for AI agents. Log transactions and submit payment proofs to build a verifiable BOB Score — a trust score (think FICO but for AI Agents) that o...

Registry SourceRecently Updated
09
Profile unavailable
Automation

Settld MCP Payments

Connect OpenClaw agents to Settld MCP for paid tool calls with quote-bound authorization and verifiable receipts.

Registry SourceRecently Updated
0411
Profile unavailable
Automation

Ghost Protocol OpenClaw Pay

Discover Ghost payment requirements, execute GhostGate Express payments, and run GhostWire quote/create/status flows with execution controls.

Registry SourceRecently Updated
037
Profile unavailable