Monetize any MCP server: x402 paywall, pay-per-call billing in USDC on Base, agent marketplace.
MCPpedia last refreshed this data
io.github.geoacpfilho/paygate-monetize-monetization-x402 is an MCP server that monetize any MCP server: x402 paywall, pay-per-call billing in USDC on Base, agent marketplace. Its tool list has not been published yet over http, requires no API key, and scores 68/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"io-github-geoacpfilho-paygate-monetize-monetization-x402": {
"args": [
"-y",
"wrangler"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Monetization gateway for Model Context Protocol servers. Put any MCP server behind a pay-per-call toll that AI agents can settle autonomously — no signup, no API keys, no human in the loop.
Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
npx -y 'wrangler' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
Checked wrangler against OSV.dev.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in finance / ecommerce
Девять российских маркетплейсов и китайский Taobao как MCP-серверы: Wildberries, Ozon, Яндекс Маркет, Детский мир, Авито, Мегамаркет, Lamoda, DNS, Ситилинк. Плюс сравнение цен по всем сразу. Только чтение, ключи не нужны.
Real-time financial market data: stocks, forex, crypto, commodities, and economic indicators
HoneyBook client-portal MCP server for Claude — view contracts and invoices from wedding vendors
Self-custody Ethereum agent wallet (MCP/stdio). Keys stay in a local Docker volume.
MCP Security Weekly
Get CVE alerts and security updates for io.github.geoacpfilho/paygate-monetize-monetization-x402 and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
Monetization gateway for Model Context Protocol servers. Put any MCP server behind a pay-per-call toll that AI agents can settle autonomously — no signup, no API keys, no human in the loop.
Live endpoint: https://paygate-mcp.rendercriativo.workers.dev/mcp
An agent calls a tool. If the tool is monetized, PayGate answers with an x402 v2 payment challenge instead of the result. The agent signs a USDC transfer authorization, retries, and gets its answer. Settlement happens on Base; the developer never touches payment code.
agent ──tools/call──▶ PayGate ──▶ 402 challenge (price, asset, payTo)
agent ──signed payload──▶ PayGate ──verify──▶ facilitator
PayGate ──▶ developer's MCP server ──▶ result
PayGate ──settle──▶ facilitator ──▶ USDC on Base
agent ◀── result + settlement receipt
Payment is verified before the tool runs and settled after it returns. If the tool fails or returns an error, nothing is charged.
Discovery is free. Ask PayGate what is for sale:
curl -X POST https://paygate-mcp.rendercriativo.workers.dev/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call",
"params":{"name":"list_registered_servers","arguments":{}}}'
Calling a monetized tool without payment returns a spec-compliant challenge — a tool result with isError: true whose structuredContent holds the PaymentRequired object:
{
"x402Version": 2,
"error": "Payment required: calculate_fator_r custa $0.02 USDC.",
"resource": { "url": "mcp://tool/calculate_fator_r", "mimeType": "application/json" },
"accepts": [{
"scheme": "exact",
"network": "eip155:8453",
"amount": "20000", // 6-decimal USDC units
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"payTo": "0x82e3...999e",
"maxTimeoutSeconds": 120,
"extra": { "name": "USD Coin", "version": "2" } // EIP-712 domain
}]
}
Sign an EIP-3009 TransferWithAuthorization using exactly the domain in extra, then retry the call with the payment attached under params._meta["x402/payment"]. The settlement receipt comes back in _meta["x402/payment-response"].
The USDC EIP-712 domain name is
"USD Coin"on Base mainnet and"USDC"on Base Sepolia. Using the wrong one makes every signature fail verification.
A working reference client is in scripts/pay-test.mjs:
PRIVATE_KEY=0x... node scripts/pay-test.mjs
The paying wallet needs USDC on Base — but no ETH: gas is covered by the facilitator.
Both x402 transports are supported. HTTP clients can use the base64 PAYMENT-REQUIRED / PAYMENT-SIGNATURE / PAYMENT-RESPONSE headers instead of the MCP _meta binding.
The whole seller lifecycle is exposed as MCP tools, so an agent can run it end to end — tell your assistant to monetize your server and it can do everything below on its own:
| Tool | What it does |
|---|---|
register_server | Lists your server. Its tools are imported automatically; you get a proxy URL and a secret api_key. |
verify_ownership | Serve the token from registration at /.well-known/paygate-verify on your domain and call this to earn a verified badge. Buyers can filter for verified sellers. |
set_tool_price | Reprice a tool or take it off the market. |
get_earnings / get_my_listing | Revenue report and current listing. |
Buyers pay your wallet directly on-chain. PayGate never holds your funds — there is no payout to wait for, no balance to withdraw, and no commission on direc