Skip to main content
Glama

UniRoute MCP Server

UniRoute MCP Server

Zero-dependency Model Context Protocol (MCP) server for calling 63+ multimodal AI models (image, video, and music: Seedream 5.0, Seedance, Kling, Veo 3.1, Wan, Nano Banana, Flux 2, Suno, and more) through UniRoute from Claude Code, Claude Desktop, Cursor, or Codex CLI.

30-Second Setup (Lowest Friction)

  1. Create an API key at uniroute.app/console/api-keys.

  2. Run one command for your client (claude, claude-desktop, cursor, or codex):

git clone https://github.com/uniroute-app/uniroute-mcp-server.git ~/.uniroute-mcp
UNIROUTE_API_KEY="YOUR_KEY" node ~/.uniroute-mcp/src/index.js setup claude

This automatically:

  • Saves your key to ~/.config/uniroute/api-key (chmod 600 — never writes your raw key into client JSON/TOML configs!)

  • Backs up your existing config and merges the uniroute MCP server entry

  • Works immediately on next launch

  1. Verify connectivity in 1 second:

node ~/.uniroute-mcp/src/index.js check

Option B: Claude Code native CLI one-liner

claude mcp add uniroute -e UNIROUTE_API_KEY="YOUR_KEY" -- node ~/.uniroute-mcp/src/index.js

Related MCP server: MiniMax MCP JS

Tools (5)

Tool

Best For

uniroute_generate_media

One-shot generation — supports short model names (seedream, z-image, veo, seedance, suno), auto-quotes exact USD cost, enforces max_budget_usd safety cap (default $0.50), polls automatically, and returns ready-to-use asset URLs

uniroute_list_media_models

List & search available image, video, and music models with live per-option USD prices and input_fields

uniroute_quote_media

Request an exact USD quote before submitting a task

uniroute_create_media_task

Low-level idempotent task submission with explicit max_cost_usd

uniroute_get_media_task

Poll task status, billing state, and output URLs

Example Prompts After Setup

  • "Generate a 1:1 minimalist lighthouse vector illustration with z-image (budget max $0.02)."

  • "List all Seedream image models and their current USD prices on UniRoute."

  • "Create a 5-second video with Seedance 2 Mini of rain falling on a neon street."

Security & Budget Safety

  • Zero third-party npm dependencies: pure Node.js 20+ stdio server.

  • No raw keys in config files: setup stores keys in chmod 600 ~/.config/uniroute/api-key and references UNIROUTE_KEY_FILE.

  • Pre-flight cost guard: uniroute_generate_media quotes exact USD cost first and aborts before charging if it exceeds max_budget_usd.

Available Tools

4 tools
uniroute_create_media_taskC

Submit an asynchronous image, video, or music generation task on UniRoute with an explicit max_cost_usd ceiling and idempotency key.

Inputs: model (required), option (required), prompt (required), media_type (required), +3 more.

uniroute_get_media_taskA

Poll status, billing state, and output asset URLs for an existing UniRoute media task.

Inputs: task_id (required).

uniroute_list_media_modelsA

List available UniRoute image, video, and music generation models and their supported options.

Inputs: media_kind.

uniroute_quote_mediaA

Get an exact USD quote from UniRoute before creating an image, video, or music generation task.

Inputs: model (required), option (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool maps to a distinct action in a linear workflow: enumerate models, price a job, submit a job, poll a job. There is no overlap in purpose, and the descriptions make the ordering relationship explicit (quote before create, create then get).

    Naming Consistency5/5

    All four tools use the same uniroute_ prefix followed by a consistent verb_noun snake_case pattern (list_media_models, quote_media, create_media_task, get_media_task). The resource noun 'media' is used uniformly across tools.

    Tool Count4/5

    Four tools is lean but each covers a necessary step of an async generation workflow, with no redundancy. It is on the thin side, though the narrow scope (submit-and-poll media jobs) justifies a small surface.

    Completeness4/5

    The core lifecycle—discover models, quote cost, create task, poll result—is fully covered, including cost-safety and idempotency. Gaps are minor but real: there is no tool to cancel or delete a task and no way to enumerate existing tasks without a known ID.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers