There are over 11,000 MCP servers in public directories. Exactly zero of them generate revenue for their creators. The x402 protocol โ now an open standard under the Linux Foundation with backing from Visa, Stripe, Google, and AWS โ makes it trivial to add per-call micropayments to any HTTP endpoint. Here's how to do it in 5 minutes and list it on minia2a.uk for agent discovery.
You have an MCP server (or any API endpoint). You want to charge agents per call โ fractions of a cent, settled instantly in USDC on Base. No signups, no API key management, no monthly billing. Just: agent calls โ agent pays โ you get USDC.
The flow:
If you're running an Express/Node server:
// x402 middleware โ add to your Express app
const X402_PRICE_USDC = 0.01; // 1 cent per call
const X402_RECEIVER = '0xYOUR_WALLET'; // your Base wallet
app.use((req, res, next) => {
// Check for x402 payment header
const payment = req.headers['x-402-payment'];
if (!payment || !verifyPayment(payment, X402_PRICE_USDC, X402_RECEIVER)) {
res.status(402).set({
'X-402-Protocol': '1.0',
'X-402-Price': X402_PRICE_USDC.toString(),
'X-402-Asset': 'USDC',
'X-402-Chain': 'base',
'X-402-Receiver': X402_RECEIVER,
'Content-Type': 'application/json'
}).json({
error: 'Payment Required',
price: X402_PRICE_USDC,
asset: 'USDC',
chain: 'base',
receiver: X402_RECEIVER,
message: `Pay ${X402_PRICE_USDC} USDC to use this endpoint`
});
return;
}
next();
});
For Python/FastAPI:
# x402 middleware for FastAPI
from fastapi import Request, HTTPException
from fastapi.responses import JSONResponse
X402_PRICE = 0.01
X402_RECEIVER = "0xYOUR_WALLET"
@app.middleware("http")
async def x402_middleware(request: Request, call_next):
payment = request.headers.get("x-402-payment")
if not payment or not verify_payment(payment, X402_PRICE, X402_RECEIVER):
return JSONResponse(
status_code=402,
content={"error": "Payment Required", "price": X402_PRICE, "asset": "USDC", "chain": "base", "receiver": X402_RECEIVER},
headers={"X-402-Protocol": "1.0", "X-402-Price": str(X402_PRICE), "X-402-Chain": "base", "X-402-Receiver": X402_RECEIVER}
)
return await call_next(request)
Create a /.well-known/x402 endpoint so crawlers and agent directories can discover your paid service:
// Add to your server
app.get('/.well-known/x402', (req, res) => {
res.json({
protocol: 'x402',
version: 2,
name: 'Your MCP Server Name',
description: 'What your service does',
payment: {
network: 'eip155:8453', // Base
asset: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913', // USDC on Base
receiver: '0xYOUR_WALLET',
price: 0.01
},
endpoints: {
catalog: '/tools',
docs: '/docs'
}
});
});
Once your x402 endpoint is live, register it on minia2a.uk โ the marketplace where AI agents discover paid services:
curl -X POST https://minia2a.uk/api/v1/register-simple \
-H "Content-Type: application/json" \
-d '{
"name": "my-mcp-server",
"endpoint": "https://my-server.com/tools",
"description": "What my MCP server does",
"priceCents": 1
}'
Your service immediately appears in the agent-queryable catalog at /x402/preview. Agents can discover it, test it with free credits, and start paying per call.
| Traditional SaaS | x402 + minia2a |
|---|---|
| $99/mo subscription, regardless of usage | $0.001โ$0.05 per call, pay only for what you use |
| API key provisioning, rate limiting, billing system | Payment is the authentication โ no API keys needed |
| 30-day net payment, invoices, collections | Instant USDC settlement on Base (~$0.001 gas) |
| Human signs up with email + credit card | Agent wallet signs a transaction โ fully autonomous |
| Vendor lock-in to Stripe/Paddle | Open protocol under Linux Foundation governance |
| Marketplace discovery: SEO + ads + luck | Agents query minia2a.uk programmatically to find services |
On July 14, 2026, the x402 Foundation launched under the Linux Foundation with 40 members including Visa, Mastercard, Stripe, Google, AWS, Shopify, Coinbase, and Circle. The protocol has processed 109+ million transactions. It's the emerging standard for machine-to-machine payments.
With the Foundation providing neutral governance, x402 is no longer "Coinbase's experiment" โ it's the industry-wide standard for agentic commerce. If you build an x402-compatible service today, you're building on infrastructure that the entire payments industry is converging on.
The most popular paid services on minia2a.uk right now (by trial usage):
| Service | Trials | Price |
|---|---|---|
| Multi-Chain Gas Price | 321 | $0.005 |
| CAPTCHA Solver | 305 | $0.001 |
| Web Scraper | 185 | $0.005 |
| Token Security Audit | 76 | $0.02 |
| Time Utilities | 52 | $0.001 |
Add x402 to your endpoint, register on minia2a.uk, and let AI agents pay you per call. 500 free credits included to test the flow.
Register Your Service โNo API keys. No signup fees. Just USDC micropayments on Base.
Tags: x402, MCP, monetization, micropayments, USDC, Base, agent economy
Published: August 1, 2026 ยท minia2a.uk/blog/monetize-mcp-x402