L'Agora
MCPLocal

x402 Universal Payer

io.github.nirholas/x402-bridge

Pay any x402 endpoint on the open web: auto-paying bridge with Bazaar discovery and spend caps.

Repository
github.com/nirholas/three.ws
Website
three.ws/
Version
1.0.2
Author
nirholas (namespace verified by the registry)
Source
Official MCP registry (updated Aug 20, 2026)

How to install it

Variables to fill in: MCP_BRIDGE_EVM_PRIVATE_KEY, MCP_BRIDGE_SVM_PRIVATE_KEY, MCP_BRIDGE_MAX_PRICE_PER_CALL_ATOMIC, MCP_BRIDGE_MAX_TOTAL_ATOMIC, MCP_BRIDGE_ALLOWED_PAYTO, MCP_BRIDGE_ALLOWED_HOSTS, MCP_BRIDGE_ALLOW_HTTP, MCP_BRIDGE_DISCOVER_LIMIT, MCP_BRIDGE_BAZAAR_URL, MCP_BRIDGE_BATCH_DEPOSIT_MULTIPLIER, MCP_BRIDGE_MAX_DEPOSIT_ATOMIC, X402_MCP_BRIDGE_CHANNELS_DIR, RPC_URL_8453.

On your machine

Claude Code

The server runs on your machine (npm package). In a terminal:

claude mcp add x402-bridge -e MCP_BRIDGE_EVM_PRIVATE_KEY=YOUR_MCP_BRIDGE_EVM_PRIVATE_KEY -e MCP_BRIDGE_SVM_PRIVATE_KEY=YOUR_MCP_BRIDGE_SVM_PRIVATE_KEY -e MCP_BRIDGE_MAX_PRICE_PER_CALL_ATOMIC=YOUR_MCP_BRIDGE_MAX_PRICE_PER_CALL_ATOMIC -e MCP_BRIDGE_MAX_TOTAL_ATOMIC=YOUR_MCP_BRIDGE_MAX_TOTAL_ATOMIC -e MCP_BRIDGE_ALLOWED_PAYTO=YOUR_MCP_BRIDGE_ALLOWED_PAYTO -e MCP_BRIDGE_ALLOWED_HOSTS=YOUR_MCP_BRIDGE_ALLOWED_HOSTS -e MCP_BRIDGE_ALLOW_HTTP=YOUR_MCP_BRIDGE_ALLOW_HTTP -e MCP_BRIDGE_DISCOVER_LIMIT=YOUR_MCP_BRIDGE_DISCOVER_LIMIT -e MCP_BRIDGE_BAZAAR_URL=YOUR_MCP_BRIDGE_BAZAAR_URL -e MCP_BRIDGE_BATCH_DEPOSIT_MULTIPLIER=YOUR_MCP_BRIDGE_BATCH_DEPOSIT_MULTIPLIER -e MCP_BRIDGE_MAX_DEPOSIT_ATOMIC=YOUR_MCP_BRIDGE_MAX_DEPOSIT_ATOMIC -e X402_MCP_BRIDGE_CHANNELS_DIR=YOUR_X402_MCP_BRIDGE_CHANNELS_DIR -e RPC_URL_8453=YOUR_RPC_URL_8453 -- npx -y @three-ws/[email protected]
Claude Desktop claude_desktop_config.json

Settings, Developer, Edit config, then add:

{
  "mcpServers": {
    "x402-bridge": {
      "command": "npx",
      "args": [
        "-y",
        "@three-ws/[email protected]"
      ],
      "env": {
        "MCP_BRIDGE_EVM_PRIVATE_KEY": "YOUR_MCP_BRIDGE_EVM_PRIVATE_KEY",
        "MCP_BRIDGE_SVM_PRIVATE_KEY": "YOUR_MCP_BRIDGE_SVM_PRIVATE_KEY",
        "MCP_BRIDGE_MAX_PRICE_PER_CALL_ATOMIC": "YOUR_MCP_BRIDGE_MAX_PRICE_PER_CALL_ATOMIC",
        "MCP_BRIDGE_MAX_TOTAL_ATOMIC": "YOUR_MCP_BRIDGE_MAX_TOTAL_ATOMIC",
        "MCP_BRIDGE_ALLOWED_PAYTO": "YOUR_MCP_BRIDGE_ALLOWED_PAYTO",
        "MCP_BRIDGE_ALLOWED_HOSTS": "YOUR_MCP_BRIDGE_ALLOWED_HOSTS",
        "MCP_BRIDGE_ALLOW_HTTP": "YOUR_MCP_BRIDGE_ALLOW_HTTP",
        "MCP_BRIDGE_DISCOVER_LIMIT": "YOUR_MCP_BRIDGE_DISCOVER_LIMIT",
        "MCP_BRIDGE_BAZAAR_URL": "YOUR_MCP_BRIDGE_BAZAAR_URL",
        "MCP_BRIDGE_BATCH_DEPOSIT_MULTIPLIER": "YOUR_MCP_BRIDGE_BATCH_DEPOSIT_MULTIPLIER",
        "MCP_BRIDGE_MAX_DEPOSIT_ATOMIC": "YOUR_MCP_BRIDGE_MAX_DEPOSIT_ATOMIC",
        "X402_MCP_BRIDGE_CHANNELS_DIR": "YOUR_X402_MCP_BRIDGE_CHANNELS_DIR",
        "RPC_URL_8453": "YOUR_RPC_URL_8453"
      }
    }
  }
}
Cursor ~/.cursor/mcp.json

In ~/.cursor/mcp.json:

