IBM /mcp-context-forge
An AI Gateway, registry, and proxy that sits in front of any MCP, A2A, or REST/gRPC APIs, exposing a unified endpoint with centralized discovery, guardrails and management. Optimizes Agent & Tool calling, and supports plugins.
★ 4,904⑂ 996👁 35⑃ 3,733● 3,821▤ 32
Download: v1.1.2 - Release 2026-11-25 - MCP Subscriptions, A2A Agent Cards, AWS SigV4, and Security Hardeningv1.1.2 ↓1.1.22026-11-25
+10
Daily
+34
Weekly
4,904
stars
996
forks
35
watchers
3,733
prs
3,821
issues
32
releases
README
ContextForge An open source registry and proxy that federates MCP, A2A, and REST/gRPC APIs with centralized governance, discovery, and observability. Optimizes Agent & Tool calling, and supports plugins. !ContextForge Banner ContextForge is an open source registry and proxy that federates tools, agents, and APIs into one clean endpoint for your AI clients. It provides centralized governance, discovery, and observability across your AI infrastructure: - Tools Gateway — MCP, REST, gRPC-to-MCP translation, and TOON compression - Agent Gateway — A2A protocol, OpenAI-compatible and Anthropic agent routing - API Gateway — Rate limiting, auth, retries, and reverse proxy for REST services - Plugin Extensibility — 40+ plugins for additional transports, protocols, and integrations - Observability — OpenTelemetry tracing with Phoenix, Jaeger, Zipkin, and other OTLP backends It runs as a fully compliant MCP server, deployable via PyPI or Docker, and scales to multi-cluster environments on Kubernetes with Redis-backed federation and caching. !ContextForge Web UI --- Table of Contents - Overview & Goals - Quick Start - PyPI - Quick Start - Containers - Optional Web UI - VS Code Dev Container - Installation - Upgrading - Configuration - Running - Cloud Deployment - API Reference - Testing - Project Structure - Development - Troubleshooting - Contributing --- 📌 Quick Links | Resource | Description | |----------|-------------| | 5-Minute Setup | Get started fast — uvx, Docker, Compose, or local dev | | Getting Help | Support options, FAQ, community channels | | Issue Guide | How to file bugs, request features, contribute | | Full Documentation | Complete guides, tutorials, API reference | | Deprecations | Deprecated runtime paths and migration guidance | --- Overview & Goals ContextForge is an open source registry and proxy that federates any Model Context Protocol (MCP) server, A2A server, or REST/gRPC API, providing centralized governance, discovery, and observability. It optimizes agent and tool calling, and supports plugins. See the project roadmap for more details. It currently supports: Federation across multiple MCP and REST services A2A (Agent-to-Agent) integration for external AI agents (OpenAI, Anthropic, custom) gRPC-to-MCP translation via automatic reflection-based service discovery Virtualization of legacy APIs as MCP-compliant tools and servers Transport over HTTP, JSON-RPC, WebSocket, SSE (with configurable keepalive), and Streamable HTTP; stdio transport available for server-side use An Admin UI for real-time management, configuration, and log monitoring (with airgapped deployment support) A redesigned, more user-friendly Web UI that runs in a separate container Built-in auth, retries, and rate-limiting with user-scoped OAuth tokens and unconditional X-Upstream-Authorization header support OpenTelemetry observability with Phoenix, Jaeger, Zipkin, and other OTLP backen
Top issues
#5437Human in the loop Approval for tool execution15 comments · 2026-06-30#5694[FEATURE] ICA Metering Exporter Plugin — export MCP tool invocation metrics to ICA core-services9 comments · 2026-07-17#5368[UI-REWRITE][DESIGN]: ContextForge developer experience: A2A9 comments · 2026-06-24#5043[BUG]: Gateway OAuth Stores Token Per Admin User Instead of Per End-User9 comments · 2026-06-03#5731[UI]: ContextForge TUI7 comments · 2026-07-21#5848MUST remove or wire up 8 dead feature flags in config.py (settable but read by zero code)5 comments · 2026-07-25#4921[FEATURE]: Optional AgentID pre-tool-call authorization plugin example5 comments · 2026-05-27#2671[BUG]: ASGI protocol violation in streamable_http: response emitted after completion causing ClosedResourceError5 comments · 2026-02-03
Discussions
#7650Plugin idea: signed, independently checkable records of tool calls (tool_pre_invoke / tool_post_invoke)0 comments · 2026-11-22#7517Running IBM MCP Context Forge (MCP Gateway) on Dokploy with SQLite2 comments · 2026-11-12#7513External check of RFC 8693 token exchange on 1.1.1: results and two questions2 comments · 2026-11-11#7440Benchmark and plugin for catching poisoned MCP tools with a 1B model1 comments · 2026-11-04#7425Evaluation request: does a free pre-invocation check add anything to the gateway's own health probe? (shadow mode)0 comments · 2026-11-03#7321Contributor onboarding and review coordination for mTLS / header passthrough0 comments · 2026-10-22#7315A blind scan of the pre-fix token_scoping.py flagged the #1885 connection leak0 comments · 2026-10-22#7260IBM ContextForge Gateway included in AgentManager's tool catalog0 comments · 2026-10-18
Latest release
v1.1.2 - Release 2026-11-25 - MCP Subscriptions, A2A Agent Cards, AWS SigV4, and Security Hardening v1.1.2 2026-11-25[1.1.2] - MCP Subscriptions, A2A Agent Cards, AWS SigV4, and Security Hardening Overview Release 1.1.2 adds MCP subscriptions, A2A Agent Cards, AWS Signature V4 authentication, and Redis Cluster support. It also changes tool response filters to CEL and adds approval for virtual-server OAuth. This section covers 78 PRs merged directly into main. - Protocol & Transport - Modern MCP clients can receive catalog and resource updates. The gateway relays client input requests for prompts and resources. - API & Platform - A2A gains Agent Card fetch and storage, task follow-ups, agent testing, scop