sincecutoff.com
← all changes

github-mcp-server STDIO OAuth login

Introduced 2026-06-27 · score 0.97

HOW TO USE IT

If connecting the local GitHub MCP server over STDIO on github.com without a PAT, run `github-mcp-server stdio` from an official released build; first use starts browser OAuth and keeps the token in memory. For Docker, publish the callback port on loopback and set `GITHUB_OAUTH_CALLBACK_PORT=8085`.

github-mcp-server stdio
docker run -i --rm -p 127.0.0.1:8085:8085 -e GITHUB_OAUTH_CALLBACK_PORT=8085 ghcr.io/github/github-mcp-server

WHY THIS HELPS

Connect a local STDIO GitHub MCP server when you do not have a personal access token.

BEFORE THIS CHANGE

The v1.4.0 local-server documentation required creating a GitHub Personal Access Token for authentication.

REQUIREMENTS AND LIMITATIONS

  • Version: v1.5.0
  • stdio (required): Select the local STDIO server command.
  • --oauth-client-id <YOUR_CLIENT_ID>: Enables OAuth with your own app; official released builds default to their baked-in app on github.com.
  • GITHUB_OAUTH_CALLBACK_PORT=8085: Sets the fixed local OAuth callback port; needed for Docker's published callback port.
  • Prerequisite: Use an official released binary or Docker image for the baked-in OAuth app on github.com; first use launches browser authorization.
  • Prerequisite: Docker use requires Docker installed and running; publish callback port 8085 to 127.0.0.1 for OAuth.

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card