Menu

Explorer & Settings

Tempo Explorer Submit Project
💰 MCP Server Monetization

Monetize Your MCP Server
Accept AI Agent Payments

Your MCP tools have real value. Start charging AI agents per-call, per-session, or per-result — in seconds, no billing infrastructure required.

Browse MCP Projects → Compare Payment Options
10 min
Integration time
$0.001
Min charge amount
~2s
Settlement speed
344+
MCP projects tracked

Why Charge for MCP TOols?

MCP (Model Context Protocol) lets AI assistants like Claude, GPT-4, and custom agents call your tools in real-time. Your server handles compute, storage, API costs — but you're giving it away for free.

With x402 protocol, you wrap each tool call with an HTTP 402 payment gate. The agent pays $0.001–$1 per call via USDC on Base — automatically, no human approval needed.

No Stripe account. No KYC. No invoices. Just a wallet address and a few lines of middleware.

How It Works

1
Agent calls your MCP tool endpoint
Normal HTTP request — no change to client code required.
2
Server returns HTTP 402 with payment details
Includes amount, currency (USDC), network (Base), and your wallet address.
3
Agent's x402 client processes the payment
Sub-second USDC transfer on Base L2. ~$0.001 gas fee.
4
Agent retries with payment receipt header
Your middleware verifies the on-chain proof.
5
Tool executes, revenue lands in your wallet
No intermediary, no 30-day payout cycle — instant settlement.

Quick Start (Node.js)

import { x402Middleware } from 'x402-express';

app.use('/tools/search', x402Middleware({
  amount: '0.01',        // $0.01 USDC per call
  currency: 'USDC',
  network: 'base',
  payTo: process.env.WALLET_ADDRESS,
}));

app.post('/tools/search', (req, res) => {
  // Your tool logic here — payment already verified
  res.json({ results: search(req.body.query) });
});

Pricing Model Options

🔂
Per-Call
Charge a fixed amount for each tool invocation. Best for compute-heavy tools.
📦
Per-Session
One payment unlocks a session token valid for N calls. Best for REPL tools.
📊
Per-Result
Charge based on output size or quality score. Best for search/data tools.
🔑
Subscription Key
Agent pays monthly; middleware validates a signed JWT. Best for high-volume.

Find the Right x402 Library

mpp.best tracks 344+ MCP and LLM payment projects — find server middleware, client SDKs, and full payment stacks for every language.

Browse MCP Projects Compare Payment Options