Prototyp · Vorschau: alle Server aus der offiziellen Registry, alle 30 Minuten synchronisiert. Bewertungen und Benutzerkonten folgen in einem späteren Schritt.
PopNx MCPMCP-Server für alle, die KI nutzen · in einfachen Worten erklärt

x402 Facilitator Proxy

von seob5285-altVersion 1.0.1i★ –iLäuft auf deinem Computer
Name in der Registryio.github.seob5285-alt/x402-facilitator-proxy

Installieren

Überblick

Beschreibung vom Entwickler (englisches Original)

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

Die drei Säulen von PopNx MCP

Diese drei werden nie zu einer Punktzahl zusammengefasst: Meinungen, Messungen und Beliebtheit sind verschiedene Dinge.

Was du damit machen kannst

Für diesen Server haben wir noch keine Zusammenfassung in einfacher Sprache geschrieben. Unten stehen die Fakten, die wir aus der Registry gelesen haben.

  • Verbindung: Läuft auf deinem Computer
  • Transport: stdio
  • Kategorie: Entwicklertools

Installation

Wähle die KI-App, die du nutzt, und kopiere die Einstellungen.

Bevor du installierst

  • Basischecks: 1 von 1 bestanden
  • Läuft auf deinem Computer mit den Rechten deines Benutzerkontos (Dateien, Netzwerk, Apps).
  • Die Registry nennt keinen Schlüssel zum Eintragen.

Du brauchst

  • npmNode.js installiert (für den Befehl npx)

Welche App nutzt du?

Wähle oben deine App. Wir merken sie uns, damit der Button beim nächsten Mal „In … installieren“ anzeigt.

Öffne Claude Desktop → Settings → Developer → Edit Config und füge dies in claude_desktop_config.json ein

{
  "mcpServers": {
    "x402-facilitator-proxy": {
      "command": "npx",
      "args": [
        "-y",
        "x402-facilitator-proxy"
      ]
    }
  }
}

Führe das in deinem Terminal aus

claude mcp add x402-facilitator-proxy -- npx -y x402-facilitator-proxy

In Cursor öffnen

Oder kopier die Einstellungen selbst

In .cursor/mcp.json in deinem Projekt oder in ~/.cursor/mcp.json einfügen

{
  "mcpServers": {
    "x402-facilitator-proxy": {
      "command": "npx",
      "args": [
        "-y",
        "x402-facilitator-proxy"
      ]
    }
  }
}

Dein Browser fragt, ob er die App öffnen darf, dann zeigt die App die Einstellungen und bittet dich um Bestätigung. Schlüsselwerte bleiben leer, damit du sie selbst einträgst.

In VS Code öffnen

Oder kopier die Einstellungen selbst

In .vscode/mcp.json in deinem Projekt einfügen

{
  "servers": {
    "x402-facilitator-proxy": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "x402-facilitator-proxy"
      ]
    }
  }
}

Dein Browser fragt, ob er die App öffnen darf, dann zeigt die App die Einstellungen und bittet dich um Bestätigung. Schlüsselwerte bleiben leer, damit du sie selbst einträgst.

Dieser Server läuft auf deinem Computer, und ChatGPT kann sich nur mit Servern im Internet verbinden. Wähle eine andere App.

Deine Auswahl bleibt in einem Cookie auf diesem Gerät; kein Konto nötig.

Diese Einstellungen werden aus dem Registry-Eintrag des Entwicklers erzeugt. Wenn in der README etwas anderes steht, folge der README.

Was er kann

Läuft auf deinem Computer; die Tool-Liste erscheint nach der Installation in deiner KI-App.

Basischecksi

