Skip to main content
Glama

OpenRouter MCP Server

by slyfox1186

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOG_FILENoLog file locationopenrouter_mcp.log
LOG_LEVELNoLogging levelINFO
COMPOSE_BAKENoDocker Compose Bake delegation for better build performancetrue
DEFAULT_MODELNoDefault model to use when none is specifieddeepseek/deepseek-r1-0528
ENABLE_WEB_SEARCHNoEnable web search integrationtrue
DEFAULT_MAX_TOKENSNoDefault maximum tokens for model responses1048576
OPENROUTER_API_KEYYesYour OpenRouter API key (get from OpenRouter.ai)
DEFAULT_TEMPERATURENoDefault temperature setting for model responses0.7
OPENROUTER_BASE_URLNoOpenRouter API base URLhttps://openrouter.ai/api/v1
FORCE_INTERNET_SEARCHNoForce internet search for models that support ittrue
RATE_LIMIT_REQUESTS_PER_MINUTENoRate limiting for API requests per minute60

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

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/slyfox1186/claude-code-openrouter'

If you have feedback or need assistance with the MCP directory API, please join our Discord server