x402 Kit: agents pay your API

x402 Kit: agents pay your API

Leader ●13 ●71
calendar_today • schedule1 min read

npm create @scriptmasterlabs/x402 my-api — one command builds a paid MCP server, a paywall in front of an API you already run, or a paid file store, on Express, Hono, Next.js, Cloudflare Workers or FastAPI. AI agents pay per call in USDC on Base via x402: your server answers HTTP 402 with a price, the agent signs, settlement lands straight in your wallet. No API keys, no accounts, no invoices; failed calls are never charged. Ships an AGENTS.md so Claude Code or Cursor can install it, a receipts page and a live paid-calls badge. Settles through OMNIGATE by default (Script Master Labs' facilitator): the 0.005 USDC fee is an optional leg — standard payments settle with the fee waived inside a published daily budget. Tested with the stock x402 client on every stack, plus a real $0.01 USDC settlement on Base through a kit-built app (both wallets ours — it proves the kit works end to end). Free, MIT. npm: @scriptmasterlabs/create-x402 · GitLab: gitlab.com/script-master-labs-llc-group/x402-kit · GitHub: github.com/Timwal78/x402-kit · Tutorial on the starter page linked above.

Want more #mcp & #ai-agents deep dives?

Join 6,122+ developers sharing real benchmarks, code breakdowns, and projects. Free forever.

More Posts

AAIF Hits 10 Projects. Its CTO on What to Adopt Now and the Security Gaps Left Open

Tom Smithverified - Oct 23

The Sovereign Vault — A Comprehensive Guide to Protocol-Driven AI

Ken W. Algerverified - Jun 4

Stop Turning Every REST Endpoint into an MCP Tool: A Better Approach to AI Tool Design

zeekwrites - Nov 30

SML x402 Directory

ScriptMasterLabs - Nov 2

CData's New AI Gateway Puts Context at the Center — Fixes the Three Reasons Enterprise AI Stalls

Tom Smithverified - Sep 28
chevron_left
2.8k Points • 84 Badges
45Posts
6Comments
10Connections
Service-disabled veteran. Founder of ScriptMasterLabs — building payment rails for the agent economy... Show more

Related Jobs

Commenters (This Week)

6 comments
1 comment
1 comment

Contribute meaningful comments to climb the leaderboard and earn badges!