{"version":"1.0.54","anchor":"dynamic-oauth-callback-port-configuration","canonical_anchor":"dynamic-oauth-callback-port-configuration","heading":"Dynamic OAuth Callback Port Configuration","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/1.0.54\/e\/dynamic-oauth-callback-port-configuration","release_url":"https:\/\/changelogs.core-directive.com\/v\/1.0.54","markdown":"### Dynamic OAuth Callback Port Configuration\n\n- **Added environment variable support for OAuth callbacks**: You can now set `MCP_OAUTH_CALLBACK_PORT` to specify a custom OAuth callback port\n- **Improved port selection for Windows**: OAuth callback port range now adapts based on platform (Windows: 39152-49151, others: 49152-65535)\n- **Example usage**:\n\n`  export MCP_OAUTH_CALLBACK_PORT=45000\n  claude-code`"}