GoModel logo

GoModel

Aggregates MCP servers behind one authenticated HTTP endpoint and provides OpenAI- and Anthropic-compatible gateway APIs.

Install GoModel

Run the project’s own setup commands, in order.

Setup steps from the project

GoModel installs with its own commands rather than a config we can generate, so these are copied as-is. Run them in order in a terminal. Source: github.com

  1. 1. Start the server
    docker run --rm -p 8080:8080 \
      -v gomodel_data:/app/data \
      enterpilot/gomodel
    
  2. 2. Install
    curl -fsSL https://gomodel.enterpilot.io/install.sh | sh
    
  3. 3. Install
    irm https://gomodel.enterpilot.io/install.ps1 | iex
    
  4. 4. Configure
    cp .env.template .env
    

Overview

GoModel aggregates upstream MCP servers behind a single authenticated HTTP endpoint, giving clients one gateway for multiple MCP backends. It also routes requests to configured LLM providers through OpenAI-compatible `/v1` and Anthropic-compatible `/v1/messages` APIs. Reach for GoModel when you need centralized access control, usage tracking, budgets, rate limits, failover, or model routing alongside MCP aggregation. Configuration can come from a dashboard, `.env`, `config.yaml`, or exported environment variables.

Use cases

  • Aggregate multiple MCP servers behind one authenticated endpoint
  • Route model requests across hosted and self-hosted providers
  • Enforce budgets and rate limits for teams and API keys
  • Track inference usage and estimated provider costs
  • Add failover and load balancing to model access

Key features

  • Authenticated MCP gateway
  • OpenAI- and Anthropic-compatible APIs
  • Provider routing and failover
  • Response caching
  • Budgets, rate limits, and model access controls
  • Usage and cost tracking

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked Today

Recent health check succeeded.

38/38 checks healthy over the last 90d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1.3kStargazers on the source repository.
Last commitTodayMost recent push to the default branch.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How GoModel works

What GoModel does

GoModel acts as a self-hosted gateway for MCP servers and hosted or self-hosted AI providers. Its MCP gateway consolidates upstream MCP servers behind one authenticated endpoint, so an MCP client can connect to a central service instead of managing each backend separately.

The broader gateway also exposes OpenAI-compatible endpoints under /v1 and an Anthropic-compatible endpoint at /v1/messages. This allows the official OpenAI and Anthropic SDKs to use GoModel by changing their base URL. Supported provider categories include commercial APIs, OpenAI-compatible services, and local or self-hosted systems such as Ollama, SGLang, vLLM, and llm-d.

How it works

GoModel receives requests at its gateway, applies configured access and routing rules, and forwards them to an appropriate provider or upstream MCP server. The service can use virtual model names with aliases and round-robin or cost-based load balancing. Failover, retries, and circuit breakers can reroute requests when a provider is unavailable.

For AI inference, the gateway includes request caching, cost estimates, usage analytics, budgets, rate limits, session pinning, model access controls, request labels, and hierarchical user paths. These controls can apply across users, teams, keys, providers, models, and request paths. The dashboard provides administration and visibility into usage and spending.

Setup and configuration

A Docker installation publishes port 8080 and stores application data in a named volume:

Terminal
docker run --rm -p 8080:8080 \
  -v gomodel_data:/app/data \
  enterpilot/gomodel

macOS and Linux users can install with the published shell installer, while Windows users can use the PowerShell installer. After starting the service, open the dashboard at http://localhost:8080/admin/dashboard to add a provider and manage key settings.

Configuration can be supplied through .env, config.yaml, or exported environment variables. Later sources override earlier ones in this order: built-in defaults, config.yaml, .env, then exported environment variables. Docker Compose options are available for an infrastructure stack with Redis, PostgreSQL, MongoDB, and Adminer, or for a full stack that also builds GoModel and adds Prometheus.

Tools and capabilities

  • Aggregate MCP servers behind one authenticated HTTP endpoint.
  • Route requests across many hosted, local, and OpenAI-compatible providers.
  • Serve OpenAI-compatible and Anthropic-compatible request formats.
  • Cache exact or semantically equivalent responses.
  • Enforce budgets, request limits, token limits, concurrency limits, and model allowlists.
  • Track estimated costs, usage, labels, and audit information.
  • Provide provider-native passthrough routes under /p/{provider}/....
  • Expose OpenAI-compatible text-to-speech, transcription, image generation, and image editing APIs.
  • Preserve Gemini thought signatures and Anthropic thinking blocks across supported turns and provider paths.

Limitations and notes

GoModel requires a running gateway instance and configured access to the providers or MCP servers it should expose. Provider behavior and supported features vary by backend; the project maintains a provider feature matrix for those differences. The default local service listens on port 8080, and the dashboard is used to configure providers after startup.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about GoModel

GoModel is an MCP server that connects clients to multiple upstream MCP servers through one authenticated HTTP endpoint. Its main MCP capability is gateway aggregation, while its broader platform also provides provider routing, access controls, usage tracking, budgets, rate limits, caching, and failover for AI requests.

Install GoModel with the published Docker image, the macOS/Linux shell installer, or the Windows PowerShell installer. Docker exposes port 8080 and can persist data in a named volume. After startup, configure providers from the dashboard at `http://localhost:8080/admin/dashboard`.

Yes. GoModel aggregates upstream MCP servers behind a single authenticated HTTP endpoint, allowing clients to use a central gateway instead of connecting to each MCP server separately.

Yes. GoModel accepts OpenAI-compatible requests under `/v1` and Anthropic-compatible requests under `/v1/messages`. The official OpenAI and Anthropic SDKs can use those interfaces by setting their base URLs to the GoModel service.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewGoModel AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/gomodel?style=directory)](https://allmcps.com/mcp/gomodel)
HTML Embed
<a href="https://allmcps.com/mcp/gomodel"><img src="https://allmcps.com/api/badge/gomodel?style=directory" alt="GoModel on AllMCPs" /></a>