GitHub MCP (stdio)
Official @modelcontextprotocol GitHub stdio — all 26 tools verified by handshake; bring your own token.
Specs
Verified:
- Transport
- stdio (local npx)
- Package
- @modelcontextprotocol/server-github@2025.4.8
- Tools
- 26 (verified via stdio handshake)
- Auth
- Credential-free handshake; calls need a GitHub token
- Vendor
- @modelcontextprotocol official reference server
npm package `@modelcontextprotocol/server-github` (latest 2025.4.8, verified via npm view on 2026-11-21) — one of the official reference servers. Live-verified via `npx` initialize + tools/list on 2026-11-21: **26 tools**, all named (create_or_update_file / search_repositories / create_repository / get_file_contents / push_files / create_issue / create_pull_request / fork_repository / create_branch / list_commits / list_issues / update_issue / add_issue_comment / search_code / search_issues / search_users / get_issue / get_pull_request / list_pull_requests / create_pull_request_review / merge_pull_request / get_pull_request_files / get_pull_request_status / update_pull_request_branch / get_pull_request_comments / get_pull_request_reviews). Handshakes credential-free; real calls need a GitHub token. For the remote variant see the mcp-github entry.
Key features
- Official reference server (servers repo)
- 26 tools: repos/issues/PRs/search covered
- Local form — pair with a token for private repos
Use cases
Private repos / offline flows: runs locally, token supplied — complements the remote variant.
Install
`codex mcp add github-stdio --env GITHUB_PERSONAL_ACCESS_TOKEN=<TOKEN> -- npx -y @modelcontextprotocol/server-github`. Lands in the `mcp_servers.github-stdio` section of config.toml.
Caveats
Write tools (push/merge/PR review) fire as soon as the token permits — grant only the scopes the README calls for (`repo` for private repos).
Added
Updated
Verified