routara-mcp
MCP server for Routara — OpenAI-compatible LLM, image & video APIs (787+ models)
Documentation
Routara MCP Server
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.
- Website and setup guide: https://routara.ai/mcp
- OpenAI-compatible API: https://api.routara.ai/v1
- Create an API key: https://routara.ai/#auth
Install
npx -y routara-mcpOr install the one-click `routara-mcp.mcpb` bundle from the latest GitHub release.
Tools
| 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 |
MCP client configuration
{
"mcpServers": {
"routara": {
"command": "npx",
"args": ["-y", "routara-mcp"],
"env": {
"ROUTARA_API_KEY": "sk-or-v1-YOUR_KEY_HERE"
}
}
}
}OpenAI Codex
[mcp_servers.routara]
command = "npx"
args = ["-y", "routara-mcp"]
enabled = true
[mcp_servers.routara.env]
ROUTARA_API_KEY = "sk-or-v1-YOUR_KEY_HERE"Environment
| 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.
Reliability and compatibility
- Requests time out instead of hanging indefinitely.
- Transient network errors, HTTP 429, and HTTP 5xx responses are retried with bounded backoff.
- API errors include the upstream request ID and retry delay when available.
- `routara_chat` returns the complete OpenAI-compatible response, preserving reasoning content and tool calls.
- Media parameters are forwarded only when explicitly supplied; model-specific support varies.
Development
npm ci
npm run build
npm test
npm run validate:registry
npm run build:mcpbFor a live API smoke test:
ROUTARA_API_KEY=sk-or-v1-... npm run test:liveDirectory listings
Security
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.
License
MIT
Frequently asked questions
What is routara-mcp?
routara-mcp is MCP server for Routara — OpenAI-compatible LLM, image & video APIs (787+ models)
How do I install routara-mcp?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is routara-mcp open source?
Yes — it is hosted on GitHub at https://github.com/36412749-collab/routara-mcp and has 1 stars.
Related MCP tools
Unity MCP acts as a bridge between AI assistants and your Unity Editor. Give your LLM tools to manage assets, control scenes, edit scripts, and automate tasks within Unity.
AI Skills, MCP Tools, and CLI for Unity Engine. Full AI develop and test loop. Use cli for quick setup. Efficient token usage, advanced tools. Any C# method may be turned into a tool by a single line. Works with Claude Code, Gemini, Copilot, Cursor and any other absolutely for free.
Universal AI context generator. Saves thousands of tokens per conversation in Claude Code, Cursor, Copilot, Codex, and more.
A desktop MCP client designed as a tool unitary utility integration, accelerating AI adoption through the Model Context Protocol (MCP) and enabling cross-vendor LLM API orchestration.
Code research platform for AI agents; find, understand, and prove context across your code and all of GitHub, in a fraction of the tokens. One toolset, MCP or CLI
An MCP server that allows MCP clients like Claude Desktop or Cursor to perform actions in the Unity Editor C#-based implementation.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP