Routara LLM Gateway

v1.0.1
io.github.36412749-collab/routara-mcp Checked 4 days ago Published 5 months ago

OpenAI-compatible LLM, image and video APIs via Routara (api.routara.ai).

Values you need

VariableWhat it is
ROUTARA_API_KEYrequired secret Routara API key (sk-or-v1-...) from https://routara.ai/#auth
ROUTARA_API_BASEoptional Optional API base URL (default https://api.routara.ai/v1)

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add routara-mcp -e 'ROUTARA_API_KEY=<ROUTARA_API_KEY>' -- npx -y routara-mcp@1.0.1
Add to claude_desktop_config.json
{
  "mcpServers": {
    "routara-mcp": {
      "args": [
        "-y",
        "routara-mcp@1.0.1"
      ],
      "command": "npx",
      "env": {
        "ROUTARA_API_KEY": "<ROUTARA_API_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "routara-mcp": {
      "args": [
        "-y",
        "routara-mcp@1.0.1"
      ],
      "command": "npx",
      "env": {
        "ROUTARA_API_KEY": "<ROUTARA_API_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "ROUTARA_API_KEY",
      "id": "routara-api-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "routara-mcp": {
      "args": [
        "-y",
        "routara-mcp@1.0.1"
      ],
      "command": "npx",
      "env": {
        "ROUTARA_API_KEY": "${input:routara-api-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.routara-mcp]
command = "npx"
args = ["-y", "routara-mcp@1.0.1"]
env = { "ROUTARA_API_KEY" = "<ROUTARA_API_KEY>" }

For AI agents

  1. Ask the user for: ROUTARA_API_KEY. 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: routara_list_models, routara_chat, routara_generate_image, routara_generate_video, routara_get_video_status.
  5. 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