Snap Router

v1.0.0
io.github.trigeochiral/snap-router Checked 4 days ago Published 3 months ago

Task-to-tool discovery over the merged x402 Bazaar + MCP Registry catalog

Values you need

VariableWhat it is
SNAP_APIrequired Base URL of the hosted Snap Router API (default https://trigeochiral.com) Default: https://trigeochiral.com
SNAP_XPAYMENToptional secret Optional base64 x402 X-PAYMENT payload for paid calls past the free tier

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add snap-router -e SNAP_API=https://trigeochiral.com -- uvx snap-router-mcp==1.0.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "snap-router": {
      "args": [
        "snap-router-mcp==1.0.0"
      ],
      "command": "uvx",
      "env": {
        "SNAP_API": "https://trigeochiral.com"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "snap-router": {
      "args": [
        "snap-router-mcp==1.0.0"
      ],
      "command": "uvx",
      "env": {
        "SNAP_API": "https://trigeochiral.com"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "SNAP_API",
      "id": "snap-api",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "snap-router": {
      "args": [
        "snap-router-mcp==1.0.0"
      ],
      "command": "uvx",
      "env": {
        "SNAP_API": "${input:snap-api}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.snap-router]
command = "uvx"
args = ["snap-router-mcp==1.0.0"]
env = { "SNAP_API" = "https://trigeochiral.com" }

For AI agents

  1. Ask the user for: SNAP_API. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. 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).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: snap_router.
  5. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json