OpenRouter MCP Server
Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
OPENROUTER_API_KEY | Yes | Your OpenRouter API key | |
OPENROUTER_DEFAULT_MODEL | No | Optional default model |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
No resources |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
chat_completion | Send a message to OpenRouter.ai and get a response |
search_models | Search and filter OpenRouter.ai models based on various criteria |
get_model_info | Get detailed information about a specific model |
validate_model | Check if a model ID is valid |