X402 Cloudflare Starter
Starter kit for accepting x402 USDC payments on Base and Solana from Cloudflare Workers
- Pricing
- Open source
- Platforms
- API, CLI, self-hosted
- Version
- 0.1.0
- Listing updated
- today
Similar MCP servers
About X402 Cloudflare Starter
X402 Cloudflare Starter is an open-source MCP server for cloud and infrastructure. It is available on API, CLI and self-hosted.
The README says the project is a Cloudflare Workers starter that lets a developer accept USDC payments over the x402 protocol, with settlement on Base by default and Solana as an optional parallel network. Wallets are supplied by the operator rather than through a Coinbase account.
The repository ships an API worker, a demo route, a receipt ledger endpoint and a SKU catalog that pairs each paid endpoint with a human-facing Stripe payment link. Paid handlers return a receipt; the README states that fulfillment is left to the host application and that trading receipts are not live execution.
It suits developers who want agents to pay per request for small API calls and are comfortable deploying to Cloudflare with their own wallet addresses configured as secrets.
What it does
- Base USDC settlement
- Defaults to settling USDC payments on Base, with a documented receive address.
- Optional Solana rail
- Can run a parallel Solana payment path alongside Base.
- Bring-your-own wallets
- Wallet addresses are set as Wrangler secrets instead of using a hosted payment account.
- Receipt ledger endpoint
- Exposes a route listing issued payment receipts.
- SKU catalog routes
- Publishes a catalog endpoint and pairs each paid route with a Stripe link for human buyers.
- MCP server included
- Ships an MCP server file alongside the Worker API.
Good for
- Charging AI agents small USDC fees per API call
- Adding crypto micropayments to a Cloudflare Workers API
- Offering a parallel card and stablecoin checkout for the same products
- Prototyping x402 payment flows before production
Pricing
Open source
Free MIT-licensed repository; you run it on your own Cloudflare account.
More servers for the same service
X402 Cloudflare Starter FAQ
Does it require a Coinbase account?
The README says no; wallets are supplied by the operator and no Coinbase account is required.
Which networks does it settle on?
Base is the default settlement network using USDC; Solana is an optional parallel network.
How is it deployed?
The Quick Start installs dependencies, sets the Base and Solana address secrets with Wrangler, and runs wrangler deploy.
What is the license?
The repository is licensed under MIT.
Is X402 Cloudflare Starter free?
Yes. X402 Cloudflare Starter is open source, so you can use and self-host it for free.
What are the best alternatives to X402 Cloudflare Starter?
The closest alternatives to X402 Cloudflare Starter are x402 Ethereum RPC, Neuronto Payments: x402 facilitator and API gateway, x402 agent toolkit: service finder, payment safety, Solana & web tools, MCP Server and Run402.
Where this comes from
- Description: written from the project's README and its MCP Registry entry.