
Routara LLM Gateway
io.github.36412749-collab由 GitHub 账号 36412749-collab 发布v1.0.1更新于 Oct 24, 2026
OpenAI-compatible LLM, image and video APIs via Routara (api.routara.ai).
概览
Routara 官方 MCP 服务器,让助手浏览 Routara 模型目录,并通过其 OpenAI 兼容 API 进行对话、图像和视频生成。
- 可以做什么
- 搜索并分页浏览实时模型目录
- 进行单轮或多轮对话(含工具调用),返回完整的 OpenAI 兼容响应
- 根据文本或参考图生成图像
- 提交文生视频、图生视频任务并轮询任务状态
- 适用场景
- 适合希望让 Cursor、Claude Desktop、Codex、Windsurf、VS Code 等 MCP 客户端用一个 API 密钥直接调用 Routara 托管的对话、图像和视频模型,而不必自行对接 API 的场景。
- 运行要求
- 通过 npx 从 npm 包 routara-mcp 本地运行(需 Node.js)。调用工具需要 ROUTARA_API_KEY 中的 Routara API 密钥,握手阶段无需密钥。可选 ROUTARA_API_BASE 与 ROUTARA_API_TIMEOUT_MS。需能访问 api.routara.ai。
安装
在 SourceWeft 中
- 打开 控制台中的 Routara LLM Gateway,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Routara MCP Server
[npm version] [MCP Registry] [License: MIT]
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?utm_source=github&utm_medium=repository&utm_campaign=mcp_quickstart
- OpenAI-compatible API: https://api.routara.ai/v1
- Create an API key: https://routara.ai/auth?mode=register&returnTo=%2Fapp&utm_source=github&utm_medium=repository&utm_campaign=mcp_quickstart
- Run a first OpenAI SDK request: Python and Node.js quickstart
- Try the API in Postman: importable first-request collection
Practical walkthroughs: Python SDK · Node.js SDK · Cursor MCP · Claude Desktop MCP
Install
Or install the one-click routara-mcp.mcpb bundle from the latest GitHub release.
Tools
MCP client configuration
OpenAI Codex
After adding the config, restart your MCP client and ask it to list Routara models. Then ask it to use routara_chat with a model available to your account. The MCP connection exposes tools; it does not replace the host application's own model subscription or billing.
Environment
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_chatreturns the complete OpenAI-compatible response, preserving reasoning content and tool calls.- Media parameters are forwarded only when explicitly supplied; model-specific support varies.
Development
For a live API smoke test:
Directory 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 [email protected].
License
MIT
来源:README.md,提交 9cf6b13
工具
0版本历史
1- v1.0.1最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分