OpenAI-compatible LLM, image and video APIs via Routara (api.routara.ai).
Official Model Context Protocol server for Routara. Use Routara chat, image, and video models from Cursor, Claude Desktop, Codex, Windsurf, VS Code, and other MCP clients.
npx -y routara-mcp
Or install the one-click routara-mcp.mcpb bundle from the latest GitHub release.
| Tool | Description |
|---|---|
routara_list_models | Search and paginate the live model catalog |
routara_chat | Single-turn or multi-turn chat, including tool calls |
routara_generate_image | Text-to-image and reference-image generation |
routara_generate_video | Text-to-video and image-to-video submission |
routara_get_video_status | Poll an asynchronous video task |
{
"mcpServers": {
"routara": {
"command": "npx",
"args": ["-y", "routara-mcp"],
"env": {
"ROUTARA_API_KEY": "sk-or-v1-YOUR_KEY_HERE"
}
}
}
}
[mcp_servers.routara]
command = "npx"
args = ["-y", "routara-mcp"]
enabled = true
[mcp_servers.routara.env]
ROUTARA_API_KEY = "sk-or-v1-YOUR_KEY_HERE"
| Variable | Required | Default |
|---|---|---|
ROUTARA_API_KEY | Yes for tool calls | None |
ROUTARA_API_BASE | No | https://api.routara.ai/v1 |
ROUTARA_API_TIMEOUT_MS | No | 30000 |
The process can start and complete the MCP handshake without an API key. A key is resolved only when a Routara tool is invoked, which lets directories validate the server safely.
routara_chat returns the complete OpenAI-compatible response, preserving reasoning content and tool calls.npm ci
npm run build
npm test
npm run validate:registry
npm run build:mcpb
For a live API smoke test:
ROUTARA_API_KEY=sk-or-v1-... npm run test:live
Do not commit API keys. If a key is exposed, revoke it in the Routara dashboard immediately. Please report security issues privately to support@routara.ai.
MIT
Source-derived launch command. Check the maintainer’s required arguments and credentials before running:
npx -y routara-mcpMerge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.
{
"mcpServers": {
"io-github-36412749-collab-routara-mcp": {
"command": "npx",
"args": [
"-y",
"routara-mcp"
]
}
}
}Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.
Claude Desktop setup referenceroutara-mcpnpmRoutara LLM Gateway works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.
~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.~/.cursor/mcp.jsonRestart Cursor for changes to take effect..vscode/mcp.jsonReload VS Code window for changes to take effect.~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect..mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.