fix(claude): restore native MCP OAuth login - #95
Merged
Conversation
lxcong
added a commit
that referenced
this pull request
Aug 22, 2026
🤖 I have created a release *beep* *boop* --- ## [1.14.0](v1.13.1...v1.14.0) (2026-08-22) ### Features * add Cursor, Gemini CLI, and Antigravity plugin support ([#91](#91)) ([49a015b](49a015b)) * add DeepSeek Harness and Kimi MCP routing ([#96](#96)) ([97e3ab2](97e3ab2)) ### Bug Fixes * **claude:** restore native MCP OAuth login ([#95](#95)) ([efc2809](efc2809)) * **plugins:** package Gemini releases and improve OAuth ([#94](#94)) ([fbec683](fbec683)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
userConfigprompt and staticAuthorizationheader/mcpAuthenticate action andclaude mcp login plugin:agentkey:agentkeyRoot cause
Claude Code treats any configured
Authorizationheader as an explicit choice of header authentication. When the interpolated API key is empty, the server returns 401, but Claude Code does not offer or fall back to OAuth because the header is present. Removing the header and itsuserConfigsource restores native MCP OAuth discovery.Impact
The runtime authentication change is limited to the Claude Code plugin path (
.claude-plugin/plugin.json+ root.mcp.json). The Skills CLI/API-key setup path and the Codex, Cursor, Kimi, Gemini, and Antigravity MCP configurations are unchanged.Shared documentation and CI path filters are updated to describe and protect this Claude-specific behavior.
Validation
bats tests/— 29 tests passedclaude plugin validate --strict .— passedNeeds authenticationclaude mcp login plugin:agentkey:agentkey --no-browsergenerated the AgentKey OAuth authorization URLgit diff --check origin/main...fork/codex/fix-claude-code-oauth— passed