mcpField
X
x402-cloudflare-starter

x402-cloudflare-starter

Local
github.comFinance1Updated 9w ago

About x402-cloudflare-starter

x402-cloudflare-starter is a Cloudflare Workers checkout server for agent-facing USDC payments on Base, with Solana as an option. It suits operators who want to accept payments using their own wallets; paid endpoints return receipts rather than unlocking a product.

Key features

  1. 01USDC payments via x402
  2. 02Base settlement with optional Solana
  3. 03Worker API and demo endpoint
  4. 04SKU catalog and receipt ledger
  5. 05Paid handlers return receipts

Use cases

  1. 01Accept agent payments for listed SKUs
  2. 02Inspect receipts and available SKUs
  3. 03Deploy a checkout endpoint with own wallets

MCP support

It includes an MCP server at `mcp/server.ts`; the README does not describe its tools or exposed capabilities.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

x402 Cloudflare Starter

The simplest way to accept USDC payments on Base + Solana using x402. Bring your own wallets. No Coinbase account required.

This repo is the agent checkout rail for ANAMIZED first-dollar SKUs. Humans use Stripe Payment Links. Agents use x402. Same prices. Host owns fulfillment.

Base is the default settlement network (eip155:8453, USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913). Solana is an optional parallel.

Surfaces

SurfaceEntry
API (Worker)src/index.ts
60s demoGET /demo
Receipt ledgerGET /v1/receipts
SKU catalogsrc/catalog.ts + GET /v1/catalog
MCP Servermcp/server.ts
Application packdocs/APPLICATION_PACK.md

Agent checkout (hybrid)

Free: GET / · GET /health · GET /demo · GET /v1/catalog · GET /v1/receipts

SKUx402Stripe (human)
Agentic OS Cycle $0.75GET /v1/cycleStripe
OpenGOS Search $0.40GET /v1/searchStripe
OpenGOS Draft $2.50GET /v1/draftStripe
Trading Decision Cycle $4.00GET /v1/tradingStripe

Paid handlers return a receipt only. They do not unlock Desk Studio. Trading receipts are not live execution.

Documented receive addresses:

NetworkAddress
Base / Ethereum0xD3d0E9eDAe3Ac7bb199a8EAA761BdA423b878438
SolanaETQwWf19axArsY493UfC6bxe2BmEzmzvCb58PPnC38A

Quick Start

npm install
npx wrangler secret put BASE_ADDRESS
npx wrangler secret put SOLANA_ADDRESS
npx wrangler deploy

License

MIT

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.