MCP Gateway Registry

v1.0.0Cloud Servicesstable

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

a2aagentic-aiagentsansdocumentdb
Share:
659
Stars
0
Downloads
0
Weekly
0/5

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

Enterprise-ready MCP centralization
OAuth and secure authentication
Dynamic tool discovery
LicenseApache-2.0
Languagepython
Versionv1.0.0
UpdatedMay 22, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx mcp-gateway-registry

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

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)
1

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-registry
2

Configure 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-transformers
3

Start 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 --prebuilt
4

Configure 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"
      }
    }
  }
}
5

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"}'
6

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-unit

MCP 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.

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.

Quick Config Preview

{ "mcpServers": { "mcp-gateway-registry": { "command": "npx", "args": ["-y", "mcp-gateway-registry"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

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.

33,000+ ServersFree & Open SourceStep-by-Step Guides