# X402 Cloudflare Starter

> X402 Cloudflare Starter is an open-source MCP server for cloud and infrastructure. Starter kit for accepting x402 USDC payments on Base and Solana from Cloudflare Workers. It is available on API, CLI and self-hosted.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** API, CLI, self-hosted
- **Repository:** https://github.com/anamized/x402-cloudflare-starter
- **MCP Registry name:** io.github.ANAMIZED/x402-cloudflare-starter
- **Categories:** [cloud and infrastructure](https://ai-powered.com/categories/cloud-and-infrastructure), [finance and payments](https://ai-powered.com/categories/finance-and-payments)
- **Listing updated:** 2026-11-18

## About

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.

## Features

- **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

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

## Alternatives

- [x402 Ethereum RPC](https://ai-powered.com/mcp/x402-ethereum-rpc): x402 Ethereum RPC is a paid MCP server for finance and payments.
- [Neuronto Payments: x402 facilitator and API gateway](https://ai-powered.com/mcp/neuronto-payments-x402-facilitator-and-api-gateway): Neuronto Payments: x402 facilitator and API gateway is a free MCP server for finance and payments.
- [x402 agent toolkit: service finder, payment safety, Solana & web tools](https://ai-powered.com/mcp/x402-agent-toolkit-service-finder-payment-safety-solana-and): x402 agent toolkit: service finder, payment safety, Solana & web tools is a freemium MCP server for finance and payments.
- [MCP Server](https://ai-powered.com/mcp/mcp-server-mwenkb1l): MCP Server is a paid MCP server for finance and payments.
- [Run402](https://ai-powered.com/mcp/run402): Run402 is a freemium MCP server for design and media.
- [x402 Research](https://ai-powered.com/mcp/x402-research): x402 Research is a paid MCP server for finance and payments.
- [x402 Micropayments MCP](https://ai-powered.com/mcp/x402-micropayments-mcp): x402 Micropayments MCP is a paid MCP server for finance and payments.
- [Apex Edge](https://ai-powered.com/mcp/apex-edge-2): Apex Edge is a freemium MCP server for finance and payments.

---
Source: https://ai-powered.com/mcp/x402-cloudflare-starter
