Skip to main content
Glama
tsilva
by tsilva

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DEFAULT_CODE_MODELNoOptional default model for code (e.g., anthropic/claude-sonnet-4.5).
DEFAULT_TEXT_MODELNoOptional default model for text chat (e.g., google/gemini-3-pro-image-preview).
OPENROUTER_API_KEYYesRequired for all tool calls. Your OpenRouter API key.
DEFAULT_IMAGE_MODELNoOptional default model for image generation (e.g., google/gemini-3-pro-image-preview).
DEFAULT_VISION_MODELNoOptional default model for vision (e.g., google/gemini-3-pro-image-preview).
DEFAULT_EMBEDDING_MODELNoOptional default model for embeddings (e.g., mistralai/mistral-embed-2312).

Capabilities

Features and capabilities supported by this server

CapabilityDetails
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

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

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