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).

已驗證STDIO僅桌面媒體與設計AI 與機器學習

概覽

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。
安裝前請注意
API 金鑰是可計費憑證:不要寫進提交的設定檔,外洩後應立即在 Routara 後台撤銷。工具呼叫會消耗 Routara 帳戶額度並產生費用,也不取代宿主應用程式本身的模型訂閱或計費。影片生成為非同步任務,需要輪詢。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Routara LLM Gateway,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

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.

Practical walkthroughs: Python SDK · Node.js SDK · Cursor MCP · Claude Desktop MCP

Install

bash
npx -y routara-mcp

Or install the one-click routara-mcp.mcpb bundle from the latest GitHub release.

Tools

ToolDescription
routara_list_modelsSearch and paginate the live model catalog
routara_chatSingle-turn or multi-turn chat, including tool calls
routara_generate_imageText-to-image and reference-image generation
routara_generate_videoText-to-video and image-to-video submission
routara_get_video_statusPoll an asynchronous video task

MCP client configuration

json
{  "mcpServers": {    "routara": {      "command": "npx",      "args": ["-y", "routara-mcp"],      "env": {        "ROUTARA_API_KEY": "sk-or-v1-YOUR_KEY_HERE"      }    }  }}

OpenAI Codex

toml
[mcp_servers.routara]command = "npx"args = ["-y", "routara-mcp"]enabled = true
[mcp_servers.routara.env]ROUTARA_API_KEY = "sk-or-v1-YOUR_KEY_HERE"

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

VariableRequiredDefault
ROUTARA_API_KEYYes for tool callsNone
ROUTARA_API_BASENohttps://api.routara.ai/v1
ROUTARA_API_TIMEOUT_MSNo30000

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

bash
npm cinpm run buildnpm testnpm run validate:registrynpm run build:mcpb

For a live API smoke test:

bash
ROUTARA_API_KEY=sk-or-v1-... npm run test:live

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
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.0.1最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分