# Neuronto Payments: x402 facilitator and API gateway

This server enables micro-payments in USDC using the x402 protocol without managing private keys. It lets agents and backend routes handle paid HTTP requests directly.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI
- Author: neuronto
- License: Apache-2.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/neuronto/x402-starters
- Updated: 2026-09-16
- HTML: https://affpapa.org/en/nevibecode/mcp/neuronto-payments-x402-facilitator-and-api-gateway

## What it does

This tool links your development agent to the x402 payment facilitator, reviving the HTTP `402 Payment Required` status code. When an unpaid request arrives, the backend sends back machine-readable settlement terms. The caller signs a stablecoin transfer, and an off-chain facilitator verifies the payload before settling it on Base mainnet (`eip155:8453`).

Receiving funds requires no custom smart contracts or on-chain logic. You only provide an address via `MERCHANT`. The default facilitator at `https://pay.neuronto.com` handles transaction verification. To dry-run an agent without spending money, developers can ping `https://pay.neuronto.com/echo`, which returns the tiny $0.001 fee immediately.

Your backend stays isolated from raw keys because settlement happens externally. However, paying clients must store an active private key in the environment to sign transactions. A live list at `/supported` helps verify available networks before charging consumers.

## Requirements
- Remote server: `https://pay.neuronto.com/mcp`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http x402-payments-facilitator https://pay.neuronto.com/mcp
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add neuronto-payments-x402-facilitator-and-api-gateway --url https://pay.neuronto.com/mcp
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "neuronto-payments-x402-facilitator-and-api-gateway": {
            "url": "https://pay.neuronto.com/mcp"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "neuronto-payments-x402-facilitator-and-api-gateway": {
            "type": "http",
            "url": "https://pay.neuronto.com/mcp"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http neuronto-payments-x402-facilitator-and-api-gateway https://pay.neuronto.com/mcp
```

## When to use it
- guard API endpoints using HTTP 402 status codes
- collect USDC payments directly into a Base wallet
- send automated micropayments from scripts and agents
- test billing logic without cost via the `/echo` route

## Example prompts
- Connect to the x402 facilitator at https://pay.neuronto.com/mcp and inspect supported networks
- Configure a paid GET /premium route settled in USDC via Neuronto
- Send a test transaction to https://pay.neuronto.com/echo to verify payment logic

## Similar
- [MCP Toolbox for Databases](https://affpapa.org/en/nevibecode/mcp/googleapis-mcp-toolbox-for-databases.md) — MCP server · ★ 16730
- [PostHog MCP Server](https://affpapa.org/en/nevibecode/mcp/posthog-mcp-server.md) — MCP server · ★ 40459
- [OpenWork MCP Gateway](https://affpapa.org/en/nevibecode/mcp/openwork-mcp-gateway.md) — MCP server · ★ 24271
- [Keploy](https://affpapa.org/en/nevibecode/mcp/keploy.md) — MCP server · ★ 18779
- [Nhost](https://affpapa.org/en/nevibecode/mcp/nhost.md) — MCP server · ★ 9369
- [basebalance.cloud — x402 RPC & MCP gateway](https://affpapa.org/en/nevibecode/mcp/basebalancecloud-x402-rpc-mcp-gateway.md) — MCP server · ★ 7548

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
