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
{{ message }}
Repository navigation
Commit c762819
Browse filesBrowse the repository at this point in the historyBrowse files
docs(connector-github): an under-scoped token leaves github_mcp disconnected and the server starting
The Credentials paragraph said a classic token whose scopes hide an
included tool stops the server from starting when set as the environment
variable. The mcp provider now degrades the instance on either path. It
also notes that GitHub's server keeps read tools that work on public
repositories, these two among them, listed whatever the scopes.
Claude-Session: https://claude.ai/code/session_017xRBcVBKAFk1ntXSjvPt7U
Co-authored-by: Claude <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: packages/apps/connector-github/README.md
+12-7Lines changed: 12 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,13 +34,18 @@ install dialog right after installing. An environment variable named
34
34
`GITHUB_MCP_TOKEN` on the server takes precedence over a stored value.
35
35
36
36
Prefer a fine-grained token. With a classic token, GitHub's server hides every
37
-
tool whose scope the token lacks. If that hides `search_issues` or
38
-
`issue_read`, the connector does not start without them: a value set in
39
-
**Connector Credentials** leaves `github_mcp` disconnected with a reason naming
40
-
the missing tools, and a value set as the server environment variable stops the
41
-
server from starting at all. Replace the token with one that carries the `repo`
42
-
scope: a new value in **Connector Credentials** takes effect at once, a new
43
-
environment variable at the next start.
37
+
tool whose scope the token lacks, though it keeps read tools that also work on
38
+
public repositories listed whatever the scopes, `search_issues` and
39
+
`issue_read` among them ([PAT scope filtering](https://github.com/github/github-mcp-server/blob/main/docs/scope-filtering.md#public-repository-access)).
40
+
If the server does leave out a tool this app includes, `github_mcp` stays
41
+
disconnected with a reason naming the missing tools and both possible causes,
42
+
the token's scopes or the app's declaration, and its flows fail; the server
43
+
itself keeps starting, wherever the value is set. Replace the token with one
44
+
that carries the `repo` scope: a new value in **Connector Credentials** takes
45
+
effect at once, a new environment variable at the next start. Widening the
46
+
scopes of the token you already use works too: set it again in **Connector
47
+
Credentials**, or, for the environment variable, wait for the connector's next
48
+
automatic retry, at most five minutes away.
44
49
45
50
The token is only ever sent to GitHub. It is never stored in the app's
0 commit comments