← Back to Plugins
MCP Server MCP

OpenRouter

github By github 👁 1 views ▲ 0 votes

MCP server providing access to 300+ AI models via OpenRouter

Homepage Verified source GitHub

Install

uvx mcp-openrouter

Configuration Example

{
  "remotes": [],
  "packages": [
    {
      "registryType": "pypi",
      "identifier": "mcp-openrouter",
      "version": "1.1.8",
      "transport": {
        "type": "stdio"
      },
      "environmentVariables": [
        {
          "description": "OpenRouter API key used to authenticate tool requests.",
          "isRequired": true,
          "format": "string",
          "isSecret": true,
          "name": "OPENROUTER_API_KEY"
        },
        {
          "description": "Default model slug for chat tool calls when no model is provided.",
          "format": "string",
          "name": "DEFAULT_TEXT_MODEL"
        },
        {
          "description": "Default model slug for image generation tool calls.",
          "format": "string",
          "name": "DEFAULT_IMAGE_MODEL"
        },
        {
          "description": "Default model slug for code-oriented tasks.",
          "format": "string",
          "name": "DEFAULT_CODE_MODEL"
        },
        {
          "description": "Default model slug for vision-capable tool calls.",
          "format": "string",
          "name": "DEFAULT_VISION_MODEL"
        },
        {
          "description": "Default model slug for embedding tool calls when no model is provided.",
          "format": "string",
          "name": "DEFAULT_EMBEDDING_MODEL"
        }
      ]
    }
  ]
}
mcp model-context-protocol pypi

Comments

Sign in to leave a comment

Loading comments...