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
PythonApache-2.0Created 2025-05-08ibm.github.io/mcp-context-forge/
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

Discussions

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

Snapshot: 2026-11-28T10:06:57Z · Data license Apache-2.0 · JSON