mcp-openrouter
by tsilva
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). |
Capabilities
Features and capabilities supported by this server
| 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 | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/tsilva/mcp-openrouter'
If you have feedback or need assistance with the MCP directory API, please join our Discord server