OpenWork MCP Gateway
Your OpenWork org's skills, plugins, workflows, and connections through one OAuth MCP URL.
DIdifferent-ai/openwork25k46 new stars in the last 7 days
Enterprise-ready MCP Gateway & Registry that centralizes AI development tools with secure OAuth authentication, dynamic tool discovery, and unified access for both autonomous AI agents and AI coding assistants. Transform scattered MCP server chaos into governed, auditable tool access with Keycloak/Entra integration.
Unified Agent & MCP Server Registry – Gateway for AI Development Tools
Get Running Now | Docs | Executive Brief | Slide Deck | Demo Videos | AWS Workshop | Community
If your organization runs the MCP Gateway & Registry in production, please add it to ADOPTERS.md. It takes about five minutes.
The MCP Gateway & Registry is a single, governed control plane for every AI asset in your organization, from MCP servers and AI agents to skills and any custom asset your teams build. It is open source, licensed under Apache 2.0, and runs on Kubernetes (Amazon EKS), fully managed serverless (Amazon ECS), or Docker Compose (Amazon EC2).
It began as a gateway and registry for the Model Context Protocol (MCP): one secure entry point to many MCP servers, with centralized discovery and governance. As teams started registering agents, skills, and other assets alongside their servers, it grew into a general-purpose AI asset registry on the same gateway, access-control, and audit model it started with.
Without a control plane, every team wires its own MCP servers and agents by hand: separate credentials in every dotfile, no shared inventory, no audit trail, and no way to discover or govern what exists. Agents can't find other agents; servers and agents live in separate registries that can't share policy.
This platform replaces that with one governed entry point for every AI asset. Register a server, agent, skill, or custom entity once; discover it by natural-language search; reach it through a single authenticated gateway that enforces access and records every call. One control plane, one access model, one audit trail, across all asset types.
Onboard third-party OAuth MCP servers, the enterprise way. Because the gateway provides per-user egress authentication, you can connect OAuth-protected SaaS MCP servers such as Slack, Atlassian, and GitHub without every user setting up network access to those services or storing credentials on their laptop. Each user connects their account once; the gateway runs the OAuth (3LO) flow, vaults the per-user token in a secrets manager, and injects it on egress. That collapses onboarding to a single, auditable choke point, so a team can adopt a new SaaS MCP server across the enterprise without per-laptop plumbing or scattered long-lived tokens.
The gateway is the data plane (a generic nginx reverse proxy: TLS, auth validation, routing to backends) and the registry is the control plane (a FastAPI service that owns the inventory, access model, and audit trail, and decides what the gateway may route to). An auth server integrates your identity provider (Keycloak, Entra ID, Okta, Auth0, Cognito, PingFederate) for OAuth2/OIDC, and MongoDB / DocumentDB stores configuration, embeddings, sessions, and audit records.
By default, the registry handles A2A discovery, authentication, and access control, and agents then communicate directly (peer-to-peer) rather than routing every call through the gateway. For the full design and its invariants, read the Theory of the System; for layered diagrams, see Architecture Diagrams.
Watch how MCP servers, A2A agents, and external registries work together for dynamic tool discovery:
https://github.com/user-attachments/assets/97c640db-f78b-4a6c-9662-894f975f66e2
More walkthroughs are in the demo videos.
| You are a... | Start here |
|---|---|
| Developer | Start with the Complete Setup Guide; you can also try the macOS setup skill to get it running on your MacBook. Then connect your AI coding assistant with the AI Coding Assistant Integration guide. For programmatic access, see the OpenAPI spec plus a Python registration client (registry_client.py) and CLI (registry_management.py). |
| Platform / security / ops team | See the deployment guides for Amazon EKS (Helm), Amazon ECS (Terraform), and Docker Compose; the authentication guide; the configuration reference; and access control & scopes. |
| Decision-maker evaluating adoption | Read the Executive Brief, watch the demo videos, and try the AWS Workshop. |
The fastest path is the pre-built Docker images. Clone, set a few secrets, and run:
git clone https://github.com/agentic-community/mcp-gateway-registry.git
cd mcp-gateway-registry
cp .env.example .env
# Edit .env and set the required secrets (e.g. KEYCLOAK_ADMIN_PASSWORD, SECRET_KEY).
# See docs/configuration.md for the full list.
nano .env
# Deploy with pre-built images (pulled from Amazon ECR Public by default)
./build_and_run.sh --prebuilt
# Open the Registry UI (served by nginx on port 80)
open http://localhost # macOS (Linux: xdg-open http://localhost)
The Complete Installation Guide has the full walkthrough for Amazon EC2 (prerequisites, MongoDB and Keycloak initialization, first user and service account, registering a server, and testing the gateway).
Deploying somewhere else?
The registry holds four built-in asset types plus admin-defined custom ones, all on one control plane:
SKILL.md skills, with security scanning at registration.Across all of them you get semantic + lexical search, UI, REST, and MCP-native interfaces, and uniform governance. Key features worth calling out:
view_all permission gives a group a read-only admin view of every server, agent, skill and record, including private and group-restricted ones, and a new Tool access page and API list which groups can see and call each tool, worked out with the same rules the gateway enforces. See the 1.39.0 release notes, OpenAPI MCP servers, read-only admins and the tool access listing.ui.domain so those pages render through the gateway. It also stores each tool's annotations, title and output schema, saves a tool list whenever a description or schema changes, and can fetch tools again from healthy servers on a schedule with TOOL_REFRESH_ENABLED. Terraform and CDK now inject operator credentials from Secrets Manager instead of writing them into the task definition. See the 1.38.0 release notes, MCP Apps, tool annotations and tool list refresh.initialize and no session id, and clients of earlier revisions on the same URLs. Virtual servers answer server/discover and bridge a 2026-07-28 client to handshake-era backends, and nginx rejects a request whose Mcp-Method or Mcp-Name header disagrees with its body. Tool discovery, the health check, the security scanner and mcpgw move to MCP SDK 2.x. The registry and the auth server now read the session cookie by its exact name and treat a duplicated cookie as signed out, and an opt-in SESSION_COOKIE_HOST_PREFIX names it __Host-<name> so no other subdomain can set it. A deployment can rebrand the UI (colors, logos, favicon, themes and fonts) from a folder of files at deploy time without rebuilding the image, and light and dark mode both render correctly. Before upgrading, check custom scopes that rely on tools: ["*"] for methods other than tools, and move any session settings you edited in oauth2_providers.yml to environment variables. See the 1.37.0 release notes, MCP 2026-07-28 support and UI branding.search_registry can call it right away: coding agents get curl steps in mcpgw's instructions, and applications get a helper that calls the tool through the gateway as the user, with the application keeping the token. The auth server can now cache exchanged on-behalf-of tokens per user and audience for up to five minutes, off by default. NGINX_DISABLE_API_AUTH_REQUEST=true works again, so remove it unless you want cookie-only /api/. See the 1.36.0 release notes and the OBO token cache guide.keycloak-client-secret, so ArgoCD can sync it; existing installs adopt the Secret once before upgrading. Registrant metadata is capped at 10 KB and 8 levels, and the mcpgw discovery tools return it only when a caller names the keys it wants. See the 1.35.0 release notes, which list four breaking changes and the Helm adoption commands.
Older highlights → Feature & Release Highlights · full per-version detail in the release notes and on the GitHub Releases page.The roadmap is best tracked on the GitHub Milestones page. Per-user egress auth (3LO and OBO) and A2A traffic routing shipped in 1.27.0, the gateway for any HTTP resource in 1.30.0, and backend OAuth identity plus per-tool blocking in 1.31.0. At a high level, the big features we're working on next are:
Have a feature request? Please open a GitHub issue, we build in the open.
Full documentation is on the documentation site, and every guide also lives in the docs/ folder. Stuck or have a question? Start with the FAQ / Troubleshooting guide: it covers the most common setup, auth, deployment, and registration issues.
High-traffic pages by audience:
Get started
Platform & security
Architecture & development
Design decisions
The registry collects anonymous, non-sensitive usage telemetry (version, OS, cloud provider, aggregate asset counts) to understand adoption. It is opt-out and on by default; no PII, credentials, endpoints, or model names are ever sent. Disable everything with MCP_TELEMETRY_DISABLED=1. Full schema and privacy guarantees: Telemetry Documentation.
View the full interactive star-growth chart at star-history.com.
Licensed under the Apache-2.0 License. See LICENSE for details.
Your OpenWork org's skills, plugins, workflows, and connections through one OAuth MCP URL.
DIdifferent-ai/openwork25k46 new stars in the last 7 days
Expose your FastAPI endpoints as Model Context Protocol (MCP) tools, with Auth!
TAtadata-org/fastapi_mcp12k
USDC-gated Base JSON-RPC: free 10 req/min, $0.50 per 10k. Failover, cache, /mcp, ledger.
COConway-Research/automaton8k48 new stars in the last 7 days
Next Generation Agentic Proxy for AI Agents and MCP servers
AGagentgateway/agentgateway6.5k135 new stars in the last 7 days
Federate MCP, A2A and REST APIs behind one endpoint with central governance.
IBIBM/mcp-context-forge4.9k33 new stars in the last 7 days
Control FreeCAD: create and edit 3D models, run Python scripts, and perform FEM analysis.
NEneka-nat/freecad-mcp3.5k78 new stars in the last 7 days