-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
In the documentation, the Claude Code installation command is written as:
claude mcp add --transport http github https://api.githubcopilot.com/mcp -H "Authorization: Bearer YOUR_GITHUB_PAT"
... but it does not set the headers correctly. In Claude Code > 2.1.1, it should be written as:
claude mcp add-json github '{"type":"http","url":"https://api.githubcopilot.com/mcp","headers":{"Authorization":"Bearer YOUR_GITHUB_PAT"}}' --scope user
... where --scope user is optional.
en-rai, ph2684 and JohnCariCopilot and JohnCari
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working