mcp-context-forge) is IBM’s open-source MCP gateway and registry. Register Consensus from the Admin UI’s Gateways/MCP Servers tab or with the REST API.
Shared API key
MCPGATEWAY_BEARER_TOKEN is your ContextForge admin JWT, not the Consensus key.
Per-user OAuth
ContextForge implements Dynamic Client Registration and enables PKCE automatically for authorization-code flows:client_id and client_secret only if you’ve obtained a confidential client from Consensus; otherwise let the gateway register itself.
Notes
- Callers can pass their own Consensus token in
X-Upstream-Authorization; forwarding the plainAuthorizationheader requiresENABLE_SENSITIVE_HEADER_PASSTHROUGH. - The
transportvalue is case-insensitive in recent builds; check your instance’s/docsOpenAPI ifSTREAMABLEHTTPis rejected.