HomeDesign & Media › openrouter-mcp-multimodal

openrouter-mcp-multimodal

Chat with 300+ LLMs via OpenRouter. Analyze and generate images, audio, and video from MCP.

TypeScript Cloud macOSWindowsLinux
★ 92 stars Last pushed 2026-09-23 License: Apache-2.0

Topics: Multimedia Process

Connect

Review any command before running it. Package names and URLs come from the server's own registry entry.

Package (npm 4.5.1)

npx -y @stabgan/[email protected]

Or add to your MCP client config:

{
  "mcpServers": {
    "openrouter-mcp-multimodal": {
      "command": "npx",
      "args": [
        "-y",
        "@stabgan/[email protected]"
      ],
      "env": {
        "OPENROUTER_API_KEY": "<YOUR_VALUE>",
        "OPENROUTER_DEFAULT_MODEL": "<YOUR_VALUE>",
        "OPENROUTER_OUTPUT_DIR": "<YOUR_VALUE>",
        "OPENROUTER_MAX_TOKENS": "<YOUR_VALUE>",
        "OPENROUTER_PROVIDER_SORT": "<YOUR_VALUE>",
        "OPENROUTER_PROVIDER_IGNORE": "<YOUR_VALUE>",
        "OPENROUTER_PROVIDER_ORDER": "<YOUR_VALUE>",
        "OPENROUTER_PROVIDER_QUANTIZATIONS": "<YOUR_VALUE>",
        "OPENROUTER_PROVIDER_REQUIRE_PARAMETERS": "<YOUR_VALUE>",
        "OPENROUTER_PROVIDER_DATA_COLLECTION": "<YOUR_VALUE>",
        "OPENROUTER_PROVIDER_ALLOW_FALLBACKS": "<YOUR_VALUE>",
        "OPENROUTER_CACHE_RESPONSES": "<YOUR_VALUE>",
        "OPENROUTER_INCLUDE_REASONING": "<YOUR_VALUE>"
      }
    }
  }
}
  • OPENROUTER_API_KEY required secret — OpenRouter API key. Get one free at https://openrouter.ai/keys
  • OPENROUTER_DEFAULT_MODEL — Default model for chat + analyze tools. Defaults to nvidia/nemotron-nano-12b-v2-vl:free.
  • OPENROUTER_OUTPUT_DIR — Sandbox root for save_path on generate_* tools. Defaults to the current working directory.
  • OPENROUTER_MAX_TOKENS — Default max_tokens for chat_completion when unset in the request.
  • OPENROUTER_PROVIDER_SORT — price / throughput / latency
  • OPENROUTER_PROVIDER_IGNORE — CSV of provider slugs to exclude.
  • OPENROUTER_PROVIDER_ORDER — JSON array or CSV of preferred provider IDs.
  • OPENROUTER_PROVIDER_QUANTIZATIONS — CSV of quantization levels (fp16,int8).
  • OPENROUTER_PROVIDER_REQUIRE_PARAMETERS — true/false. Require providers to support all request params.
  • OPENROUTER_PROVIDER_DATA_COLLECTION — allow/deny
  • OPENROUTER_PROVIDER_ALLOW_FALLBACKS — true/false
  • OPENROUTER_CACHE_RESPONSES — Enable response caching server-wide. Sends X-OpenRouter-Cache: true on every chat/analyze call unless overridden per-request. Zero tokens billed on cache hits.
  • OPENROUTER_INCLUDE_REASONING — Enable reasoning tokens passthrough server-wide. Adds _meta.reasoning to chat_completion responses for DeepSeek R1 / Gemini Thinking / Opus 4.7.

Package (oci)

docker run -i --rm docker.io/stabgan/openrouter-mcp-multimodal:4.5.1

Or add to your MCP client config:

{
  "mcpServers": {
    "openrouter-mcp-multimodal": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/stabgan/openrouter-mcp-multimodal:4.5.1"
      ],
      "env": {
        "OPENROUTER_API_KEY": "<YOUR_VALUE>"
      }
    }
  }
}
  • OPENROUTER_API_KEY required secret — OpenRouter API key. Get one free at https://openrouter.ai/keys

Related servers

Listed in punkpeye/awesome-mcp-servers (MIT)

Data from the Official MCP Registry