Skip to content
Cline

OpenRouter for Cline

io.github.tsilva/mcp-openrouter

MCP server providing access to 300+ AI models via OpenRouter

client:Cline transport:stdio runtime:pypi

Install OpenRouter in Cline

~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json · windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json

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

{
  "mcpServers": {
    "mcp-openrouter": {
      "command": "uvx",
      "args": [
        "mcp-openrouter"
      ],
      "env": {
        "OPENROUTER_API_KEY": "<OPENROUTER_API_KEY>",
        "DEFAULT_TEXT_MODEL": "<DEFAULT_TEXT_MODEL>",
        "DEFAULT_IMAGE_MODEL": "<DEFAULT_IMAGE_MODEL>",
        "DEFAULT_CODE_MODEL": "<DEFAULT_CODE_MODEL>",
        "DEFAULT_VISION_MODEL": "<DEFAULT_VISION_MODEL>",
        "DEFAULT_EMBEDDING_MODEL": "<DEFAULT_EMBEDDING_MODEL>"
      }
    }
  }
}

Cline's MCP Servers pane edits this file for you if you would rather not find it. Cline docs

OpenRouter in other clients