原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。使用 Google 登录即可撰写评价。原型 · 每 30 分钟更新
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Agent Tollbooth 402

作者:Red-Center-Studio版本 1.0.0i★ 1i在云端运行官方网站 ↗
注册名称io.github.Red-Center-Studio/agent-tollbooth-402

安装方法

What it does

HTTP 402 & x402 V2 billing, pricing quotes, signed receipts, and Stripe top-ups for APIs & MCP.

  • Connects 在云端运行
  • Account or key No key needed
  • Category 网店与支付

为什么排在这里

列表按使用分(满分 100)排序,由以下部分组成

热度4/80GitHub 星标或每周下载量:较大的计 60,较小的计 20
新鲜度12/1230 天内有发布或代码更新得满分
仍在响应8/8上次检查时云端端点有响应
使用分24/100

质量: 基础检查通过 5/5 项(仅展示,不用于排序) · 上升势头: 暂无数据 (只用于“上升中”标签)

安装

选择你使用的 AI 应用,然后复制设置。

用一句话让 AI 帮你安装

请帮我安装 Agent Tollbooth 402。按照 https://mcp.popnx.com/i/red-center-studio-agent-tollbooth-402.md 操作,先把命令给我看,等我同意后再运行。

粘贴到能在你电脑上工作的 AI(如 Claude Code、Cursor)。它会读取我们的步骤,先给你看命令,等你同意。无需密钥,无需注册。 · 查看 AI 会读取的全文

通过 5/5 项检查 · 你的提问会经过开发者的服务器(tollbooth.redcenterstudio.com) · ✓ 命令已检查 2026年11月18日

第一步:你用哪个 AI?

选择你用的应用,步骤会显示在下方。

可连接 Claude · 约 2 分钟

不需要密钥,不用安装程序 · 在 claude.ai 或桌面应用设置一次,即可在聊天中使用 · 免费账户可添加 1 个 · Team/Enterprise 方案由所有者(Owner)添加

  1. 打开 Claude 的 Connectors 页面

    CustomizeConnectors

    CustomizeConnectors1Add2https://…3Add4
  2. 点击“Add” → “Custom” → “Web”,填写这 2 项

    把这里的内容复制到 Claude 中同名的输入框,然后点击 Continue

    Name · 名称Agent Tollbooth 402
    Remote MCP server URL · 地址https://tollbooth.redcenterstudio.com/mcp

    在 Claude 检测到的登录设置页点击 Continue · Authentication 按作者说明选择(Sign in now、Sign in when needed 或 No sign in),然后点击 Add

  3. 在聊天中开启

    +ConnectorsAgent Tollbooth 402

  4. 试一试

    用 Agent Tollbooth 402 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude 说正在使用 Agent Tollbooth 402,或回答中出现 Agent Tollbooth 402 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

能否连接 ChatGPT 取决于方案

完整 MCP:网页版 ChatGPT Business、Enterprise 或 Edu · Pro:以读取/获取权限连接,修改数据的工具可能用不了 · Plus:官方文档尚未确认,如果在插件页看到添加自定义 MCP 的选项可以试试 · 仅限网页

  1. 在网页版 ChatGPT 打开添加 MCP 的页面

    Plugins+Add custom MCP server

    ChatGPTPlugins1+2https://…3Create4
  2. 填写名称和地址

    输入名称,在 Connection 下粘贴地址,勾选风险提示,然后点击 Create as a plugin

    Name · 名称Agent Tollbooth 402
    Connection · 地址https://tollbooth.redcenterstudio.com/mcp
  3. 在聊天中选择 Agent Tollbooth 402

    开启新聊天,输入前先从插件列表中选择 Agent Tollbooth 402

  4. 试一试

    用 Agent Tollbooth 402 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 ChatGPT 说正在使用 Agent Tollbooth 402,或回答中出现 Agent Tollbooth 402 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 OpenAI 帮助页面核实 · 你的界面可能因版本略有不同

可连接 Claude Code · 约 2 分钟

不需要密钥,不用安装程序

  1. 打开终端

    Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell

  2. 粘贴这条命令并按 Enter

    claude mcp add --transport http --scope user agent-tollbooth-402 https://tollbooth.redcenterstudio.com/mcp
  3. 在 Claude Code 中输入 /mcp

    应能看到 Agent Tollbooth 402 在列表中并显示已连接

  4. 试一试

    用 Agent Tollbooth 402 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude Code 说正在使用 Agent Tollbooth 402,或回答中出现 Agent Tollbooth 402 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

可连接 Cursor · 约 2 分钟

