Red Center Studio
Shop  /  Claude Code & Antigravity Plugin

Charge AI agents per call with HTTP 402 and x402.

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.

Free tier
$0 USD · 0% fee (x402)
Edge check
< 1 ms Web Crypto
Rails
Base USDC + Fiat Wallet
tollbooth.redcenterstudio.com — Setup & 402 Flow
Step 1 · Claude Code & Antigravity
$ /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
Add the plugin in one command or connect the remote MCP server directly.
Interactive walkthrough: install the plugin, wrap a route, issue HTTP 402 challenges, and settle in under 1ms.
Start free

Three built-in plugin skills and a local sandbox.

Install the plugin once to scan your routes, inject zero-dependency HTTP 402 protection, and test replay guards locally before a dollar moves.

Free skill

/agent-tollbooth-402:scan-routes

Scans Workers, Hono, Next.js, Express, and MCP endpoints to pinpoint billable routes and propose per-call USD prices.

Free skill

/agent-tollbooth-402:install-tollbooth

Injects @redcenterstudio/agent-tollbooth-edge with dual-rail x402 V2 + Fiat Wallet verification and CORS headers.

Free skill

/agent-tollbooth-402:test-agent

Runs an instant local 402 challenge, sandbox receipt signing, 200 OK retry, HTML card check, and nonce replay rejection test.

Prices and clearinghouse tiers

Free for self-hosted crypto. 7% or 3% for hosted fiat clearing.

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
Tier 1 · Self-serve crypto

Free / BYO Crypto x402

$0 · 0% fee

Point payTo at your own Base USDC wallet with any x402 V2 facilitator.

  • 100% net to your wallet
  • Unlimited skills & sandbox
  • Zero platform account needed
Tier 2 · Stripe fiat rail

Hybrid Clearinghouse

$0/mo + 7% fee

Hosted Stripe checkout and prepaid Fiat Agent Wallets with <1ms edge verification.

  • 93% net developer payout
  • Sub-millisecond Web Crypto
  • D1 atomic nonce replay guard
Tier 3 · Reduced fee Most popular

Tollbooth Pro & Agency

$39 / $79 once

Cuts hosted clearinghouse fee from 7% to 3% (97% net) permanently.

  • 3% fee (97% developer net)
  • Dynamic upto token metering
  • Per-agent spend caps & custom HTML
Tier 4 · Concierge

Done-For-You Setup

From $399

Custom MCP and HTTP 402 Worker endpoints deployed in your Cloudflare account.

  • Per-bot AI crawler policy
  • Live Worker + D1 handover
  • Source code in your repo
Connect it

Install in Claude Code, Antigravity, or your Worker in 30 seconds.

Copy one command below to add the plugin, connect the Streamable HTTP MCP server, or install the zero-dependency middleware package.

Claude Code Marketplace

Plugin bundle + skills

/plugin marketplace add Red-Center-Studio/agent-tollbooth-402
/plugin install agent-tollbooth-402@agent-tollbooth-402
Remote Streamable MCP

Antigravity & Claude connector

https://tollbooth.redcenterstudio.com/mcp
Edge Middleware

Workers / Hono / Next.js

npm install github:Red-Center-Studio/agent-tollbooth-402
Interactive live probe

Test the live HTTP 402 challenge header and clearinghouse health.

Open Browser 402 Card Click to fetch /demo/402 (JSON) and /health on tollbooth.redcenterstudio.com.
Reference

Clearinghouse endpoints and remote MCP tools.

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.

Frequently asked questions

Can I use x402 V2 without paying any platform fee?

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).

How fast is the Fiat Agent Wallet receipt check?

Edge verification validates an HMAC-SHA256 or Ed25519 receipt locally using Web Crypto in under 1ms without waiting for an external checkout round-trip.

Can I test locally without a Stripe key or crypto wallet?

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.