Use MCP Context Forge as an MCP gateway and registry
Put a governed gateway in front of MCP, A2A, REST, and gRPC tools so agent calls can be discovered, routed, observed, and controlled.
Prerequisites
Python 3.11+, Docker optional, MCP-compatible clients, optional PostgreSQL or Redis for production-style deployment
Installation
Use the upstream install or setup path that matches your environment:
- pip install --upgrade pip
- pip install mcp-contextforge-gateway
- uv venv
- uv pip install mcp-contextforge-gateway
Requirements and caveats from upstream:
Basic usage or getting-started notes:
LLM-specific metrics: Token usage, costs, model performance
BASIC_AUTH_PASSWORD=pass \
MCPGATEWAY_UI_ENABLED=true \
Extracted from upstream docs: https://raw.githubusercontent.com/IBM/mcp-context-forge/HEAD/README.md