You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> **Note**: For Claude Code versions **2.1.1 and newer**, use the `add-json` command format below. For older versions, see the [legacy command format](#for-older-versions-of-claude-code).
32
+
31
33
1. Run the following command in the terminal (not in Claude Code CLI):
claude mcp add-json github '{"type":"http","url":"https://api.githubcopilot.com/mcp","headers":{"Authorization":"Bearer YOUR_GITHUB_PAT"}}' --scope user
@@ -161,7 +182,4 @@ Add this codeblock to your `claude_desktop_config.json`:
161
182
162
183
- The npm package `@modelcontextprotocol/server-github` is deprecated as of April 2025
163
184
- Remote server requires Streamable HTTP support (check your Claude version)
164
-
- Configuration scopes for Claude Code:
165
-
-`-s user`: Available across all projects
166
-
-`-s project`: Shared via `.mcp.json` file
167
-
- Default: `local` (current project only)
185
+
- For Claude Code configuration scopes, see the `--scope` flag documentation in the [Remote Server Setup](#remote-server-setup-streamable-http) section
0 commit comments