-
Notifications
You must be signed in to change notification settings - Fork 3.4k
docs: Add Claude Code OAuth plugin warning and troubleshooting #1833
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,6 +2,8 @@ | |
|
|
||
| ## Claude Code CLI | ||
|
|
||
| > ⚠️ **Important**: Claude Code includes a built-in `github@claude-plugins-official` plugin that attempts OAuth authentication. This plugin currently fails with "Incompatible auth server: does not support dynamic client registration" due to a compatibility issue between Claude Code's OAuth implementation and GitHub's MCP server ([anthropics/claude-code#3273](https://github.com/anthropics/claude-code/issues/3273)). **Use the PAT-based setup below instead**, which bypasses OAuth entirely and works reliably. | ||
|
|
||
| ### Prerequisites | ||
| - Claude Code CLI installed | ||
| - [GitHub Personal Access Token](https://github.com/settings/personal-access-tokens/new) | ||
|
|
@@ -155,6 +157,20 @@ Add this codeblock to your `claude_desktop_config.json`: | |
|
|
||
| ## Troubleshooting | ||
|
|
||
| **Built-in Plugin OAuth Errors:** | ||
|
|
||
| If you see "Incompatible auth server: does not support dynamic client registration" when running `/mcp` in Claude Code, the built-in `github@claude-plugins-official` plugin is conflicting with the manual setup. To resolve: | ||
|
|
||
| 1. Disable the built-in plugin: | ||
|
||
| ```bash | ||
| claude plugins disable github@claude-plugins-official | ||
| ``` | ||
| Or in `~/.claude/settings.json`, set `"github@claude-plugins-official": false` under `enabledPlugins`. | ||
|
|
||
| 2. Use the PAT-based setup described above instead. | ||
|
|
||
| 3. Verify with `claude mcp list` — you should see `github: ✓ Connected` (the manual config) and the plugin entry should no longer appear. | ||
|
|
||
| **Authentication Failed:** | ||
| - Verify PAT has `repo` scope | ||
| - Check token hasn't expired | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The warning message is very long (over 60 words in a single sentence). Consider breaking it into multiple sentences or bullet points for better readability. For example: Start with the problem statement, then explain the cause, and finally provide the solution in separate sentences.