Skip to content

openrouter multimodal for Zed

io.github.stabgan/openrouter-multimodal

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

client:Zed transport:stdio runtime:npm

Install openrouter multimodal in Zed

~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "context_servers": {
    "openrouter-multimodal": {
      "command": "npx",
      "args": [
        "-y",
        "@stabgan/openrouter-mcp-multimodal"
      ],
      "env": {
        "OPENROUTER_API_KEY": "<OPENROUTER_API_KEY>",
        "OPENROUTER_DEFAULT_MODEL": "<OPENROUTER_DEFAULT_MODEL>",
        "OPENROUTER_OUTPUT_DIR": "<OPENROUTER_OUTPUT_DIR>",
        "OPENROUTER_MAX_TOKENS": "<OPENROUTER_MAX_TOKENS>",
        "OPENROUTER_PROVIDER_SORT": "<OPENROUTER_PROVIDER_SORT>",
        "OPENROUTER_PROVIDER_IGNORE": "<OPENROUTER_PROVIDER_IGNORE>",
        "OPENROUTER_PROVIDER_ORDER": "<OPENROUTER_PROVIDER_ORDER>",
        "OPENROUTER_PROVIDER_QUANTIZATIONS": "<OPENROUTER_PROVIDER_QUANTIZATIONS>",
        "OPENROUTER_PROVIDER_REQUIRE_PARAMETERS": "<OPENROUTER_PROVIDER_REQUIRE_PARAMETERS>",
        "OPENROUTER_PROVIDER_DATA_COLLECTION": "<OPENROUTER_PROVIDER_DATA_COLLECTION>",
        "OPENROUTER_PROVIDER_ALLOW_FALLBACKS": "<OPENROUTER_PROVIDER_ALLOW_FALLBACKS>",
        "OPENROUTER_CACHE_RESPONSES": "<OPENROUTER_CACHE_RESPONSES>",
        "OPENROUTER_INCLUDE_REASONING": "<OPENROUTER_INCLUDE_REASONING>"
      }
    }
  }
}

Merge this into your existing settings object — do not replace the file. Zed docs

openrouter multimodal in other clients