MCP.Market

x402 Facilitator Proxy MCP server

by seob5285-alt·io.github.seob5285-alt/x402-facilitator-proxy·v1.0.1

Multi-tenant HTTP 402 infrastructure gateway and stdio MCP server for machine payments.

A85/100grade A
What users say
No reviews yet
Be the first
Safety scan
A85/100

full report

Adoption
New

0 stars55 downloads/wk

Reviews

Write one

Nobody has reviewed x402 Facilitator Proxy yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

x402 Facilitator Proxy tools (1, 1 write)

write = sends, deletes, buys or posts

Read from the package source without running it. The installed server may list more.

  • route_x402_paymentwrite action

    Executes an automatic 1% split utility payment on Base L2 and settles access verification via the X402 Cloudflare proxy.

Public scan report

scanner v0.1.9 · 2026-09-25 · same rubric, same numbers if you re-run it

no findings
  • Code scan19 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitylocal package, no credentials required12/15
  • Maintenancelast push 68 days ago12/15
  • Maintainer identityregistry namespace matches repository owner6/10
Overall 85/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How x402 Facilitator Proxy compares

Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
85/100
higher than 70% of 48,255 servers
Tools
1
the typical server has 7
Tools that change things
100%
typical: 0%. Fewer write tools means less an agent can break
Downloads a week
55
more than 46% of 12,191 servers with a package

What its tools let an agent do: 1 change

Install x402 Facilitator Proxy in Claude Code, Cursor or VS Code

Runs npx -y x402-facilitator-proxy on your machine. Read the scan report first; the gateway never runs local packages.

claude mcp add x402-facilitator-proxy -- npx -y x402-facilitator-proxy
Add to Cursor

What the publisher says

From the x402 Facilitator Proxy repository's README, as published. We do not edit it. Read it on GitHub

X402 Facilitator Proxy - Multi-Tenant Payment Gateway

A decentralized, autonomous payment infrastructure for API monetization on Base L2 with programmatic fee routing and agent-compatible settlement protocols.

🏗️ Architecture Overview

The X402 Facilitator Proxy implements a complete multi-tenant payment gateway that enables merchants to monetize APIs through HTTP 402 "Payment Required" responses, while autonomous agents can seamlessly settle transactions using USDC on Base L2.

x402-facilitator-proxy/
├── src/                                    # Core Cloudflare Worker Engine
│   ├── index.ts                           # Main proxy gateway endpoint
│   └── backend/automation/
│       └── sweeper.ts                     # Automated fee collection
├── x402-client-sdk/                       # Core Interface Rails
│   ├── src/
│   │   ├── client-library.ts             # TypeScript SDK
│   │   └── mcp-server.ts                 # Model Context Protocol Server
│   ├── package.json                      # SDK dependencies
│   └── tsconfig.json                     # TypeScript configuration
└── templates/                             # Integration Templates
    ├── express-middleware/
    │   └── x402-guard.js                 # Merchant-Side API Gating
    ├── langchain-ts/
    │   ├── agent.ts                      # TypeScript Agent Template
    │   ├── package.json                  # LangChain dependencies
    │   └── README.md                     # Setup instructions
    └── crewai-python/
        └── agent.py                      # Python Agent Template

🚀 Core Components

1. Cloudflare Worker Proxy Engine

The core backend (src/index.ts) operates as a serverless payment verification gateway deployed on Cloudflare's edge network:

  • Endpoint: https://x402-facilitator-proxy.seob5285.workers.dev/api/v1/verify-and-settle
  • Platform Vault: 0x2E3DADfb314718849A93c49A78618E586c3b2C60
  • Fee Structure: Automated 1% platform fee routing

Key Features:

  • Multi-tenant transaction verification
  • Base L2 USDC settlement validation
  • Automated fee splitting (99% to merchant, 1% to platform)
  • Edge-deployed for global low-latency access

2. Model Context Protocol (MCP) Server

The MCP server (x402-client-sdk/src/mcp-server.ts) provides a standardized interface for AI agents to interact with the payment system:

# Start the MCP server locally via stdio
npm run mcp:start

Protocol Features:

  • Standard I/O communication interface
  • Agent-compatible payment tool registration
  • Automatic transaction handling and verification
  • Cross-platform AI framework compatibility

3. Merchant-Side API Gating

The Express middleware (templates/express-middleware/x402-guard.js) enables merchants to protect APIs with HTTP 402 challenges:

import { x402TollboothGuard } from './templates/express-middleware/x402-guard.js';

app.use('/api/premium', x402TollboothGuard("0.10", "0xYourWalletAddress"));

Middleware Behavior:

  1. Challenge: Returns HTTP 402 with payment instructions when headers are missing
  2. Verification: Validates payment through the proxy gateway
  3. Access: Grants API access upon successful payment verification

4. Autonomous Agent Templates

TypeScript/LangChain Agent (templates/langchain-ts/agent.ts)

import { createPaymentAgent } from './templates/langchain-ts/agent.js';

const agent = await createPaymentAgent();
const result = await agent.invoke({
  input: JSON.stringify({
    agentPrivateKey: process.env.AGENT_PRIVATE_KEY,
    developerWallet: "0x742d35Cc6297C24aE0E4838C4667C02693C4cB36",
    amountUSD: "0.10"
  })
});

Python/CrewAI Agent (templates/crewai-python/agent.py)

from templates.crewai_python.agent import X402PaymentAgent

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

x402 Facilitator Proxy: common questions

Is x402 Facilitator Proxy MCP server safe?
Yes, by our scan: it is graded A (85/100). Read the x402 Facilitator Proxy safety report
How do I install x402 Facilitator Proxy?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does x402 Facilitator Proxy need an API key?
Not as far as the registry entry and our scan can tell: no credentials are declared or required.
Is x402 Facilitator Proxy maintained?
The last commit was 108 days ago (2026-07-19). The latest release is v1.0.1.
How does x402 Facilitator Proxy compare with other MCP servers?
safety score 85/100 (higher than 70% of 48,255 servers); tools 1 (the typical server has 7); tools that change things 100% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.

More from seob5285-alt →