Finance · Local MCP server

X402 Middleware

One-line x402 + Stripe payment middleware for MCP servers. The Stripe for the agent economy.

What the MCP Registry states

The entry as published to the official MCP Registry (read 2026-10-04), latest version.

Registry name
com.gadgethumans.swarm/x402-middleware
Version
3.0.1
Status
Active
Category
finance
Transport
stdio (local process)
Package
npm
Published
2026-07-02
Updated
2026-07-02
Publisher
com.gadgethumans.swarm
Listed under
Stripe MCP servers
Repository
github.com/scotia1973-bot/gadgethumans-x402
Source
Registry API entry

Packages

RegistryPackageVersionTransportEnvironment variables
npm@gadgethumans/x4023.0.1stdioNone declared

How to connect X402 Middleware

X402 Middleware runs locally from a Node.js package published to the npm registry: @gadgethumans/x402 version 3.0.1. It speaks MCP over stdio, so the client starts it as a program and talks to it through standard input and output. It needs Node.js; clients usually start it with npx — the usual command is npx -y @gadgethumans/x402@3.0.1.

In the mcpServers JSON format that many desktop and editor MCP clients read, the entry looks like this (placeholders in angle brackets):

{
  "mcpServers": {
    "x402-middleware": {
      "command": "npx",
      "args": [
        "-y",
        "@gadgethumans/x402@3.0.1"
      ]
    }
  }
}

Derived from the registry entry, not tested here. What the server does, and on what terms, is set by its publisher; check its repository or website before giving it access to your accounts or files. How to add an MCP server to an assistant · Before you connect

More finance servers

All 3,583 →
ServerRunsEndpoint or package
X402 MCP ServerMCP server for Hermes Asia x402 CN/JP market intelligence via USDC on Base. 8 endpoints.Local · stdionpm: hermes-asia-x402-mcp-server
x402 MCP StarterFree self-hosted x402 USDC billing for Cloudflare MCP servers, with a Base Sepolia test endpoint.Remote · HTTPx402-mcp-starter.kadopi.workers.dev
x402 Merchant CheckPre-payment merchant trust checks for x402 agents on Base and Solana.Remote · HTTPmcp.gradientdecisions.com
x402 Micro TollgateX402 HTTP 402 + MCP paywall: charge USDC per agent call. Self-host via npx or Docker.Local · stdionpm: x402-micro-tollgate
X402 Money FarmPay-per-call web extraction: clean text, metadata, links, JSON-LD, change detection. USDC on Base.Local · stdionpm: x402-money-farm-mcp
x402 Notary MCPCryptographic receipts for AI outputs on Base or Solana via x402.Local · stdionpm: @forgemeshlabs/x402-notary-mcp
X402 OsintPay-per-call OSINT for AI agents: username + email recon in USDC on Base via x402.Remote · SSEx402-osint.tail66f665.ts.net
x402 Pay — USDC API Payment HelperPay for APIs with USDC. Read-only x402 payment discovery, verification, evidence, and status.Remote · HTTPsqueezeos-api.onrender.com