MCP Gateway Registry
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 in
What is MCP Gateway Registry?
MCP Gateway Registry is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to 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 a...
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 in
This server falls under the Cloud Services category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- Enterprise-ready MCP Gateway & Registry that centralizes AI
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx mcp-gateway-registryConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use MCP Gateway Registry
MCP Gateway & Registry is an enterprise-grade platform that unifies scattered MCP servers and AI agents into a single, centrally governed control plane. It provides secure OAuth 2.0 authentication via Keycloak, Entra ID, Okta, or other identity providers, semantic and hybrid search for discovering tools and agents, and agent-to-agent (A2A) communication. Organizations use it to replace ad-hoc MCP server sprawl with a managed registry that enforces fine-grained access control, audit logging, and OpenTelemetry observability.
Prerequisites
- Docker and Docker Compose installed (for container-based deployment)
- MongoDB or DocumentDB instance for persistent storage
- An OAuth identity provider (Keycloak is included via Docker; or Entra ID, Okta, Auth0, Cognito, or PingFederate)
- Git to clone the repository
- Node.js 18+ or Python 3.10+ for local development (if not using Docker)
Clone the repository
Clone the MCP Gateway & Registry repository from GitHub to your local machine or server.
git clone https://github.com/agentic-community/mcp-gateway-registry.git
cd mcp-gateway-registryConfigure environment variables
Copy the environment template and edit it with your credentials. At minimum set KEYCLOAK_ADMIN_PASSWORD, REGISTRY_API_TOKEN, and DOCUMENTDB_HOST (or MONGODB_CONNECTION_STRING for Atlas).
cp .env.example .env
# Edit .env with your values:
# KEYCLOAK_ADMIN_PASSWORD=your-admin-password
# REGISTRY_API_TOKEN=your-static-api-token
# DOCUMENTDB_HOST=localhost
# AUTH_PROVIDER=keycloak
# EMBEDDINGS_PROVIDER=sentence-transformersStart the stack with pre-built Docker images
Launch the full stack using pre-built images from Docker Hub. The gateway will be available at http://localhost:7860. On non-Apple Silicon systems use the --prebuilt flag; Apple Silicon requires --podman.
export DOCKERHUB_ORG=mcpgateway
./build_and_run.sh --prebuiltConfigure your MCP client to use the gateway
Point your AI coding assistant or agent framework at the gateway's unified endpoint. All tool discovery, authentication, and routing is handled by the gateway.
{
"mcpServers": {
"gateway": {
"command": "npx",
"args": ["mcp-gateway-registry"],
"env": {
"REGISTRY_URL": "http://localhost:7860",
"REGISTRY_API_TOKEN": "your-static-api-token"
}
}
}
}Register MCP servers and agents
Use the REST API or the included CLI to register your backend MCP servers and AI agents with the registry. Once registered, they are discoverable via semantic or lexical search.
# Register an MCP server
curl -X POST http://localhost:7860/api/servers \
-H "Authorization: Bearer your-static-api-token" \
-H "Content-Type: application/json" \
-d '{"id": "my-db-server", "transport": "streamable-http", "url": "http://my-db-server:3000"}'Verify with the test suite
Run the included tests to confirm the deployment is working correctly. The test suite covers unit, integration, and end-to-end scenarios.
make test-unitMCP Gateway Registry Examples
Client configuration
MCP client configuration pointing to a local MCP Gateway & Registry instance with API token authentication.
{
"mcpServers": {
"mcp-gateway-registry": {
"command": "npx",
"args": ["mcp-gateway-registry"],
"env": {
"REGISTRY_URL": "http://localhost:7860",
"REGISTRY_API_TOKEN": "your-static-api-token"
}
}
}
}Prompts to try
Example prompts for discovering and using tools through the MCP Gateway & Registry.
- "Discover MCP servers that can access our database"
- "Show me all registered agents that handle document processing"
- "Register my new data analysis tool as an MCP server at http://localhost:8080"
- "Search for agents that support OAuth authentication"
- "List all available tools and their capabilities across all registered servers"Troubleshooting MCP Gateway Registry
Gateway fails to start with MongoDB connection errors
Ensure DOCUMENTDB_HOST and DOCUMENTDB_PORT are set correctly in .env. If using MongoDB Atlas, set MONGODB_CONNECTION_STRING to the full Atlas connection URI instead. The Docker Compose stack includes a local MongoDB container if you do not have an external instance.
OAuth login fails or Keycloak is unreachable
Verify KEYCLOAK_SERVER_URL and KEYCLOAK_REALM match your IdP setup. If using the bundled Keycloak container, ensure it has fully started before attempting login (check docker compose logs keycloak). For Entra ID or other providers, set AUTH_PROVIDER to the correct value (entra_id, okta, auth0, cognito, or pingfederate).
Semantic search returns no results after registering servers
Embedding generation happens asynchronously. Wait a few seconds after registration, then retry. If embeddings are consistently missing, check that EMBEDDINGS_PROVIDER and EMBEDDINGS_MODEL_NAME are set and that the embedding model is accessible (for OpenAI provider, verify your API key).
Frequently Asked Questions about MCP Gateway Registry
What is MCP Gateway Registry?
MCP Gateway Registry is a Model Context Protocol (MCP) server that 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 in It connects AI assistants to external tools and data sources through a standardized interface.
How do I install MCP Gateway Registry?
Follow the installation instructions on the MCP Gateway Registry GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with MCP Gateway Registry?
MCP Gateway Registry works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is MCP Gateway Registry free to use?
Yes, MCP Gateway Registry is open source and available under the Apache-2.0 license. You can use it freely in both personal and commercial projects.
MCP Gateway Registry Alternatives — Similar Cloud Services Servers
Looking for alternatives to MCP Gateway Registry? Here are other popular cloud services servers you can use with Claude, Cursor, and VS Code.
Open WebUI
★ 138.2kUser-friendly AI Interface (Supports Ollama, OpenAI API, ...)
Anything LLM
★ 60.4kThe all-in-one AI productivity accelerator. On device and privacy first with no annoying setup or configuration.
LocalAI
★ 46.4kLocalAI is the open-source AI engine. Run any model - LLMs, vision, voice, image, video - on any hardware. No GPU required.
Nacos
★ 33.0kan easy-to-use dynamic service discovery, configuration and service management platform for building AI cloud native applications.
Xiaozhi ESP32
★ 26.7k本项目为xiaozhi-esp32提供后端服务,帮助您快速搭建ESP32设备控制服务器。Backend service for xiaozhi-esp32, helps you quickly build an ESP32 device control server.
Gateway
★ 11.8kA blazing fast AI Gateway with integrated guardrails. Route to 1,600+ LLMs, 50+ AI Guardrails with 1 fast & friendly API.
Browse More Cloud Services MCP Servers
Explore all cloud services servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up MCP Gateway Registry in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use MCP Gateway Registry?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.