Agentโ™ฅ๏ธŽAge
Catalog

Paid MCP Metering

Official

by dev55acc-ai ยท TypeScript

Metered MCP tools: free discovery over MCP; per-call execution settled in USDC via x402 v2.

This MCP server provides metered access to MCP tools. Discovery is free via Model Context Protocol (JSON-RPC 2.0) endpoints, while tool execution is priced per call and settled in USDC through an x402 v2 paywall and facilitator flow.

๐Ÿ› ๏ธ Key Features

  • Free MCP discovery using POST /mcp with JSON-RPC 2.0 methods: initialize, tools/list, ping
  • Per-call metering for execution via POST /v1/t/{tool}
  • Unpaid requests return HTTP 402 with payment requirements
  • Paid requests include PAYMENT-SIGNATURE header; USDC is settled before the tool runs

๐Ÿš€ Use Cases

  • Tool discovery for developers without immediate payment
  • Controlled, metered execution of MCP tools where per-call billing is required

โšก Developer Benefits

  • Separation of free discovery (/mcp) from metered execution (/v1/t/{tool})
  • Clear payment gating behavior using HTTP 402 and PAYMENT-SIGNATURE

โš ๏ธ Limitations

  • Execution requires payment and is subject to x402 v2 and USDC settlement

Related servers

More in Cloud & DevOps