Skip to main content
Each MCP server supports two authentication modes:
  • ezforge_managed — ezForge handles OAuth 2.0 / OIDC. Clients register via the OAuth clients API and tokens are issued by the ezForge authorization server.
  • byoa (Bring Your Own Auth) — The server delegates authentication to an external OIDC provider. You supply the provider’s endpoints and ezForge forwards the token to your MCP server for full JWT verification.
See MCP Auth for full details. Required scope: Session authentication only (no API key scope defined for this endpoint).

Get auth config

Returns the current auth mode and BYOA configuration (if applicable). Response 200: For ezforge_managed:
For byoa:

Update auth config

Changes the authentication mode. When switching to byoa, all four BYOA config fields are required. Request body — switch to ezforge_managed:
Request body — switch to byoa:
Fields: Response 200: Updated auth config object (same shape as GET response).