{"full_name":"IBM/mcp-context-forge","owner":"IBM","name":"mcp-context-forge","shard":"1","url":"https://github.com/IBM/mcp-context-forge","description":"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.","homepage":"https://ibm.github.io/mcp-context-forge/","topics":["agents","ai","api-gateway","asyncio","authentication-middleware","devops","docker","fastapi","federation","gateway","generative-ai","jwt","kubernetes","llm-agents","mcp"],"tag_pages":["agents","ai","api-gateway","asyncio","devops","docker","fastapi","federation","gateway","generative-ai","jwt","kubernetes","llm-agents","mcp"],"language":"Python","license":"Apache-2.0","avatar":"https://avatars.githubusercontent.com/u/1459110?v=4","created_at":"2025-05-08T08:16:59Z","pushed_at":"2026-11-27T18:49:44Z","metrics":{"stars":4904,"forks":996,"watchers":35,"issues":3821,"prs":3733,"releases":32,"issues_open":738,"issues_closed":3083,"prs_open":269,"prs_closed":818,"prs_merged":2646,"discussions":117},"growth":{"day":{"stars":10,"forks":1,"base_day":"2026-11-27"},"week":{"stars":34,"forks":13,"base_day":"2026-11-21"}},"history":{"dates":["2026-11-21","2026-11-22","2026-11-23","2026-11-24","2026-11-25","2026-11-26","2026-11-27","2026-11-28"],"stars":[4870,4875,4876,4882,4889,4891,4894,4904],"forks":[983,983,985,986,988,991,995,996],"watchers":[null,34,34,34,35,35,35,35],"issues_open":[null,733,734,733,737,737,740,738],"prs_open":[null,255,255,255,255,259,265,269]},"boards":{},"same_owner":[],"issues":[{"number":5437,"title":"Human in the loop Approval for tool execution","comments":15,"created_at":"2026-06-30T12:24:34Z"},{"number":5694,"title":"[FEATURE] ICA Metering Exporter Plugin — export MCP tool invocation metrics to ICA core-services","comments":9,"created_at":"2026-07-17T16:54:40Z"},{"number":5368,"title":"[UI-REWRITE][DESIGN]: ContextForge developer experience: A2A","comments":9,"created_at":"2026-06-24T15:07:35Z"},{"number":5043,"title":"[BUG]: Gateway OAuth Stores Token Per Admin User Instead of Per End-User","comments":9,"created_at":"2026-06-03T23:49:35Z"},{"number":5731,"title":"[UI]: ContextForge TUI","comments":7,"created_at":"2026-07-21T02:18:18Z"},{"number":5848,"title":"MUST remove or wire up 8 dead feature flags in config.py (settable but read by zero code)","comments":5,"created_at":"2026-07-25T06:06:59Z"},{"number":4921,"title":"[FEATURE]: Optional AgentID pre-tool-call authorization plugin example","comments":5,"created_at":"2026-05-27T16:44:14Z"},{"number":2671,"title":"[BUG]: ASGI protocol violation in streamable_http: response emitted after completion causing ClosedResourceError","comments":5,"created_at":"2026-02-03T11:40:53Z"}],"discussions":[{"number":7650,"title":"Plugin idea: signed, independently checkable records of tool calls (tool_pre_invoke / tool_post_invoke)","comments":0,"category":"Ideas","created_at":"2026-11-22T02:45:43Z"},{"number":7517,"title":"Running IBM MCP Context Forge (MCP Gateway) on Dokploy with SQLite","comments":2,"category":"Show and tell","created_at":"2026-11-12T08:36:16Z"},{"number":7513,"title":"External check of RFC 8693 token exchange on 1.1.1: results and two questions","comments":2,"category":"Q&A","created_at":"2026-11-11T06:05:07Z"},{"number":7440,"title":"Benchmark and plugin for catching poisoned MCP tools with a 1B model","comments":1,"category":"Show and tell","created_at":"2026-11-04T14:07:16Z"},{"number":7425,"title":"Evaluation request: does a free pre-invocation check add anything to the gateway's own health probe? (shadow mode)","comments":0,"category":"General","created_at":"2026-11-03T05:31:15Z"},{"number":7321,"title":"Contributor onboarding and review coordination for mTLS / header passthrough","comments":0,"category":"General","created_at":"2026-10-22T22:08:35Z"},{"number":7315,"title":"A blind scan of the pre-fix token_scoping.py flagged the #1885 connection leak","comments":0,"category":"Show and tell","created_at":"2026-10-22T14:13:09Z"},{"number":7260,"title":"IBM ContextForge Gateway included in AgentManager's tool catalog","comments":0,"category":"Show and tell","created_at":"2026-10-18T11:22:32Z"}],"latest_release":{"name":"v1.1.2 - Release 2026-11-25 - MCP Subscriptions, A2A Agent Cards, AWS SigV4, and Security Hardening","tag":"v1.1.2","published_at":"2026-11-25T09:38:04Z","body":"## [1.1.2] - MCP Subscriptions, A2A Agent Cards, AWS SigV4, and Security Hardening\n\n### Overview\n\nRelease 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`**.\n\n- **Protocol & Transport** - Modern MCP clients can receive catalog and resource updates. The gateway relays client input requests for prompts and resources.\n- **API & Platform** - A2A gains Agent Card fetch and storage, task follow-ups, agent testing, scoped metrics, and virtual-server interfaces.\n- **Security & Auth** - SigV4 signs gateway and REST tool requests. Expiring JWS signatures cover propagated identity claims. Virtual-server OAuth requires administrator approval.\n- **Operations & Tooling** - Redis Cluster support, upstream session tracing, and startup warnings help operators manage deployments.\n\n### Deprecation Notice\n\n- The Rust MCP and A2A runtime sidecars are removed. Use the Python MCP transport and Python A2A invocation path.\n\n- ValidationMiddleware remains deprecated since 2026-06-11, past its 2026-07-07 sunset. Use endpoint-level Pydantic or protocol-specific validation. See [Deprecations](../docs/docs/deprecations.md).\n\n### Added\n\n#### **Protocol & Transport**\n\n- **`subscriptions/listen` server support** ([#6573](https://github.com/IBM/mcp-context-forge/issues/6573), [#7414](https://github.com/IBM/mcp-context-forge/pull/7414)) - 2026-07-28 clients on streamable HTTP can open a `subscriptions/listen` stream and receive `tools`, `prompts`, and `resources` list-changed events. Each requested kind passes the same token-scope gate as its `*/list` call. Streams end at the token expiry or after `MCP_LISTEN_MAX_LIFETIME_SECONDS` (default `3600`); the gateway sends `notifications/cancelled` naming the listen request, then the completion result. Each worker limits concurrent streams to `MCP_LISTEN_MAX_STREAMS_PER_PRINCIPAL` (default `32`) per authenticated principal and `MCP_LISTEN_MAX_ANONYMOUS_STREAMS` (default `256`, `0` refuses anonymous streams) for all anonymous callers together; a stream past a limit gets `-32603` `Subscription limit reached`. Events cross workers only with `CACHE_TYPE=redis`. `POST /rpc` returns `-32601` for `subscriptions/listen`.\n\n- **Upstream input requests for prompts and resources** ([#7487](https://github.com/IBM/mcp-context-forge/pull/7487)) - Relay requests for client input during `prompts/get` and `resources/read`.\n\n#### **API & Platform**\n\n- **`mcpServerId` in responses** ([#6544](https://github.com/IBM/mcp-context-forge/issues/6544), [#7457](https://github.com/IBM/mcp-context-forge/pull/7457)) - Tool, resource, and prompt records, the MCP-server refresh result, and the impact preview now carry `mcpServerId` next to `gatewayId`. Both keys hold the same value. `gatewayId` stays until a later release announces its removal. A client that rejects unknown response fields must accept `mcpServerId` on `ToolRead`, `ResourceRead`, `PromptRead`, `GatewayRefreshResponse`, and `GatewayImpactPreview`.\n\n- **A2A agent test endpoint** ([#6696](https://github.com/IBM/mcp-context-forge/issues/6696), [#7362](https://github.com/IBM/mcp-context-forge/pull/7362)) - `POST /v1/a2a/{agent_id}/test` sends a test message to an agent and returns `result`, `agent_name`, and `test_timestamp`. It requires `a2a.invoke`. The optional body field `query` sets the message. Failures return 404, 502, 422, or 500 with a `detail` object holding `success`, `error`, `error_type` (`not_found`, `agent_error`, `agent_disabled`, `validation_error`, or `internal_error`), and `agent_id`. The Admin UI test route calls the same `A2AAgentService.test_agent()` method.\n\n- **A2A aggregate metrics endpoint** ([#6697](https://github.com/IBM/mcp-context-forge/issues/6697), [#7363](https://github.com/IBM/mcp-context-forge/pull/7363)) - `GET /v1/a2a/metrics` returns `A","is_prerelease":false},"readme":true,"readme_zh":false,"news":[],"stale":false,"snapshot_at":"2026-11-28T10:06:57Z","history_start":"2026-09-06"}