不需要密钥,不用安装程序

  1. 点击这个按钮打开 Cursor

    在 Cursor 中打开

    Cursor 会请你确认安装,点击 Install

  2. 在 Cursor 中以 Agent 模式打开 AI 聊天

  3. 试一试

    用 Agent Tollbooth 402 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Cursor 说正在使用 Agent Tollbooth 402,或回答中出现 Agent Tollbooth 402 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同

可连接 VS Code · 约 2 分钟

不需要密钥,不用安装程序

  1. 点击这个按钮打开 VS Code

    在 VS Code 中打开

    VS Code 会请你确认安装,点击 Install

  2. 在 VS Code 中以 Agent 模式打开 AI 聊天

  3. 试一试

    用 Agent Tollbooth 402 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 VS Code 说正在使用 Agent Tollbooth 402,或回答中出现 Agent Tollbooth 402 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同

其他支持 MCP 的应用(如 Windsurf、Zed、Gemini CLI)添加方式各不相同,请在应用列表中查看

查看所有支持 MCP 的应用 →

通过网页连接的应用使用的地址

地址https://tollbooth.redcenterstudio.com/mcp

JSON 设置在下方“开发者专用”中

卡住了?问问正在用 Agent Tollbooth 402 的人💬 讨论 →
开发者专用:终端命令和 JSON 设置

通过网页连接

Claude Code

claude mcp add --transport http --scope user agent-tollbooth-402 https://tollbooth.redcenterstudio.com/mcp

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "agent-tollbooth-402": {
      "url": "https://tollbooth.redcenterstudio.com/mcp"
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "agent-tollbooth-402": {
      "type": "http",
      "url": "https://tollbooth.redcenterstudio.com/mcp"
    }
  }
}

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

一览

每周下载量i
不在 npm/PyPI 上
连接方式
在云端运行
传输方式
streamable-http
最新版本i
1.0.0
发布到注册中心i
2026年11月18日
代码最后更新i
2026年11月18日
最近检查
2026年11月18日
作者
Red-Center-Studio
注册状态
活跃

哪些应用可以使用它

依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。

通过互联网连接,适用于

ClaudeChatGPTGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast

全部应用及其优缺点 →

它能做什么

工具名称和描述与服务器在 2026年11月18日 报告的完全一致。这些内容由作者撰写,不是我们写的;我们以纯文本形式显示。

  • tollbooth_pricing_quote

    Compute clearinghouse fee and developer net payout across Free BYO x402 (0%), Hybrid (7%), and Tollbooth Pro/Agency (3%) tiers in integer USD microdollars.

  • tollbooth_wallet_balance

    Inspect an agent wallet credit balance, status, and remaining UTC daily spend cap. Read-only lookup.

  • tollbooth_issue_receipt

    Issue a short-lived Rail B rcs_receipt_hs256 bearer authorization token against an existing prepaid credit balance. Does not move bank or crypto funds.

  • tollbooth_verify_x402

    Verify an x402 V2 paymentPayload signature and expiry against paymentRequirements and replay records. Does not execute on-chain transfers.

  • tollbooth_create_topup_checkout

    Return a Stripe Checkout or sandbox link URL that a user can open in a browser to fund a wallet ($1+) or purchase a Pro ($39) / Agency ($79) Pass. Never charges automatically.

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月19日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 Red-Center-Studio 验证,该账户拥有此仓库

  • ✓ 通过

    仍在维护

    代码最后更新于昨天

  • ✓ 通过

    有许可证

    使用 MIT

  • ✓ 通过

    端点有响应

    在 57 毫秒内响应(HTTP 200)

  • – 不适用

    使用 OAuth 登录

    无需登录

  • ✓ 通过

    工具描述中没有隐藏指令

    已读取 5 个工具描述,未发现针对 AI 的隐藏指令

我们检查什么 → · JSON

作者:申请重新检查或报告信息错误
给作者:在 README 中加徽章

