by agentic-community
Provides a unified, enterprise‑ready gateway and registry that centralizes AI development tools, enforces OAuth authentication, supports dynamic tool discovery, and applies fine‑grained access control for both autonomous agents and coding assistants.
Mcp Gateway Registry offers a single entry point for AI agents and developers to access a curated catalog of MCP‑compatible tools. It removes the need for multiple individual MCP server connections, consolidates credential management, and delivers audit‑ready governance across the organization.
git clone https://github.com/agentic-community/mcp-gateway-registry.git
cd mcp-gateway-registry
cp .env.example .env
hf download sentence-transformers/all-MiniLM-L6-v2 --local-dir ${HOME}/mcp-gateway/models/all-MiniLM-L6-v2
./build_and_run.sh --prebuilt
docs/keycloak-integration.md.http://localhost:7860, register MCP servers via the registry UI, and create agent/service accounts.--prebuilt flag runs official images directly../cli/mcp_client.py register --url <server-url> --tags <comma‑separated>.Enterprise-Ready Gateway for AI Development Tools
🚀 Get Running Now | Quick Start | Documentation | Enterprise Features | Community
Demo Videos: Full End-to-End Functionality | OAuth 3-Legged Authentication | Dynamic Tool Discovery
The MCP Gateway & Registry is an enterprise-ready platform that centralizes access to AI development tools using the Model Context Protocol (MCP). Instead of managing hundreds of individual tool configurations across your development teams, provide secure, governed access to curated AI tools through a single platform.
Transform this chaos:
❌ AI agents require separate connections to each MCP server
❌ Each developer configures VS Code, Cursor, Claude Code individually
❌ Developers must install and manage MCP servers locally
❌ No standard authentication flow for enterprise tools
❌ Scattered API keys and credentials across tools
❌ No visibility into what tools teams are using
❌ Security risks from unmanaged tool sprawl
❌ No dynamic tool discovery for autonomous agents
❌ No curated tool catalog for multi-tenant environments
Into this organized approach:
✅ AI agents connect to one gateway, access multiple MCP servers
✅ Single configuration point for VS Code, Cursor, Claude Code
✅ Central IT manages cloud-hosted MCP infrastructure via streamable HTTP
✅ Developers use standard OAuth 2LO/3LO flows for enterprise MCP servers
✅ Centralized credential management with secure vault integration
✅ Complete visibility and audit trail for all tool usage
✅ Enterprise-grade security with governed tool access
✅ Dynamic tool discovery and invocation for autonomous workflows
✅ Registry provides discoverable, curated MCP servers for multi-tenant use
┌─────────────────────────────────────┐ ┌──────────────────────────────────────┐
│ BEFORE: Chaos │ │ AFTER: MCP Gateway │
├─────────────────────────────────────┤ ├──────────────────────────────────────┤
│ │ │ │
│ Developer 1 ──┬──► MCP Server A │ │ Developer 1 ──┐ │
│ ├──► MCP Server B │ │ │ │
│ └──► MCP Server C │ │ Developer 2 ──┼──► MCP Gateway │
│ │ │ │ │ │
│ Developer 2 ──┬──► MCP Server A │ ──► │ AI Agent 1 ───┘ ├──► MCP A │
│ ├──► MCP Server D │ │ ├──► MCP B │
│ └──► MCP Server E │ │ AI Agent 2 ─────────────├──► MCP C │
│ │ │ ├──► MCP D │
│ AI Agent 1 ───┬──► MCP Server B │ │ AI Agent 3 ─────────────├──► MCP E │
│ ├──► MCP Server C │ │ └──► MCP F │
│ └──► MCP Server F │ │ │
│ │ │ Single Connection │
│ ❌ Multiple connections per user │ │ ✅ One gateway for all │
│ ❌ No centralized control │ │ ✅ Dynamic discovery │
│ ❌ Credential sprawl │ │ ✅ Unified governance │
└─────────────────────────────────────┘ └──────────────────────────────────────┘
Experience dynamic tool discovery and intelligent MCP server integration in real-time
Provide both autonomous AI agents and human developers with secure access to approved tools through AI coding assistants (VS Code, Cursor, Claude Code) while maintaining IT oversight and compliance.
Centralized authentication, fine-grained permissions, and comprehensive audit trails for SOX/GDPR compliance pathways across both human and AI agent access patterns.
AI agents can autonomously discover and execute specialized tools beyond their initial capabilities using intelligent semantic search, while developers get guided tool discovery through their coding assistants.
Single gateway supporting both autonomous AI agents (machine-to-machine) and AI coding assistants (human-guided) with consistent authentication and tool access patterns.
The MCP Gateway & Registry provides a unified platform for both autonomous AI agents and AI coding assistants to access enterprise-curated tools through a centralized gateway with comprehensive authentication and governance.
Key Architectural Benefits:
📱 Running on macOS? See our macOS Setup Guide for platform-specific instructions and optimizations.
Get running in under 2 minutes with pre-built containers:
Step 1: Clone and setup
git clone https://github.com/agentic-community/mcp-gateway-registry.git
cd mcp-gateway-registry
cp .env.example .env
Step 2: Download embeddings model Download the required sentence-transformers model to the shared models directory:
hf download sentence-transformers/all-MiniLM-L6-v2 --local-dir ${HOME}/mcp-gateway/models/all-MiniLM-L6-v2
Step 3: Configure environment Complete: Initial Environment Configuration - Configure domains, passwords, and authentication
export DOCKERHUB_ORG=mcpgateway
Step 4: Deploy with pre-built images
./build_and_run.sh --prebuilt
For detailed information about all Docker images used with --prebuilt, see Pre-built Images Documentation.
Step 5: Initialize Keycloak Complete: Initialize Keycloak Configuration - Set up identity provider and security policies
Step 6: Access the registry
open http://localhost:7860
Step 7: Create your first agent Complete: Create Your First AI Agent Account - Create agent credentials for testing
Step 8: Restart auth server to apply new credentials
docker-compose down auth-server && docker-compose rm -f auth-server && docker-compose up -d auth-server
Step 9: Test the setup Complete: Testing with mcp_client.py and agent.py - Validate your setup works correctly
Benefits: No build time • No Node.js required • No frontend compilation • Consistent tested images
New to MCP Gateway? Start with our Complete Setup Guide for detailed step-by-step instructions from scratch on AWS EC2.
Python Scripts:
./cli/mcp_client.py - Core MCP operations (ping, list tools, call tools)./tests/mcp_cmds.sh - Shell-based MCP testing operationsPython Agent:
agents/agent.py - Full-featured Python agent with advanced AI capabilitiesNext Steps: Testing Guide | Complete Installation Guide | Authentication Setup | AI Assistant Integration
Transform how both autonomous AI agents and development teams access enterprise tools with centralized governance:
Comprehensive real-time metrics and monitoring through Grafana dashboards with dual-path storage: SQLite for detailed historical analysis and OpenTelemetry (OTEL) export for integration with Prometheus, CloudWatch, Datadog, and other monitoring platforms. Track authentication events, tool executions, discovery queries, and system performance metrics. Learn more
Multiple Identity Modes:
Supported Identity Providers:
Fine-Grained Permissions:
Cloud Platforms:
High Availability:
| Getting Started | Enterprise Setup | Developer & Operations |
|---|---|---|
| Complete Setup GuideNEW! Step-by-step from scratch on AWS EC2 | Authentication GuideOAuth and identity provider integration | AI Coding Assistants SetupVS Code, Cursor, Claude Code integration |
| Installation GuideComplete setup instructions for EC2 and EKS | Keycloak IntegrationEnterprise identity with agent audit trails | API ReferenceProgrammatic registry management |
| Quick Start TutorialGet running in 5 minutes | Amazon Cognito SetupStep-by-step IdP configuration | Token Refresh ServiceAutomated token refresh and lifecycle management |
| Configuration ReferenceEnvironment variables and settings | Observability GuideNEW! Metrics, monitoring, and OpenTelemetry setup | |
| Fine-Grained Access ControlPermission management and security | Dynamic Tool DiscoveryAutonomous agent capabilities | |
| Service ManagementServer lifecycle and operations | ||
| Production DeploymentComplete setup for production environments | ||
| Troubleshooting GuideCommon issues and solutions |
Join the Discussion
Resources
Contributing
The following GitHub issues represent our current development roadmap and planned features:
Major Features
#171 - Feature: Import Servers from Anthropic MCP Registry 🚧 IN PROGRESS Add functionality to import and synchronize MCP servers from the Anthropic MCP Registry, enabling seamless integration with the broader MCP ecosystem.
#170 - Architectural Proposal: Separate Gateway and Registry Containers 🚧 IN PROGRESS Architectural enhancement to separate gateway and registry functionality into independent containers for improved scalability, maintainability, and deployment flexibility.
#37 - Multi-Level Registry Support 🚧 IN PROGRESS Add support for federated registries that can connect to other registries, enabling hierarchical MCP infrastructure with cross-IdP authentication.
#132 - Registry UI: Add MCP Configuration Generator 🚧 IN PROGRESS Add copy-paste MCP configuration generator to Registry UI for seamless integration with AI coding assistants (VS Code, Cursor, Claude Code).
#129 - Virtual MCP Server Support - Dynamic Tool Aggregation and Intelligent Routing 🚧 IN PROGRESS Enable logical grouping of tools from multiple backend servers with intelligent routing using Lua/JavaScript scripting. Provides purpose-built virtual servers that abstract away backend complexity.
#121 - Migrate to OpenSearch for Server Storage and Vector Search Replace current storage with OpenSearch to provide advanced vector search capabilities and improved scalability for large server registries.
#118 - Agent-as-Tool Integration: Dynamic MCP Server Generation Convert existing AI agents into MCP servers dynamically, enabling legacy agent ecosystems to participate in the MCP protocol without code rewrites.
#98 - Complete GDPR and SOX Compliance Implementation Full compliance implementation for GDPR and SOX requirements, including data retention policies, audit trails, and privacy controls.
#39 - Tool Popularity Scoring and Rating System Enhance tool discovery with popularity scores and star ratings based on usage patterns and agent feedback.
Authentication & Identity
DevOps & Operations
#48 - Update EKS Helm Chart for Multi-Container Architecture Update Helm charts to support the new multi-container Docker Compose architecture for Kubernetes deployments.
#70 - Docker Build & Runtime Performance Optimization Optimize Docker build times and runtime performance for faster development and deployment cycles.
Completed
#159 - Add scope management: create/delete Keycloak groups with scope configuration ✅ COMPLETED Dynamic scope management functionality implemented with create-group, delete-group, list-groups, and server-to-group assignment commands through service management CLI. Includes comprehensive user management with group-based access control. Service Management Guide
#160 - Documentation: Add Amazon Bedrock AgentCore Gateway integration example ✅ COMPLETED Comprehensive documentation and examples for integrating Amazon Bedrock AgentCore Gateway with dual authentication (Keycloak ingress + Cognito egress), passthrough token mode, and complete MCP protocol flow. Integration Guide
#158 - Replace /opt/mcp-gateway with ${HOME}/mcp-gateway to eliminate sudo requirements ✅ COMPLETED Installation experience improved by using user home directory instead of /opt, removing the need for sudo privileges during setup.
#111 - Standalone Metrics Collection Service ✅ COMPLETED Dedicated metrics collection service implemented for comprehensive monitoring and analytics across all MCP Gateway components. Documentation
#38 - Usage Metrics and Analytics System ✅ COMPLETED Comprehensive usage tracking implemented across user and agent identities, with metrics emission from auth server, registry, and intelligent tool finder. Documentation
#120 - CLI Tool for MCP Server Registration and Health Validation ✅ COMPLETED Command-line interface for automated server registration, health checks, and registry management. Streamlines DevOps workflows and CI/CD integration. Documentation
#119 - Implement Well-Known URL for MCP Server Discovery ✅ COMPLETED Standardized discovery mechanism using /.well-known/mcp-servers endpoint for automatic server detection and federation across organizations.
#18 - Add Token Vending Capability to Auth Server ✅ COMPLETED Auth server token vending capabilities implemented for enhanced authentication workflows with OAuth token management and service account provisioning.
#5 - Add Support for KeyCloak as IdP Provider ✅ COMPLETED KeyCloak integration implemented with individual agent audit trails, group-based authorization, and production-ready service account management. Documentation
For the complete list of open issues, feature requests, and bug reports, visit our GitHub Issues page.
This project is licensed under the Apache-2.0 License - see the LICENSE file for details.
⭐ Star this repository if it helps your organization!
Please log in to share your review and rating for this MCP.
Explore related MCPs that share similar capabilities and solve comparable challenges
by zed-industries
A high‑performance, multiplayer code editor designed for speed and collaboration.
by modelcontextprotocol
Model Context Protocol Servers
by modelcontextprotocol
A Model Context Protocol server for Git repository interaction and automation.
by modelcontextprotocol
A Model Context Protocol server that provides time and timezone conversion capabilities.
by cline
An autonomous coding assistant that can create and edit files, execute terminal commands, and interact with a browser directly from your IDE, operating step‑by‑step with explicit user permission.
by continuedev
Enables faster shipping of code by integrating continuous AI agents across IDEs, terminals, and CI pipelines, offering chat, edit, autocomplete, and customizable agent workflows.
by upstash
Provides up-to-date, version‑specific library documentation and code examples directly inside LLM prompts, eliminating outdated information and hallucinated APIs.
by github
Connects AI tools directly to GitHub, enabling natural‑language interactions for repository browsing, issue and pull‑request management, CI/CD monitoring, code‑security analysis, and team collaboration.
by daytonaio
Provides a secure, elastic infrastructure that creates isolated sandboxes for running AI‑generated code with sub‑90 ms startup, unlimited persistence, and OCI/Docker compatibility.