Wir prüfen Informationen, die jeder sehen kann; den Code haben wir nicht gelesen. Checks, die nicht zutreffen, werden nicht mitgezählt. · Geprüft am 8. Nov. 2026

  • ✓ Bestanden

    Entwickler passt zum Repo

    Der Registry-Name wurde mit dem GitHub-Konto seob5285-alt bestätigt, dem das Repo gehört

  • … Noch nicht geprüft

    Wird noch gepflegt

    Dieses Repo haben wir noch nicht von GitHub gelesen

  • … Noch nicht geprüft

    Hat eine Lizenz

    Dieses Repo haben wir noch nicht von GitHub gelesen

  • – Nicht zutreffend

    Endpunkt antwortet

    Dieser Server läuft auf deinem Computer; es gibt keinen Endpunkt im Internet

  • – Nicht zutreffend

    Anmeldung mit OAuth

    Läuft auf deinem Computer und nutzt stattdessen lokale Einstellungen

  • … Noch nicht geprüft

    Keine versteckten Anweisungen in Tool-Beschreibungen

    Läuft auf deinem Computer; Tool-Listen können wir nur von Endpunkten im Internet lesen

Im Vergleich mit anderen in Entwicklertoolsi

  • Mehr Sterne als 0 % der anderen 4919 Server in dieser Kategorie
  • Neuer in der Registry veröffentlicht als 25 % der anderen 4919 Server in dieser Kategorie
  • Basischecks gleich gut wie oder besser als bei 100 % der anderen 4919 Server in dieser Kategorie

Verglichen mit allen aktiven Servern dieser Kategorie in der Registry. Sterne zählen nur, wenn dem Herausgeber das Repo gehört.

Häufige Fragen

Ist x402 Facilitator Proxy sicher?

Er hat 1 von 1 zutreffenden Basischecks bestanden. Den Code haben wir nicht gelesen. Bevor du einen Schlüssel oder Token hinzufügst, sieh nach, welche Zugriffe der Server verlangt, und nutze einen Schlüssel, der nur die Berechtigungen hat, die du brauchst.

Welche Schlüssel oder Codes braucht er?

Die Registry nennt keinen erforderlichen Schlüssel, manche Server bitten dich aber bei der ersten Nutzung, dich anzumelden.

Läuft er auf meinem Computer oder in der Cloud?

Er läuft auf deinem Computer. Deine KI-App startet ihn bei Bedarf, und die Daten laufen nicht über die Server des Entwicklers (außer der Server ruft selbst einen Onlinedienst auf).

Wird er noch gepflegt?

Das GitHub-Repo wurde zuletzt – geändert, und die neueste Version (1.0.1) kam vor 4 Monaten in die Registry.

Welche Apps können ihn nutzen?

Apps, die MCP unterstützen, etwa Claude Desktop, Claude Code, Cursor und VS Code. Außerdem brauchst du Node.js auf deinem Computer.

Was kann ich stattdessen nutzen?

In derselben Kategorie: GitHub, Desktop Commander, Cloudflare MCP

Alternativen

Server derselben Kategorie von anderen Entwicklern, sortiert nach Sternen.

So liest du eine Karte:★ GitHub-SterneiDrei Säulen: Bewertungen · Checks · NutzungiAktualisiert = neueste Version in der Registry veröffentlichti

GitHub

von github

Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.

Computer oder Cloud★ 34.245MITAktualisiert vor 4 Tagen
Installieren

Desktop Commander

von wonderwhy-er

MCP server for terminal commands, file operations, and process management

Läuft auf deinem Computer★ 10.225MITAktualisiert vor 17 Tagen
Installieren

Cloudflare MCP

von cloudflare

Cloudflare MCP servers

Läuft in der Cloud★ 4.446Apache-2.0Aktualisiert vor 14 Monaten
Installieren

README vom Entwickler

README öffnen

Unverändert aus dem Repo des Entwicklers übernommen. PopNx MCP hat den Inhalt weder geprüft noch empfiehlt es ihn. HTML, Bilder und Skripte wurden entfernt. Links führen von dieser Website weg.

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

agent = X402PaymentAgent() result = agent.process_payment({ "agent_private_key": os.getenv("AGENT_PRIVATE_KEY"), "developer_wallet": "0x742d35Cc6297C24aE0E4838C4667C02693C4cB36", "amount_usd": "0.10" })

🔧 Quick Start

1. Deploy the Proxy Engine
npm install

npm run deploy

2. Setup the MCP Server
cd x402-client-sdk

npm install npm run mcp:start

3. Integrate Merchant Middleware
# Copy the Express middleware to your project

