Dynamic OAuth Callback Port Configuration #
- Added environment variable support for OAuth callbacks: You can now set
MCP_OAUTH_CALLBACK_PORTto specify a custom OAuth callback port - Improved port selection for Windows: OAuth callback port range now adapts based on platform (Windows: 39152-49151, others: 49152-65535)
- Example usage:
export MCP_OAUTH_CALLBACK_PORT=45000
claude-code