mcpField
R
Routara LLM Gateway

Routara LLM Gateway

Local
routara.aiMedia & Design1Updated 2w ago

About Routara LLM Gateway

Routara LLM Gateway is an MCP server for using Routara chat and media models from MCP clients. Its tools cover model discovery, chat, image and video generation, and video status checks.

Key features

  1. 01Searches the live model catalog
  2. 02Runs single- or multi-turn chat
  3. 03Generates images from text or references
  4. 04Submits text-to-video and image-to-video tasks
  5. 05Checks asynchronous video task status

Use cases

  1. 01Finding models available in the catalog
  2. 02Running chat through an MCP client
  3. 03Generating images or submitting video tasks
  4. 04Checking progress of video generation

MCP support

The server exposes Routara model and media operations as tools to MCP clients, including Cursor, Claude Desktop, Codex, Windsurf, and VS Code. Tool calls require a Routara API key.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"routara": {
"command": "npx",
"args": [
"-y",
"routara-mcp"
],
"env": {
"ROUTARA_API_KEY": "<ROUTARA_API_KEY>",
"ROUTARA_API_BASE": "<ROUTARA_API_BASE>"
}
}
}
}
Run commandnpx -y routara-mcp
Environment variables to set
ROUTARA_API_KEYSecretRoutara API key (sk-or-v1-...) from https://routara.ai/#auth
ROUTARA_API_BASEOptional API base URL (default https://api.routara.ai/v1)

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmroutara-mcp1.0.1

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project 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

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

{
  "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"

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

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

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

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.