Skip to main content
Glama
OpenRouter Image Generation MCP Server

OpenRouter Image Generation MCP Server

by pe-pe

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HOSTNoListen address.0.0.0.0
PORTNoListen port.3333
CORS_ORIGINNoComma-separated origins or *; empty disables CORS.
LOG_REQUESTSNoLog method, path, status, and duration only.true
MAX_BODY_BYTESNoMaximum MCP request body size.1000000
OPENROUTER_API_KEYNoOptional admin fallback key. Used only when no Authorization header is present; per-user headers take precedence.
DEFAULT_IMAGE_MODELNoModel used when the model argument is omitted.recraft/recraft-v4.1-flash-v2:free
OPENROUTER_APP_TITLENoOpenRouter X-Title header.openrouter-image-mcp
OPENROUTER_TIMEOUT_MSNoOpenRouter request timeout in milliseconds.120000
OPENROUTER_APP_REFERERNoOptional OpenRouter HTTP-Referer header.
OPENROUTER_API_BASE_URLNoAPI base; point at the mock for tests.https://openrouter.ai/api/v1

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources