Skip to content
STIRUP

TECHNOLOGY INTELLIGENCE

Understand what's next.

Installation and Deployment Process for agentic-community/mcp-gateway-registry

The installation and deployment process for agentic-community/mcp-gateway-registry involves cloning the repository, configuring environment variables, and running a deployment script.

Share
AI-generated conceptual illustration accompanying: Installation and Deployment Process for agentic-community/mcp-gateway-registry
AI-generated editorial illustration of the article topic; not a photograph, product screenshot or measured result.

Installation and Deployment Process

The installation and deployment process for the agentic-community/mcp-gateway-registry involves cloning the repository, configuring environment variables, and running a deployment script. According to the project's documentation, users can clone the repository using git clone https://github.com/agentic-community/mcp-gateway-registry.git, then copy the example environment file with cp .env.example .env and edit it to set required secrets. Deployment can be initiated with ./build_and_run.sh --prebuilt, which pulls pre-built images from Amazon ECR Public by default. The Registry UI is accessible via http://localhost on macOS or xdg-open http://localhost on Linux. For enterprise deployment, the Complete Installation Guide provides detailed steps for Amazon EC2, including prerequisites, MongoDB and Keycloak initialization, user and service account setup, server registration, and gateway testing. Additional configuration details, such as server reachability with append_mcp_path: false, are outlined in the documentation.

Security and Authentication Features

The Security and Authentication Features of the agentic-community/mcp-gateway-registry project emphasize robust access control and credential management. Callers authenticate via a single gateway entry point, using OAuth against existing identity providers such as Keycloak, Entra ID, Okta, Auth0, Cognito, and PingFederate, with support for fine-grained scopes. The backend URL and its credentials are stored in the registry, encrypted at rest, and injected at egress, ensuring secure transmission. Per-entity streaming and consistent audit, rate limit, and scope enforcement are applied uniformly across the system. Additionally, the gateway brokers third-party SaaS credentials on behalf of users, eliminating the need for tokens to reside on user devices through mechanisms like per-user egress authentication (3LO / OBO / PAT).

Performance and Optimization Enhancements

The Performance and Optimization Enhancements section of the GitHub - agentic-community/mcp-gateway-registry project outlines several improvements aimed at increasing efficiency and reliability. One key enhancement involves the use of pooled mcpgw connections, which maintain a single HTTP client for registry and token traffic instead of opening a new connection for each tool call. This approach, along with a 30-second keep-alive configuration for registry and auth-server pools (as opposed to the default 5 seconds in httpx), helps reduce overhead and improve performance.

  • github.com: Pooled mcpgw Connections, Calling Tools Found by Search, and an Opt-In OBO Token Cache - mcpgw keeps one pooled HTTP client for its registry and token traffic instead of opening a new connection for every tool call, with its own copy of the registry's egress guard, and the registry and auth-server pools now use their configured 30-second keep-alive instead of the httpx default of 5.
  • github.com: Keycloak OBO Token Exchange, Users in Many Groups, and Bounded Registrant Metadata - Egress on-behalf-of now works with Keycloak: the auth server exchanges the user's token for one scoped to the target client (RFC 8693), verifies it, and refuses it if the gateway itself would accept it, so the upstream cannot replay it against the gateway.
  • github.com: Users in about 180 or more IdP groups no longer get a 500 from registry API calls, because groups now cross nginx once inside the signed token and the auth subrequest has room for them.

Registry Functionality and Compatibility

The Registry Functionality and Compatibility section highlights key design choices in the mcp-gateway-registry project. Registrant metadata is limited to 10 KB and 8 levels, with discovery tools returning it only when specific keys are requested by the caller. This ensures efficient data handling and targeted access. Regarding embeddings, the registry no longer uses LiteLLM for remote embeddings, instead directly calling OpenAI and compatible endpoints, Azure OpenAI, and Amazon Bedrock services like Titan and Cohere. This approach maintains consistency in vector storage by replicating the same request patterns, and the system rejects unsupported model names at startup rather than on first use. Additionally, servers registered with append_mcp_path: false are now accessible via their advertised bare path, improving compatibility with MCP clients that do not follow redirects to trailing-slash forms.

Release History and Feature Evolution

The mcp-gateway-registry project has seen a series of feature updates across its release history. Per-user egress authentication, including 3LO and OBO support, along with A2A traffic routing, was introduced in version 1.27.0. The ability to act as a gateway for any HTTP resource was added in 1.30.0, and backend OAuth identity and per-tool blocking were included in 1.31.0. In 1.33.0, the release notes highlight additional improvements, though specific details are directed to the GitHub Releases page for full per-version documentation. Notably, as of 1.31.0, the registry began publishing its own Client ID Metadata Documents (CIMD) for coding assistants, though this feature is currently disabled by default. Users are encouraged to consult the release notes for detailed information on each version's changes and capabilities.

Sources and reporting notes

Based on published source material. No independent hands-on testing is claimed.

Read more