eg
IO

io.github.sapph1re/mcp-billing-gateway

repo →

Billing proxy that adds Stripe and x402 crypto payments to MCP servers without writing billing code.

· API key· source

Sits in front of an MCP server and handles payment enforcement before requests reach the underlying tools. Developers shipping commerce-adjacent MCP services — product search, catalog enrichment, AI agent actions — use it to charge per-call or per-subscription without building billing logic themselves. It handles both Stripe for fiat subscriptions and x402 for onchain stablecoin settlement, which matters for agent-to-agent payments where card flows break down.

> what it does

  • Wraps existing MCP servers with a paywall proxy layer
  • Supports Stripe subscriptions and x402 stablecoin micropayments side-by-side
  • Meters tool calls per-user without modifying server code
  • Routes paid requests downstream; blocks or charges unpaid ones
  • Ships as an SDK for self-hosted gateway deployment

> touches

> also under

> alternatives to io.github.sapph1re/mcp-billing-gateway

by surface + editorial

> io.github.sapph1re/mcp-billing-gateway pairs well with