HTTP 402 AI Tollbooth

io.github.RobotFleet-HQ由 GitHub 帳號 RobotFleet-HQ 發布v1.0.0更新於 Oct 24, 2026

Free MCP troubleshooting-preview tools; purchases stay human-directed.

已驗證Streamable HTTP可網頁執行金融開發者工具資料與分析

概覽

AI 產生的概覽

一個遠端 MCP 伺服器,讓助理瀏覽開發者排錯資料集目錄、免費預覽三筆記錄,並取得閃電網路付款指引。

可以做什麼
列出產品目錄,包含分類、方案層級、價格、項目數與端點路徑,並列出已啟用的付款管道及其公開合約。在購買前為某項產品免費預覽恰好三筆範例記錄。回傳某項產品的購買指引與 HTTP 402 閃電網路付款挑戰,但不代為付款或完成交易。
適用情境
適合助理需要結構化的開發者排錯資料(例如錯誤碼與修正方式),且希望先免費試用、再決定是否依資料集以比特幣閃電網路付費的情況。
執行需求
需要遠端 Streamable HTTP 端點;不需帳號、API 金鑰、信用卡或訂閱。購買完整資料集需要比特幣閃電網路錢包,並在重試時提供付款雜湊與付款原像標頭。
安裝前請注意
完整資料集需支付 sats(各層級 2,000 至 10,000),付款由人決定;購買工具只回傳指引,絕不代為付款。付款原像屬於機密,兌換前不應分享。請求付費端點會產生發票,但本身不會花費資金。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 HTTP 402 AI Tollbooth,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.RobotFleet-HQ%2Fhttp-402-ai-tollbooth/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "http-402-ai-tollbooth": {
      "type": "http",
      "url": "https://http-402-ai-tollbooth.rsaun-lightning.workers.dev/mcp"
    }
  }
}

README

HTTP 402 AI Tollbooth

Agent-ready developer troubleshooting data, sold per request over Bitcoin Lightning.

Live: https://http-402-ai-tollbooth.rsaun-lightning.workers.dev

HTTP 402 AI Tollbooth gives developers and AI agents three useful records free, then unlocks complete structured datasets with a BOLT11 Lightning payment. There are no accounts, subscriptions, credit cards, or API keys.

This is a public, documentation and example repository. The production Worker implementation remains private and is not included here.

Try it now

List the complete catalog:

bash
curl -sS https://http-402-ai-tollbooth.rsaun-lightning.workers.dev/api/catalog

Preview exactly three records without payment:

bash
curl -sS https://http-402-ai-tollbooth.rsaun-lightning.workers.dev/api/preview/api-error-fixes

Request the full product and receive an HTTP 402 Lightning challenge:

bash
curl -i https://http-402-ai-tollbooth.rsaun-lightning.workers.dev/api/data/api-error-fixes

The last command creates an invoice. Do not run it unless you intentionally want a payment challenge; simply requesting it does not spend sats.

Why agents use it

  • 203 products across DevOps, APIs, ML/AI, Web/Frontend, and Databases
  • Entry, Standard, and Premium datasets with 50, 100, or 200 records
  • Exactly three free records per product for try-before-you-buy discovery
  • Stable error_code, description, and programmatic_fix fields
  • HTTP 402 and Bitcoin Lightning payments without user accounts
  • OpenAPI 3.1, MCP discovery metadata, and llms.txt
  • Deterministic fallback generation for resilient dataset delivery
  • Durable one-time redemption and replay protection
  • Future x402 settlement is documented but remains disabled pending verification

Architecture

text
AI agent / developer        |        | HTTPS: catalog, preview, paid dataset        vCloudflare Worker   |         |                    |   |         |                    +--> Alby --> Bitcoin Lightning invoice   |         |   |         +--> Durable Objects --> atomic redemption + counters   |   +--> Workers KV --> invoice challenges + generated dataset cache

Pricing

TierPriceRecords
Entry2,000 sats50
Standard5,000 sats100
Premium10,000 sats200

See the pricing rationale, including the live-verified 2,000-sat receiving floor.

How to pay

  1. Request a paid product endpoint.
  2. Receive 402 Payment Required with a BOLT11 invoice and payment hash.
  3. Pay the invoice in a Lightning wallet.
  4. Retry the same endpoint with X-Payment-Hash and X-Payment-Preimage.
  5. Receive the full dataset once; replayed proofs are rejected.

Never publish or share a payment preimage before using it for its intended redemption. Future Solana USDC/x402 support is disabled until its manual verification process is completed.

Discovery documents

Integrations

  • MCP metadata: tool descriptions for catalog, preview, and purchase discovery
  • MCP transport: a live Streamable HTTP JSON-RPC endpoint at /mcp with four read-only tools
  • OpenAPI: complete HTTP endpoint descriptions for agent frameworks
  • LLMs.txt: concise machine-readable project and payment guidance

Connect an MCP client to https://http-402-ai-tollbooth.rsaun-lightning.workers.dev/mcp. The server supports list_products, preview_product, list_payment_methods, and buy_product. The last tool only returns payment directions and an HTTP 402 challenge; it never pays an invoice or creates a purchase on the caller's behalf.

For a complete no-payment example, see the Node agent recovery sample.

Runnable free sample

The sample shows how an agent can inspect malformed JSON, retry a transient 429 once after Retry-After, and safely stop when a response is not recoverable. It uses Node 22+ built-ins only:

bash
cd examples/node-agent-recoverynpm testnpm start

The demo calls only the public three-record preview endpoint. It does not call a paid route, create an invoice, or automatically replay a payment proof.

License

The documentation in this billboard repository is available under the MIT License. The private production source code is not covered by this repository or license.

來源:README.md,提交 32e2fa8

工具

4

list_products

List all products, categories, tiers, prices, item counts, and endpoint paths.

無需輸入參數。

preview_product

Get exactly three free sample records before purchase.

輸入參數product必填

list_payment_methods

List the currently enabled payment rails and their public machine-readable contracts.

無需輸入參數。

buy_product

Return purchase directions for a product without initiating or paying a transaction.

輸入參數product必填

版本歷史

1
  1. v1.0.0最新Sep 16, 2026

評分

已滿足適用檢查項的 100%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分