{
  "slug": "github-mcp-server-stdio-oauth-login-830811944300",
  "title": "github-mcp-server STDIO OAuth login",
  "tools": [
    "github-mcp-server"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-06-27T08:28:11.000Z",
  "announced_at": "2026-06-27T08:28:11.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "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`.",
    "examples": [
      "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"
    ],
    "gotchas": [
      "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."
    ]
  },
  "why_it_matters": "Connect a local STDIO GitHub MCP server when you do not have a personal access token.",
  "before": "The v1.4.0 local-server documentation required creating a GitHub Personal Access Token for authentication.",
  "sources": [
    "https://github.com/github/github-mcp-server/releases/tag/v1.5.0",
    "https://github.com/github/github-mcp-server/blob/v1.5.0/docs/oauth-login.md",
    "https://github.com/github/github-mcp-server/blob/v1.5.0/README.md",
    "https://github.com/github/github-mcp-server/blob/v1.4.0/README.md"
  ],
  "rank": 0.97049,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v1+judge-v2x3-rejudge+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "backfill-20261007",
    "verdict_id": "backfill-20261007:backfill-20261007-f53cf65f7f5c1b3a-0:rescue",
    "evidence_hash": "4dbf71d23a6a98e390735f983b0a963722e58d0dff9ac4261ed3fb8c8a91de0b"
  },
  "review": {
    "draft_hash": "ad8ca41658381c1f284b152cade4634d424590957ca074e900433fd21165932a",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "backfill-20261007:rescue",
    "reason": "Rescue path: first rejected only because the extracted card lacked usage; judged again on the enriched card, 3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.97 >= 0.9; 2 needed) and Jev gave 0.71 (>= 0.6 needed)."
  }
}
