mcp-llm-gateway MCP Server
MCP-compatible LLM gateway that proxies completion requests.
mcp-llm-gateway scores 51 (Fair), licensed MIT and written in Python. It installs as a local process. It declares 6 tools. Filed under AI and memory. GitHub shows 0 stars. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Fair trust
51 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade B
82/100 for listing completeness. Lost points: short README, 1 of 6 tools barely described, short summary.
How quality is graded
Where the 51 comes from
22 + 5 + 0 + 10 + 4 + 10 = 51. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 5 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "daedalus-mcp-llm-gateway": { "command": "uvx", "args": [ "mcp-llm-gateway" ] } }}
Environment variables
This server does not declare environment variables.
Tools6Tool docs quality grade D
All capabilitiesDataclass for completion request payloads
Service for handling completion requests
ConfigServicetoolService for managing gateway configuration
GatewayConfigtoolDataclass for gateway configuration
ModelListAdaptertoolAdapter for fetching model list from remote endpoints
ModelServicetoolService for managing model discovery and caching
About
MCP LLM Gateway
MCP-compatible LLM gateway that proxies completion requests to downstream OpenAI-compatible providers.
mcp-name: io.github.daedalus/mcp-llm-gateway
Install
pip install mcp-llm-gateway
Usage
Configuration
Set the following environment variables:
DOWNSTREAM_URL: Base URL for the OpenAI-compatible downstream API (required)DEFAULT_MODEL: Default model to use for completions (required)MODEL_LIST_URL: URL to fetch available models from (optional, defaults to models.dev)API_KEY: Optional API key for downstream (passthrough)TIMEOUT: Request timeout in seconds (optional, default: 60)
MCP Server
Run the MCP server with stdio transport:
mcp-llm-gateway
MCP Tools
The server exposes the following tools:
list_models(): List all available models from the remote endpointcomplete(prompt, model, max_tokens, temperature): Send a completion request to the downstream LLM provider
MCP Resources
models://list: Returns the list of available modelsconfig://info: Returns current gateway configuration
Development
git clone https://github.com/daedalus/mcp-llm-gateway.git
cd mcp-llm-gateway
pip install -e ".[test]"
# run tests
pytest
# format
ruff format src/ tests/
# lint
ruff check src/ tests/
# type check
mypy src/
API
core.models
Model: Dataclass representing an available LLM modelCompletionRequest: Dataclass for completion request payloadsGatewayConfig: Dataclass for gateway configuration
adapters.http
HTTPAdapter: HTTP client for downstream API communicationModelListAdapter: Adapter for fetching model list from remote endpoints
services.gateway
ModelService: Service for managing model discovery and cachingCompletionService: Service for handling completion requestsConfigService: Service for managing gateway configuration
Frequently asked questions
What is mcp-llm-gateway MCP Server?
MCP-compatible LLM gateway that proxies completion requests.
How do I install mcp-llm-gateway MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. mcp-llm-gateway MCP Server runs locally from the PyPI package mcp-llm-gateway with the command uvx mcp-llm-gateway.
Is mcp-llm-gateway MCP Server free and open source?
Yes. mcp-llm-gateway MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does mcp-llm-gateway MCP Server support remote (HTTP) connections?
No remote endpoint is listed for mcp-llm-gateway MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does mcp-llm-gateway MCP Server provide?
mcp-llm-gateway MCP Server provides 6 tools, including CompletionRequest, CompletionService, ConfigService, and GatewayConfig. See the full tool list for descriptions and parameters.
How is mcp-llm-gateway MCP Server's trust score calculated?
mcp-llm-gateway MCP Server scores 51 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.