{
  "mcpServers": {
    "x402-bridge": {
      "command": "npx",
      "args": [
        "-y",
        "@three-ws/[email protected]"
      ],
      "env": {
        "MCP_BRIDGE_EVM_PRIVATE_KEY": "YOUR_MCP_BRIDGE_EVM_PRIVATE_KEY",
        "MCP_BRIDGE_SVM_PRIVATE_KEY": "YOUR_MCP_BRIDGE_SVM_PRIVATE_KEY",
        "MCP_BRIDGE_MAX_PRICE_PER_CALL_ATOMIC": "YOUR_MCP_BRIDGE_MAX_PRICE_PER_CALL_ATOMIC",
        "MCP_BRIDGE_MAX_TOTAL_ATOMIC": "YOUR_MCP_BRIDGE_MAX_TOTAL_ATOMIC",
        "MCP_BRIDGE_ALLOWED_PAYTO": "YOUR_MCP_BRIDGE_ALLOWED_PAYTO",
        "MCP_BRIDGE_ALLOWED_HOSTS": "YOUR_MCP_BRIDGE_ALLOWED_HOSTS",
        "MCP_BRIDGE_ALLOW_HTTP": "YOUR_MCP_BRIDGE_ALLOW_HTTP",
        "MCP_BRIDGE_DISCOVER_LIMIT": "YOUR_MCP_BRIDGE_DISCOVER_LIMIT",
        "MCP_BRIDGE_BAZAAR_URL": "YOUR_MCP_BRIDGE_BAZAAR_URL",
        "MCP_BRIDGE_BATCH_DEPOSIT_MULTIPLIER": "YOUR_MCP_BRIDGE_BATCH_DEPOSIT_MULTIPLIER",
        "MCP_BRIDGE_MAX_DEPOSIT_ATOMIC": "YOUR_MCP_BRIDGE_MAX_DEPOSIT_ATOMIC",
        "X402_MCP_BRIDGE_CHANNELS_DIR": "YOUR_X402_MCP_BRIDGE_CHANNELS_DIR",
        "RPC_URL_8453": "YOUR_RPC_URL_8453"
      }
    }
  }
}
VS Code .vscode/mcp.json

In .vscode/mcp.json:

{
  "servers": {
    "x402-bridge": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@three-ws/[email protected]"
      ],
      "env": {
        "MCP_BRIDGE_EVM_PRIVATE_KEY": "YOUR_MCP_BRIDGE_EVM_PRIVATE_KEY",
        "MCP_BRIDGE_SVM_PRIVATE_KEY": "YOUR_MCP_BRIDGE_SVM_PRIVATE_KEY",
        "MCP_BRIDGE_MAX_PRICE_PER_CALL_ATOMIC": "YOUR_MCP_BRIDGE_MAX_PRICE_PER_CALL_ATOMIC",
        "MCP_BRIDGE_MAX_TOTAL_ATOMIC": "YOUR_MCP_BRIDGE_MAX_TOTAL_ATOMIC",
        "MCP_BRIDGE_ALLOWED_PAYTO": "YOUR_MCP_BRIDGE_ALLOWED_PAYTO",
        "MCP_BRIDGE_ALLOWED_HOSTS": "YOUR_MCP_BRIDGE_ALLOWED_HOSTS",
        "MCP_BRIDGE_ALLOW_HTTP": "YOUR_MCP_BRIDGE_ALLOW_HTTP",
        "MCP_BRIDGE_DISCOVER_LIMIT": "YOUR_MCP_BRIDGE_DISCOVER_LIMIT",
        "MCP_BRIDGE_BAZAAR_URL": "YOUR_MCP_BRIDGE_BAZAAR_URL",
        "MCP_BRIDGE_BATCH_DEPOSIT_MULTIPLIER": "YOUR_MCP_BRIDGE_BATCH_DEPOSIT_MULTIPLIER",
        "MCP_BRIDGE_MAX_DEPOSIT_ATOMIC": "YOUR_MCP_BRIDGE_MAX_DEPOSIT_ATOMIC",
        "X402_MCP_BRIDGE_CHANNELS_DIR": "YOUR_X402_MCP_BRIDGE_CHANNELS_DIR",
        "RPC_URL_8453": "YOUR_RPC_URL_8453"
      }
    }
  }
}
ChatGPT

ChatGPT only connects to remote servers (an https address). This package runs locally: use one of the apps above.

These configurations are built from the information published by the author. Check the repository before installing a local server.

Our test

This server runs on your machine: we cannot test it remotely.

Reviews

No review yet.

Sign in to leave a review. Your email is all you need.

Comments

No comment yet. A question, a tip? Start the discussion.

Sign in to comment.

Is this your project? Sign in to claim this entry.

Badge for your README

io.github.nirholas/x402-bridge on L’Agora

Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.

Markdown (GitHub)

[![io.github.nirholas/x402-bridge on L’Agora](https://lagora.dev/badge/io.github.nirholas/x402-bridge.svg?lang=en)](https://lagora.dev/en/entry/io.github.nirholas/x402-bridge)

HTML

<a href="https://lagora.dev/en/entry/io.github.nirholas/x402-bridge"><img src="https://lagora.dev/badge/io.github.nirholas/x402-bridge.svg?lang=en" alt="io.github.nirholas/x402-bridge on L’Agora" height="20"></a>

Promote

For the entry’s author only: sign in to continue.

By the same author

vid2context Key required

Papertrade AI Key required

pump.fun Solana Data Local

three.ws Solana Memo Media Local

Report this entry