clientId support for MCP OAuth
OpenAI Developer Community
June 9, 2026
Hi team,
Codex CLI doesn’t support MCP OAuth for a remote server using a static static clientId
In our organisation we use Okta, DCR is currently not supported. As a workaround we use a static clientId.
AFAIK in Codex clientId is not supported as a config for MCPs
This makes our custom MCPs not usable in Codex
The following config works in claude:
{
“mcpServers”: {
“platform-docs”: {
“type”: “http”,
“url”: “…”,
“oauth”: {
“clientId”: “…”,
“authServerMetadataUrl”: “…”,
“callbackPort”: 8090
}
}
}
}
Please help.
Discussion in the ATmosphere