Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| HOST | No | Server bind address | localhost |
| PORT | No | Server port | 8000 |
| LOG_LEVEL | No | Logging level | info |
| CACHE_FILE | No | Cache file path | openrouter_model_cache.json |
| CACHE_MAX_ITEMS | No | Max items in memory cache | 1000 |
| CACHE_TTL_HOURS | No | Model cache TTL in hours | 1 |
| OPENROUTER_API_KEY | Yes | Your OpenRouter API key (required) | |
| OPENROUTER_APP_NAME | No | App identifier for tracking | openrouter-mcp |
| OPENROUTER_HTTP_REFERER | No | HTTP referer header | https://localhost |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |