‹ The Index

X402 Middleware

npm

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

Works with: Claude Code, Cursor, Claude Desktop, Codex CLI, Gemini CLI, Cline, Windsurf, VS Code

Category: Finance & Crypto — see all ranked ›

Install (Claude Code):

claude mcp add 402--iddleware -- npx -y @gadgethumans/x402

Security audit

scanned 2026-07-30

Every finding is shown in full. Nothing on this page is behind a licence — there is no advisory to name and no install script to read.

No known advisoriesclearchecked against OSV for 4.2.0
No permission surface detecteddeclares no dependency that reaches files, shell or network
No build provenanceno attestation — the published artifact cannot be traced to its source

npm ↗  ·  source ↗  ·  pkg:@gadgethumans/x402

Already running this? npx tashan-cli doctor checks your whole config against the Index — how it works ›