🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

routara-mcp

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

routara-mcp

MCP server for Routara — OpenAI-compatible LLM, image & video APIs at api.routara.ai

latest
Source
npmnpm
Version
1.0.2
Version published
Weekly downloads
56
-18.84%
Maintainers
1
Weekly downloads
 
Created
Source

Routara MCP Server

npm version MCP Registry Glama MCP License: MIT

Official Model Context Protocol server for Routara — call 787+ LLMs, image, and video models through api.routara.ai from Cursor, Claude Desktop, Windsurf, VS Code, and other MCP clients.

Install

npx -y routara-mcp

Or add globally: npm install -g routara-mcp

Tools

ToolDescription
routara_list_modelsList models in the Routara catalog
routara_chatChat completion (OpenAI-compatible)
routara_generate_imageImage generation (cash wallet balance required)
routara_generate_videoSubmit async video job (cash balance required)
routara_get_video_statusPoll video task status

Quick start

Cursor

Settings → MCP → Add server, or edit ~/.cursor/mcp.json:

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

Claude Desktop

%APPDATA%\Claude\claude_desktop_config.json (Windows) or ~/Library/Application Support/Claude/claude_desktop_config.json (macOS):

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

Environment

VariableRequiredDefault
ROUTARA_API_KEYYes
ROUTARA_API_BASENohttps://api.routara.ai/v1

Listed on

Health check (Glama / CI)

The server starts without ROUTARA_API_KEY so registries can run MCP handshake (initialize + tools/list). API key is required only when invoking tools.

npm ci && npm run build && npm test
# Optional live probe (needs real key):
ROUTARA_API_KEY=sk-or-v1-... npm run test:live

After pushing to GitHub, re-run Claim ownership on Glama once to refresh the listing index.

Troubleshooting

SymptomFix
ROUTARA_API_KEY is required on tool callSet env in MCP client config; get key at routara.ai/#auth
401 invalid_api_keyRegenerate key in dashboard; ensure sk-or-v1- prefix
402 / insufficient balanceTop up cash wallet at routara.ai
Image/video fails, chat worksMedia requires cash balance; promo credits are chat-only on economy models
Server won't start in inspectorUse npx -y routara-mcp with Node ≥18; run npm run build if developing from source

Development

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

Billing notes

  • One API key works for text, image, and video — switch model and tool, not the key.
  • Image/video require cash wallet balance (promo credits cannot be used for media).
  • Chat uses standard per-token billing with Smart Route™ failover across upstream pools.

License

MIT © Routara

Keywords

mcp

FAQs

Package last updated on 24 Jun 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts