MCP Server Studio

X402station MCP server

x402station.io: independent risk-signal layer for x402 endpoints before agents pay.

Registry name: io.github.sF1nX/x402station

Publisher
sF1nX
Runs
Runs locally
Package
npm
Version
1.0.11
Category
AI & agents
Updated
2026-06-02

Source code on GitHub

Set up X402station (run locally)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "x402station": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "AGENT_PRIVATE_KEY": "<AGENT_PRIVATE_KEY>",
        "X402STATION_BASE_URL": "<X402STATION_BASE_URL>"
      }
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add x402station -e AGENT_PRIVATE_KEY='<AGENT_PRIVATE_KEY>' -e X402STATION_BASE_URL='<X402STATION_BASE_URL>' -- npx -y [email protected]

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "x402station": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "AGENT_PRIVATE_KEY": "<AGENT_PRIVATE_KEY>",
        "X402STATION_BASE_URL": "<X402STATION_BASE_URL>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "x402station": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "AGENT_PRIVATE_KEY": "<AGENT_PRIVATE_KEY>",
        "X402STATION_BASE_URL": "<X402STATION_BASE_URL>"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "x402station": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "AGENT_PRIVATE_KEY": "<AGENT_PRIVATE_KEY>",
        "X402STATION_BASE_URL": "<X402STATION_BASE_URL>"
      }
    }
  }
}

Settings

NameRequiredWhat it is
AGENT_PRIVATE_KEYYes0x-prefixed 64-hex-char private key. Account must hold Base mainnet USDC. Required for any paid tool call.
X402STATION_BASE_URLNoOptional override. Only https://x402station.io or http(s)://localhost are accepted to prevent payload hijacking; any other value makes the adapter refuse to start.

More ai & agents MCP servers