X402 Cloudflare Starter

io.github.ANAMIZEDPublished by GitHub account ANAMIZEDv0.1.0Updated Nov 10, 2026

USDC micropayments on Base + Solana via x402. BYO wallets. Cloudflare Workers. No Coinbase.

The publisher's own server: Cloudflare

Overview

AI-generated overview

An x402 checkout starter that lets an assistant pay USDC on Base or Solana for priced SKU endpoints and receive receipts.

What you can do
  • Pay for priced SKU endpoints over x402 with USDC on Base (default) or Solana, receiving a receipt only
  • Read the free surfaces: health, demo, SKU catalog and receipt ledger
  • Run the bundled MCP server entry alongside the Cloudflare Worker API
  • Settle to receive addresses you supply yourself, without a Coinbase account
When to use it
Useful when you want an agent to buy priced API calls with USDC through x402 and keep a receipt trail, or when you are building a Cloudflare-hosted paid endpoint and want a working starter.
Requirements
Runs locally over stdio and is desktop-only. The Worker needs Node.js with npm and Wrangler, plus the BASE_ADDRESS and SOLANA_ADDRESS secrets set before deployment. Wallets are bring-your-own; no Coinbase account is required.
Before you install
Paid endpoints spend real USDC from your own wallet, with SKUs priced from $0.40 to $4.00. Receive addresses are published in the README, so verify them before sending funds. Paid handlers return a receipt only and do not unlock other products; trading receipts are not live execution.

Installation

In SourceWeft

  1. Open X402 Cloudflare Starter in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

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

bash
npm installnpx wrangler secret put BASE_ADDRESSnpx wrangler secret put SOLANA_ADDRESSnpx wrangler deploy

License

MIT

Source: README.md at commit 984466a

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v0.1.0LatestSep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

Other Cloudflare integrations