cp templates/express-middleware/x402-guard.js your-project/middleware/

Install in your Express app

import { x402TollboothGuard } from './middleware/x402-guard.js'; app.use('/api/protected', x402TollboothGuard("0.05", "0xYourWallet"));

4. Setup Agent Templates
# For TypeScript/LangChain agents

cd templates/langchain-ts npm install npm run dev

For Python/CrewAI agents

cd templates/crewai-python pip install -r requirements.txt python agent.py

🔐 Security & Environment Variables

Critical Security Guidelines

⚠️ NEVER HARDCODE PRIVATE KEYS IN REPOSITORY FILES

All sensitive credentials must be managed through secure environment variables:

Cloudflare Worker Environment (Production)
# Set via Cloudflare Workers dashboard or wrangler

wrangler secret put FACILITATOR_PRIVATE_KEY wrangler secret put PLATFORM_VAULT_ADDRESS

Local Development Environment

Create .env files for local testing:

# .env (root directory - for Cloudflare Worker development)

FACILITATOR_PRIVATE_KEY=0x1234567890abcdef... PLATFORM_VAULT_ADDRESS=0x2E3DADfb314718849A93c49A78618E586c3b2C60

Agent execution environments

AGENT_PRIVATE_KEY=0xabcdef1234567890... OPENAI_API_KEY=sk-...

Agent Runtime Security
  • TypeScript Agents: Use process.env.AGENT_PRIVATE_KEY
  • Python Agents: Use os.getenv("AGENT_PRIVATE_KEY")
  • MCP Server: Loads keys from system environment at runtime

🌐 Platform Reference

Core Infrastructure
  • Verification Gateway: https://x402-facilitator-proxy.seob5285.workers.dev/api/v1/verify-and-settle
  • Platform Vault: 0x2E3DADfb314718849A93c49A78618E586c3b2C60
  • Network: Base L2 (Chain ID: 8453)
  • Payment Token: USDC (0x833589fCD6eDb6E08f4c7C32d4f71b54bda02913)
Fee Structure
  • Merchant Revenue: 99% of payment amount
  • Platform Fee: 1% automatically routed to platform vault
  • Gas Optimization: Batched transfers for cost efficiency

📖 Integration Patterns

HTTP 402 Payment Flow
  1. API Request: Client attempts to access protected endpoint
  2. Payment Challenge: Server responds with HTTP 402 and payment instructions
  3. Agent Processing: Autonomous agent detects 402, executes USDC payment split
  4. Verification: Proxy gateway validates on-chain transaction
  5. Access Granted: Original API request succeeds with payment headers
Agent Integration Workflow
graph TD

A[Agent API Call] --> B{HTTP 402?} B -->|Yes| C[Parse Payment Requirements] C --> D[Execute USDC Split Transfer] D --> E[Submit to Proxy Gateway] E --> F[Retry Original Request] F --> G[Access Granted] B -->|No| G

🛠️ Development Commands

# Core proxy development

npm run dev # Start local development server npm run deploy # Deploy to Cloudflare Workers npm run cf-typegen # Generate Cloudflare types

SDK development

cd x402-client-sdk npm run build # Build TypeScript SDK npm run mcp:start # Start MCP server

Template testing

cd templates/langchain-ts npm run dev # Test TypeScript agent

cd templates/crewai-python python agent.py # Test Python agent

Automated fee collection

npm run sweep # Execute fee sweeping automation

📚 Documentation

  • [Client Integration Guide](CLIENT_INTEGRATION.md): Detailed integration instructions
  • [LangChain Template README](templates/langchain-ts/README.md): TypeScript agent setup
  • [API Reference](src/index.ts): Core gateway endpoints and responses

🤝 Contributing

  1. Fork the repository
  2. Create feature branches for new integrations
  3. Test against Base L2 testnet before mainnet deployment
  4. Submit pull requests with comprehensive test coverage

📄 License

This project is licensed under the MIT License - enabling open-source innovation while maintaining platform sustainability through programmatic fee routing.


Built for the autonomous economy. Powered by Base L2. Secured by multi-tenant verification.

PopNx fragen