Skip to content

Commit c762819

Browse files
committed
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>
1 parent 43eaf4d commit c762819

1 file changed

Lines changed: 12 additions & 7 deletions

File tree

‎packages/apps/connector-github/README.md‎

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,18 @@ install dialog right after installing. An environment variable named
3434
`GITHUB_MCP_TOKEN` on the server takes precedence over a stored value.
3535

3636
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.
4449

4550
The token is only ever sent to GitHub. It is never stored in the app's
4651
metadata.

0 commit comments

Comments
 (0)