Switch406

v0.3.0
com.switch406/switch406 Checked 4 days ago Published 2 days ago

Universal MCP gateway to Switch402 P2P inference & x402 capabilities

Values you need

VariableWhat it is
SWITCH402_URLoptional Switch402 grid server base URL Default: https://switch402.fly.dev

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add switch402-mcp -- npx -y switch402-mcp@0.1.1
Add to claude_desktop_config.json
{
  "mcpServers": {
    "switch402-mcp": {
      "args": [
        "-y",
        "switch402-mcp@0.1.1"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "switch402-mcp": {
      "args": [
        "-y",
        "switch402-mcp@0.1.1"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "switch402-mcp": {
      "args": [
        "-y",
        "switch402-mcp@0.1.1"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.switch402-mcp]
command = "npx"
args = ["-y", "switch402-mcp@0.1.1"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: find_capability, act, chat_inference, list_unmet_demand, wallet_status.
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json