IBM ContextForge — Enterprise AI Gateway for MCP/A2A/REST APIs

Source: GitHub — https://github.com/IBM/mcp-context-forge (★4,074, Python, Apache 2.0)

Core Idea

ContextForge is an open-source AI Gateway, registry, and proxy that federates any MCP, A2A, or REST/gRPC API into a single unified endpoint with centralized governance, discovery, and observability. It acts as the control plane for enterprise AI tooling — replacing the need for point-to-point integrations between AI agents and backend services.

Key Details

  • Three gateway layers: Tools Gateway (MCP, REST, gRPC-to-MCP), Agent Gateway (A2A protocol, OpenAI/Anthropic agent routing), API Gateway (rate limiting, auth, retries)
  • 40+ plugins for additional transports, protocols, and integrations
  • Admin UI built with HTMX 2.0 + Alpine.js for real-time management, configuration, and log monitoring
  • OpenTelemetry observability with Phoenix, Jaeger, Zipkin, and other OTLP backends
  • Scalable: Docker/PyPI deployment, Redis-backed caching, multi-cluster Kubernetes federation
  • Built by IBM — enterprise-grade with 7,000+ tests
  • Published on PyPI as mcp-contextforge-gateway, also available via Docker (ghcr.io/ibm/mcp-context-forge)

Why This Matters

ContextForge represents IBM’s entry into the AI gateway space, competing with LiteLLM, Portkey, and Plano. Its key differentiator is native support for A2A (Agent-to-Agent protocol) alongside MCP, plus gRPC-to-MCP translation via server reflection. This makes it a strong candidate for enterprises that need to federate heterogeneous tool interfaces behind a single governance layer. The plug-in architecture (40+ plugins) also gives it flexibility that more opinionated gateways lack.

Relevance to Hermes

ContextForge’s MCP gateway approach aligns with the Hermes Agent’s MCP-based tool system. It could serve as a federation layer for Hermes to access enterprise tools without configuring individual MCP servers — similar to how Hermes gateway already handles MCP server registration, but at an organizational scale.