mcp-openrouter
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DEFAULT_CODE_MODEL | No | Optional default model for code (e.g., anthropic/claude-sonnet-4.5). | |
| DEFAULT_TEXT_MODEL | No | Optional default model for text chat (e.g., google/gemini-3-pro-image-preview). | |
| OPENROUTER_API_KEY | Yes | Required for all tool calls. Your OpenRouter API key. | |
| DEFAULT_IMAGE_MODEL | No | Optional default model for image generation (e.g., google/gemini-3-pro-image-preview). | |
| DEFAULT_VISION_MODEL | No | Optional default model for vision (e.g., google/gemini-3-pro-image-preview). | |
| DEFAULT_EMBEDDING_MODEL | No | Optional default model for embeddings (e.g., mistralai/mistral-embed-2312). |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| extensions | {
"io.modelcontextprotocol/ui": {}
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| chatB | Send a chat completion request to any OpenRouter model. |
| generate_imageB | Generate an image using an OpenRouter image generation model. |
| embedB | Generate embeddings for text input using an OpenRouter embedding model. |
| list_modelsA | List available OpenRouter models, optionally filtered by capability. |
| find_modelsA | Search for models by name or slug. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 5 tools
Each tool targets a distinct operation: chat for text generation, embed for embeddings, generate_image for images, find_models and list_models for model discovery with different query types. No overlap.
All tool names use lowercase with underscores, following a consistent verb or verb_noun pattern (chat, embed, generate_image, find_models, list_models).
5 tools cover the core functionalities of the OpenRouter API—chat, embedding, image generation, model search, and listing—without being excessive or insufficient.
The set covers the primary OpenRouter capabilities (chat, embed, image gen, model discovery). A minor gap is the lack of an explicit streaming tool, but chat can be parameterized for streaming.