Switch406
v0.3.0Universal MCP gateway to Switch402 P2P inference & x402 capabilities
Values you need
| Variable | What it is | |
|---|---|---|
SWITCH402_URL | optional | 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.1Add 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
- 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).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: find_capability, act, chat_inference, list_unmet_demand, wallet_status.
- 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