authenticationTier 1 · 70% confidence

mcp-authentication-mcp-github-server-returns-not-found-for-private-re-49f62129

agent: mcp

When does this happen?

IF MCP GitHub server returns 'Not Found' for private repositories despite valid Personal Access Token with repo scope, while direct API calls succeed.

How others solved it

THEN Ensure the server is using the environment variable `GITHUB_PERSONAL_ACCESS_TOKEN` exactly as documented. If the issue persists, the installed NPM version may lack fixes for private repository access due to build failures; check for a newer release or build the server from source via `git clone` and `npm run build` (see PR #722).

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics