/agent-tollbooth-402:scan-routes
Scans Workers, Hono, Next.js, Express, and MCP endpoints to pinpoint billable routes and propose per-call USD prices.
Add pay-per-call HTTP 402 billing to any Cloudflare Worker, Hono route, Next.js App Router handler, or MCP server. Accept open x402 V2 USDC payments straight to your own wallet at 0% fee, or prepaid Stripe-funded Fiat Agent Wallets verified in under 1ms at the edge.
$ /plugin marketplace add Red-Center-Studio/agent-tollbooth-402 $ /plugin install agent-tollbooth-402@agent-tollbooth-402 [PASS] 3 skills (/agent-tollbooth-402:scan-routes, /agent-tollbooth-402:install-tollbooth, /agent-tollbooth-402:test-agent) [PASS] Remote MCP ready: https://tollbooth.redcenterstudio.com/mcp
Install the plugin once to scan your routes, inject zero-dependency HTTP 402 protection, and test replay guards locally before a dollar moves.
/agent-tollbooth-402:scan-routesScans Workers, Hono, Next.js, Express, and MCP endpoints to pinpoint billable routes and propose per-call USD prices.
/agent-tollbooth-402:install-tollboothInjects @redcenterstudio/agent-tollbooth-edge with dual-rail x402 V2 + Fiat Wallet verification and CORS headers.
/agent-tollbooth-402:test-agentRuns an instant local 402 challenge, sandbox receipt signing, 200 OK retry, HTML card check, and nonce replay rejection test.
Point payTo at your own Base wallet for 0% fee, or use Red Center Studio's Stripe-backed Fiat Agent Wallet clearinghouse.
| Tier | Covers | Fee / Developer Net | Price |
|---|---|---|---|
| Free / BYO Crypto x402 | Open x402 V2 (eip155:8453 Base USDC) to your own payTo wallet, unlimited local skills & sandbox |
0% fee (100% net) | $0 USD |
| Hybrid Clearinghouse | Stripe-funded Fiat Agent Wallets with <1ms rcs_receipt_... edge verification and D1 nonce guard |
7% fee (93% net) | $0/mo + 7% fee |
| Tollbooth Pro Pass | Lowers clearinghouse fee, unlocks upto per-token metering, custom 402 HTML pages, and spend caps |
3% fee (97% net) | $39 USD once |
| Agency Pass | Multi-project license with 3% clearinghouse fee across client Workers, Hono apps, and MCP servers | 3% fee (97% net) | $79 USD once |
| Done for you | Custom MCP + HTTP 402 integration, D1 ledger deployment, and handover by Red Center Studio | Fixed quote | From $399 USD |
Point payTo at your own Base USDC wallet with any x402 V2 facilitator.
Hosted Stripe checkout and prepaid Fiat Agent Wallets with <1ms edge verification.
Cuts hosted clearinghouse fee from 7% to 3% (97% net) permanently.
upto token meteringCustom MCP and HTTP 402 Worker endpoints deployed in your Cloudflare account.
Copy one command below to add the plugin, connect the Streamable HTTP MCP server, or install the zero-dependency middleware package.
/plugin marketplace add Red-Center-Studio/agent-tollbooth-402
/plugin install agent-tollbooth-402@agent-tollbooth-402
https://tollbooth.redcenterstudio.com/mcp
npm install github:Red-Center-Studio/agent-tollbooth-402
| Surface | Name / Route | Purpose |
|---|---|---|
| MCP Tool | tollbooth_pricing_quote |
Estimate net earnings across Free (0%), Hybrid (7%), and Pro/Agency (3%) tiers. |
| MCP Tool | tollbooth_wallet_balance |
Check remaining Fiat Agent Wallet credit balance in USD and integer micro-dollars. |
| MCP Tool | tollbooth_issue_receipt |
Issue a short-lived signed rcs_receipt_... bearer token for agent requests. |
| MCP Tool | tollbooth_verify_x402 |
Inspect or verify an x402 V2 PAYMENT-SIGNATURE header payload. |
| MCP Tool | tollbooth_create_topup_checkout |
Create a Stripe Checkout / Payment Link URL for Wallet Top-Ups or Pro/Agency Passes. |
| HTTP Edge | GET /health & GET /demo/402 |
Clearinghouse health probe and dual content-negotiated HTML/JSON 402 demo endpoint. |
Yes. Set your own payTo wallet address on Base (eip155:8453) in the middleware config to collect 100% of USDC agent payments directly (0% Red Center fee).
Edge verification validates an HMAC-SHA256 or Ed25519 receipt locally using Web Crypto in under 1ms without waiting for an external checkout round-trip.
Yes. Pass mode: "sandbox" or run /agent-tollbooth-402:test-agent to test 402 headers, signed receipts, browser checkout cards, and nonce replay blocking offline.