如果你是作者,可把这段代码贴到 README。徽章会链接回本页。

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/red-center-studio-agent-tollbooth-402.svg)](https://mcp.popnx.com/en/servers/red-center-studio-agent-tollbooth-402)

讨论

提问、分享技巧或报告无法使用。按“有帮助”数量排序。

还没有帖子,欢迎第一个提问或分享。

此处内容由用户撰写,不代表 PopNx 团队。

登录后发帖

用户评价

还没有评价

登录后写评价

与“网店与支付”中的其他服务器比较i

  • 星标数多于此分类中其他 2919 个服务器的 89%
  • 发布到注册中心的时间比此分类中其他 2919 个服务器的 91% 更新
  • 基础检查结果等于或优于此分类中其他 2919 个服务器的 99%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Agent Tollbooth 402 安全吗?

它在 5 项适用的基础检查中通过了 5 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在作者的云端运行。通过互联网连接,无需安装,但你发送的内容会经过作者的服务器。

它还在维护吗?

GitHub 仓库最后更新于昨天,最新版本(1.0.0)于昨天进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,因此也能用于接受远程 MCP 的应用,例如网页版 ChatGPT(Business 及以上为完整 MCP;Pro 为只读)。

有什么可以替代它?

同一分类中有:Stripe MCP, flightclaw, Trade It, Marketplace Ad Pros: Amazon Ads & Seller Central, idealo MCP Server

功能相近的其他选择

同一分类、其他作者、命令已通过检查。官方的排在前面,再按星标排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Stripe MCP

MCP server integrating with Stripe - tools for customers, products, payments, and more.

作者:stripe广泛使用★ 207213个月前更新

在云端运行✓ 服务方 · stripe.com

flightclaw

Search ~300 airlines and book flights with a checkout link. OAuth sign-in by email code.

作者:flightclaw正在增长★ 862个月前更新

在云端运行✓ 服务方 · flightclaw.com

Trade It

Connect brokerage accounts to AI assistants: holdings, orders, asset lookup, and approved trading.

作者:trade-it-inc起步阶段★ 6234天前更新

在云端运行✓ 服务方 · tradeit.app

idealo MCP Server

Search products, compare prices and discover deals across 6 European markets with your AI assistant.

作者:idealo起步阶段★ 286个月前更新

在云端运行✓ 服务方 · mcp.idealo.com
与相似项目对比
本项
Agent Tollbooth 402
Stripe MCPflightclawTrade ItMarketplace Ad Pros: Amazon Ads & Seller Centralidealo MCP Server
运行位置在云端运行,无需安装在云端运行,无需安装在云端运行,无需安装在云端运行,无需安装在云端运行,无需安装在云端运行,无需安装
需要密钥否否否否否否
可在 Claude 中按 + 添加否是否否否否
基础检查5/54/44/45/54/44/4
许可证MITMITMITCC0-1.0MITMIT
价格登记中未列出费用登记中未列出费用登记中未列出费用登记中未列出费用登记中未列出费用登记中未列出费用

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

Agent Tollbooth 402

Monetize APIs, Cloudflare Workers, Hono apps, Next.js routes, and MCP servers in under 60 seconds with dual-rail HTTP 402 payments.

Built by Red Center Studio for Google Antigravity and Claude Code.


3-Line Quickstart (30-Second Zero-Config Sandbox)

npm install

npm run validate npm run test:sandbox

Zero API keys, zero crypto wallets, and zero Stripe setup required to run your first 402 -> sign -> 200 OK loop locally.


5-Line withTollbooth Setup

Copy-paste into any Cloudflare Worker, Web Fetch handler, or Next.js route:

import { withTollbooth } from "@redcenterstudio/agent-tollbooth-edge";

export default withTollbooth({ priceUsd: 0.01, mode: "hybrid" }, async (request) => { return Response.json({ ok: true, path: new URL(request.url).pathname }); });

  • Local test without wallets or keys: change mode: "hybrid" to mode: "sandbox" and call createSandboxReceipt() or createSandboxX402Header().
  • Hono middleware: app.use("/api/*", honoTollbooth({ priceUsd: 0.01, mode: "hybrid" })).
  • Cloudflare D1 replay protection: pass nonceStore: new D1NonceStore(env.DB) inside withTollbooth((env) => ({ ... }), handler).

Live Clearinghouse & Screenshots

Live clearinghouse portal & MCP endpoint: https://tollbooth.redcenterstudio.com (/pay · /demo/402)

HTTP 402 Browser Checkout CardMobile Responsive Layout (390px)

Dual-Rail Architecture & Browser 402 Checkout Card

agent-tollbooth-402 supports both x402 V2 on-chain USDC authorizations and Red Center Fiat Agent Wallets verified in <1ms via Web Crypto (HMAC-SHA256 / Ed25519).

  • Programmatic AI Agents (`Accept: application/json`): Receive 402 Payment Required with Base64 PAYMENT-REQUIRED, WWW-Authenticate, CORS Access-Control-Expose-Headers, priceUsd, acceptedRails, code, and a plain-English fix_hint.
  • Human Browser Requests (`Accept: text/html`): Receive a responsive Red Center Studio 402 Checkout Card (#24181a Ironstone, #d9622b Red Ochre, #e3a23c Spinifex Gold, #f5efe6 Sand) displaying endpoint details, price, payment curl snippets, and a Fund Agent Wallet action link.
flowchart LR

Agent["AI Agent / Browser"] -->|1. Request API or /mcp| Edge["@redcenterstudio/agent-tollbooth-edge"] Edge -->|2. Unpaid -> 402 JSON or HTML Card| Agent Agent -->|3A. Rail A: PAYMENT-SIGNATURE x402 V2| Edge Agent -->|3B. Rail B: Bearer rcs_receipt_... <1ms Web Crypto| Edge Edge -->|4A. /verify & /settle| Facilitator["Clearinghouse Worker / Facilitator"] Edge -->|4B. HMAC-SHA256 / Ed25519 + D1 used_nonces| NonceDB[("Cloudflare D1")] Facilitator -->|Atomic Debit & Ledger| NonceDB Edge -->|5. 200 OK + PAYMENT-RESPONSE| Agent


Pricing & Revenue Split

TierPriceClearinghouse Fee (Developer Net)What You Get
Free / BYO x402 Mode`$0``0%` (100% net)Unlimited /agent-tollbooth-402:scan-routes, zero-dependency middleware injection, /agent-tollbooth-402:test-agent simulator, exact x402 V2 scheme with any facilitator.
Hybrid Fiat + x402 Clearinghouse`$0/mo``7%` (93% net)Enables Stripe-funded Fiat Agent Wallets (rcs_receipt_... <1ms edge verification) + automated Stripe Connect payouts via tollbooth.redcenterstudio.com.
Tollbooth Pro Pass`$39` one-time ($79 Agency)`3%` (97% net)Drops clearinghouse fee from 7% to 3%, unlocks upto dynamic per-token/per-KB metering, custom HTML 402 pages, and per-agent spend caps.
Done-For-You IntegrationFrom `$399`CustomEnd-to-end custom MCP + HTTP 402 Tollbooth wrapping, D1 ledger setup, and verification by Red Center Studio.

Plugin Installation (Antigravity + Claude Code)

Install in Claude Code:

/plugin install agent-tollbooth-402 --marketplace Red-Center-Studio/agent-tollbooth-402

Install in Antigravity (~/.gemini/config/plugins/):

git clone https://github.com/Red-Center-Studio/agent-tollbooth-402.git ~/.gemini/config/plugins/agent-tollbooth-402

Install the zero-dependency Edge Middleware in a Worker, Hono, or Next.js project:

npm install github:Red-Center-Studio/agent-tollbooth-402
  • Remote MCP Server (`mcp_config.json` & `.mcp.json`): Connects to https://tollbooth.redcenterstudio.com/mcp via Streamable HTTP (tollbooth_pricing_quote, tollbooth_wallet_balance, tollbooth_issue_receipt, tollbooth_verify_x402). See our Privacy Policy.
  • Skills (`skills/`):
  • scan-routes: Audits Cloudflare Workers, Hono, Next.js App Router, Express, and MCP endpoints.
  • install-tollbooth: Auto-detects framework, previews diff, and injects 1-step withTollbooth(...).
  • test-agent: Runs the 30-second zero-config sandbox 402 -> sign -> 200 OK smoke test.
  • Scoped Guardrails (`rules/http-402-guardrails.md`): Enforces bypass exemptions, constant-time Web Crypto checks, replay protection, downstream 5xx idempotency, integer microdollar math, and spend caps.

Troubleshooting FAQ

Error CodeMeaningFix (fix_hint)
`MISSING_PAYMENT`Request had neither PAYMENT-SIGNATURE nor Bearer rcs_receipt_....Attach an x402 V2 PAYMENT-SIGNATURE header, a Rail B receipt, or use createSandboxReceipt() in mode: "sandbox".
`INSUFFICIENT_FUNDS`Payment authorization or wallet balance is below priceMicros.Authorize at least priceMicros atomic units or top up the agent wallet balance.
`RECEIPT_EXPIRED`exp / iat / validBefore fell outside the +/-30s clock-skew window.Re-sign a fresh receipt or x402 authorization using synchronized UTC seconds.
`NONCE_REPLAYED`The receipt jti or x402 nonce was already consumed in used_nonces.Generate a new unique crypto.randomUUID() nonce/receipt for every new paid request.
`INVALID_SIGNATURE`Web Crypto HMAC/Ed25519 verification failed, or aud / payTo / network mismatched.Confirm RECEIPT_SIGNING_SECRET, ed25519PublicKey, payTo, and target URL match.
Browser CORS blocked reading headersBrowser client cannot read PAYMENT-REQUIRED or PAYMENT-RESPONSE.Middleware automatically sets Access-Control-Expose-Headers: PAYMENT-REQUIRED, PAYMENT-RESPONSE, X-Agent-Receipt, WWW-Authenticate, X-Tollbooth-Rail.

Reference Clearinghouse Note (`packages/clearinghouse-worker`): Includes placeholder D1 IDs (wrangler.jsonc) and .dev.vars.example placeholders. Supply your own D1 database and Wrangler secrets before deploying to your own Cloudflare account.


License

MIT — Red Center Studio (https://redcenterstudio.com)