Server facts
ContextForge MCP Server
Project
- Author
- IBM
- Repository
- github.com/IBM/mcp-context-forge
- License
- Apache-2.0
- Category
- MCP Gateways & Proxies
Tech
- Runtime / language
- pythonPython
- Transports
- stdio
- Remote available
- No
- Authentication
- Not specified
Activity
- GitHub stars
- 4,646
- Last commit
- Data as of
Tags
- Agent Routing
- Api Federation
- Governance
- Mcp Gateway
- Observability
Overview
ContextForge is a registry and proxy for bringing different AI-facing services under shared management. Rather than providing one fixed application toolset, it federates MCP servers, A2A agents, and REST or gRPC APIs. Registered backends can be assembled into virtual servers for clients, while common discovery, authentication, and observability controls sit at the gateway layer. The README also describes routing for OpenAI-compatible and Anthropic agents.
The gateway can adapt REST endpoints into MCP tools and discover gRPC services through reflection. Registries cover tools, resources, and prompts, including prompt templates and versioning. Operational features include retries, rate limits, input validation, concurrency controls, and an administrative interface with log inspection. OpenTelemetry support connects tracing to OTLP backends such as Phoenix, Jaeger, or Zipkin. Redis-backed caching and federation support deployments that extend beyond a single gateway process.
The quick start launches the Python package through uvx, with container and Kubernetes deployment paths also described. Configuration includes administrator credentials, UI settings, and token-related secrets; the sample values need customization. After startup, the example registers a backend, inspects its tools, and creates a virtual server before connecting an MCP client. A separate stdio wrapper is available for clients that need process-based access to the HTTP endpoint. The actual tools visible to a client depend on the services registered and the virtual server assembled for it.
Install & configure
Requirements
- Python 3.11 or newer
- uv for this launch method
- Backend services to register
- curl and jq only for the README smoke test
uvx --from mcp-contextforge-gateway mcpgateway --host 0.0.0.0 --port 4444This starts the HTTP gateway rather than a stdio MCP process. Customize the provided environment configuration, register backends, and create a virtual server. Its generated identifier determines the client MCP URL. A separate stdio wrapper is documented.
Examples are translated from the published configuration. Supply your own credentials and verify requirements in the upstream README. Remote connectors are shown only where a supported configuration format is known.
Config file · macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Use Settings → Developer → Edit Config when available. Do not assume a Linux configuration path; check the client documentation for your platform. Remote servers use the app’s connector flow when supported, not the local stdio file shown here. Merge this example with existing settings; do not overwrite unrelated servers.
No install command stated in the README — see repo. Check the client documentation for a supported connection method.
Read the Claude Desktop setup guideConfig file · Project: .cursor/mcp.json
User: ~/.cursor/mcp.json
The project path is relative to the workspace root. The tilde denotes your user home directory. Use Cursor’s MCP settings to confirm which configuration and scope your installed version is reading. Merge this example with existing settings; do not overwrite unrelated servers.
No install command stated in the README — see repo. Check the client documentation for a supported connection method.
Read the Cursor setup guideConfig file · Workspace: .vscode/mcp.json
For user scope, use the “MCP: Open User Configuration” command if available. Do not guess a user configuration path across operating systems, profiles, containers, or remote workspaces; check the client documentation. Merge this example with existing settings; do not overwrite unrelated servers.
No install command stated in the README — see repo. Check the client documentation for a supported connection method.
Read the VS Code setup guideConfig file · macOS/Linux: ~/.codeium/windsurf/mcp_config.json
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Open the MCP configuration through Windsurf’s settings when possible to confirm the active file. Paths can differ in managed or future releases; check the client documentation if this location is not present. Merge this example with existing settings; do not overwrite unrelated servers.
No install command stated in the README — see repo. Check the client documentation for a supported connection method.
Read the Windsurf setup guideConfig file · Project scope: .mcp.json at the repository root
The project file uses mcpServers. For user scope, use claude mcp add --scope user rather than assuming .mcp.json in your home directory is the user configuration. Check the client documentation for managed settings and storage details. Merge this example with existing settings; do not overwrite unrelated servers.
No install command stated in the README — see repo. Check the client documentation for a supported connection method.
Read the Claude Code setup guideExamples are translated from the published configuration. Supply your own credentials and verify requirements in the upstream README. Remote connectors are shown only where a supported configuration format is known.
Tools
No individual tool names were confirmed in the source material. Check the repository for its current tool list.
Names, permissions, and defaults can change. Check the current upstream documentation before granting access.
Use cases
- Aggregate tools from several MCP servers into a virtual endpoint.
- Expose an existing REST or gRPC service to MCP clients.
- Centralize authentication and tracing for assistant-facing services.
- Manage registered tools, prompts, resources, and agents through an admin interface.
Strengths
- Federates multiple service and agent protocols.
- Combines discovery, governance controls, and observability.
- Supports plugin extensions and deployment beyond a single process.
Limitations
- Requires backend registration and virtual-server configuration after startup.
- The available tool catalog depends on connected services.
- Quick-start credentials and signing secrets require customization.
Frequently asked questions
Independent listing, not an affiliation or security review. Grant the least access needed and verify the upstream instructions before running code.