OpenRouter Agents MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SERVER_API_KEYNoAPI key for HTTP/SSE server authentication
LOW_COST_MODELSNoComma-separated list of low-cost models to useperplexity/sonar-reasoning,openai/gpt-4o-mini-search-preview,google/gemini-2.0-flash-001
PGLITE_DATA_DIRNoDirectory for persistent storage of research reports./researchAgentDB
ALLOW_NO_API_KEYNoFor development/testing only, allows requests without API key
HIGH_COST_MODELSNoComma-separated list of high-cost models to useperplexity/sonar-deep-research,perplexity/sonar-pro,perplexity/sonar-reasoning-pro,openai/gpt-4o-search-preview
CACHE_TTL_SECONDSNoTime-to-live for cached research results in seconds3600
OPENROUTER_API_KEYYesYour OpenRouter API key

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

ID: di9gkiqccs