← 返回
数据分析 Key 中文

SatsRail MCP — Bitcoin Lightning Payments for AI Agents

Enable AI agents to create Bitcoin Lightning payment orders, generate invoices, check payment status, and manage payments via natural language with SatsRail...
使AI代理能够使用SatsRail通过自然语言创建比特币闪电支付订单、生成发票、检查支付状态并管理支付。
rubytuess
数据分析 clawhub v1.0.0 1 版本 99866.3 Key: 需要
★ 0
Stars
📥 747
下载
💾 16
安装
1
版本
#bitcoin#latest#lightning#mcp#payments#satsrail

概述

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

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 07:30 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

Stock Analysis

udiedrichsen
{"answer":"基于雅虎财经数据,分析股票与加密货币。支持投资组合管理、自选股预警、股息分析、8维评分、热门趋势扫描及传闻/早期信号探测。适用于股票分析、持仓追踪、财报异动、加密监控、热门股追踪或提前发掘非主流传闻。"}
★ 270 📥 57,000
data-analysis

Excel / XLSX

ivangdavila
创建、检查和编辑 Microsoft Excel 工作簿及 XLSX 文件,支持可靠的公式、日期、类型、格式、重算及模板保留功能。
★ 368 📥 140,621
data-analysis

Data Analysis

ivangdavila
{"answer":"数据分析与可视化。查询数据库、生成报告、自动化电子表格,将原始数据转化为清晰可行的见解。适用于:(1) 您……"}
★ 199 📥 65,177