使用 MCP Context Forge 作为 MCP 网关和注册表
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 \
- Source: https://github.com/1991513ccie-png/skills
- Extracted from upstream docs: https://raw.githubusercontent.com/IBM/mcp-context-forge/HEAD/README.md
Documentation
- https://ibm.github.io/mcp-context-forge