Read and change GitHub repositories, issues, pull requests, Actions and security alerts through GitHub's hosted endpoint or a local binary/Docker server, with toolset, read-only and lockdown controls.
Browsing code, commits and files across repositories the signed-in account can access.
Triaging and editing issues and pull requests, including reviews and merges.
Inspecting GitHub Actions runs and code-scanning, Dependabot and secret-scanning alerts.
Read-only exploration via the hosted `/readonly` URL or the local `--read-only` flag.
Choose another option when
Anonymous access: every mode needs a GitHub credential (OAuth, PAT or GitHub App).
GitLab, Bitbucket or plain local git repositories.
GitHub Enterprise Server through the hosted endpoint (remote hosting is not supported there; local server only).
Treating lockdown mode as an access boundary; the source says it is a best-effort content filter only.
Unattended or untrusted use with the default toolsets: `repos` includes delete_file and delete_repository (which needs the delete_repo scope) and `pull_requests` includes merge_pull_request.
Vendor cloud
Read and write. OAuth works only if the MCP host has registered a GitHub App or OAuth App for remote access; support varies by host. Org access is governed by OAuth App access policies or GitHub App installation, plus SSO enforcement. For Copilot editors (VS Code, Copilot coding agent), the org/enterprise 'MCP servers in Copilot' policy can block all access; Copilot Business/Enterprise members need it enabled. OAuth uses scope challenges when a tool needs a scope not yet granted.
Software: Not applicable; hosting: Not applicable; external API: Free tier.
Vendor cloud
Read only · no declared code execution. Same OAuth conditions as hosted-oauth. The /readonly path serves the default toolset with only read tools; /x/all/readonly and /x/{toolset}/readonly are documented siblings. Read-only takes precedence over any tool/toolset request.
Software: Not applicable; hosting: Not applicable; external API: Free tier.
No setup recipe published
This is a reference entry. The catalog has no published setup recipe for this server and does not generate one.
Use the publisher’s own instructions in the sources on this page. A listing here is not a compatibility test.
OAuth works only if the MCP host has registered a GitHub App or OAuth App for remote access; support varies by host. Org access is governed by OAuth App access policies or GitHub App installation, plus SSO enforcement. For Copilot editors (VS Code, Copilot coding agent), the org/enterprise 'MCP servers in Copilot' policy can block all access; Copilot Business/Enterprise members need it enabled. OAuth uses scope challenges when a tool needs a scope not yet granted.
Runtime
Hosted service (version not recorded)
Data contact
Repository content, Account information
Access and execution
Read and write
Permissions
Default toolsets: context, repos, issues, pull_requests, users; 'all' or per-toolset URLs (/x/{toolset}) and X-MCP-Toolsets / X-MCP-Tools / X-MCP-Exclude-Tools headers change the set. Default `repos` toolset includes write tools such as create_or_update_file, push_files, delete_file and delete_repository (needs delete_repo scope); pull_requests includes merge_pull_request; actions can trigger workflow runs. Remote-only toolsets: copilot (create_pull_request_with_copilot invokes Copilot coding agent), copilot_spaces, github_support_docs_search. Access never exceeds what the credential can do via the GitHub API. Lockdown (X-MCP-Lockdown) is a best-effort prompt-injection filter, not an authorization boundary. Source declared
Available to all GitHub users regardless of plan type; tools whose GitHub feature needs a paid GitHub or Copilot license require the same license (example given: Copilot cloud agent tools need a paid Copilot license). Subject to GitHub API rate limits per auth method; no MCP-specific limit values found.
Same OAuth conditions as hosted-oauth. The /readonly path serves the default toolset with only read tools; /x/all/readonly and /x/{toolset}/readonly are documented siblings. Read-only takes precedence over any tool/toolset request.
Runtime
Hosted service (version not recorded)
Data contact
Repository content, Account information
Access and execution
Read only · no declared code execution
Permissions
Read-only filter is server-side tool filtering; the OAuth grant itself may still carry write scopes (the credential is not narrowed by /readonly). Private-repo content readable by the account is in scope. Source declared
GitHub personal access token sent as `Authorization: Bearer <PAT>` header. Source says any host supporting remote MCP servers should work with PAT auth. Fine-grained PATs recommended; org owners may require approval for fine-grained PATs or block classic PATs; SSO orgs need an SSO-authorized token. How the header secret is stored depends on the client. Fine-grained PATs are issued at https://github.com/settings/personal-access-tokens/new.
Runtime
Hosted service (version not recorded)
Data contact
Repository content, Account information
Access and execution
Read and write
Permissions
Same tool surface as hosted-oauth, bounded by the PAT's repositories and permissions. Classic PATs (ghp_ prefix) get tools filtered by token scopes at startup; fine-grained and other tokens see all tools and the API enforces permissions. X-MCP-Readonly header gives read-only. Source declared
Your client host · Local process · stdio · github-releases github/github-mcp-server v2.2.0
Reference only
Version
v2.2.0
Authentication
OAuth
Account and credentials
Official release binaries embed a registered GitHub OAuth app (github.com only): `github-mcp-server stdio` with no token runs authorization-code + PKCE on a random loopback port and opens the browser; falls back to URL elicitation, then a URL in the first tool response, then device-code flow. Token kept in memory only. GHES and ghe.com need the user's own OAuth/GitHub App (--oauth-client-id). --oauth-scopes narrows both the grant and the exposed tools. This is a local browser login. Release binaries are per-platform archives; no install command is recorded here.
Runtime
Native binary (version not recorded)
Data contact
Repository content, Account information
Access and execution
Read and write
Permissions
Same default toolsets and write tools as the hosted server minus remote-only toolsets. --read-only / GITHUB_READ_ONLY, --toolsets, --tools, --exclude-tools, --lockdown-mode are local equivalents. Opens a loopback callback listener during login. api.github.com / github.com as destinations are inferred from the github.com OAuth/device flow and GitHub API use, not quoted as a list; GITHUB_HOST redirects to GHES/ghe.com. Source declared
Your client host · Local process · stdio · github-releases github/github-mcp-server v2.2.0
Reference only
Version
v2.2.0
Authentication
API key
Account and credentials
GITHUB_PERSONAL_ACCESS_TOKEN environment variable; takes precedence over OAuth. GITHUB_HOST (https:// required, non-HTTPS refused except loopback) targets GHES or ghe.com. A GitHub App installation-token mode for non-interactive stdio is documented separately (docs/github-app-auth.md, not checked). Release binaries are per-platform archives; no install command is recorded here.
Runtime
Native binary (version not recorded)
Data contact
Repository content, Account information
Access and execution
Read and write
Permissions
Bounded by the PAT. README's 'minimum scopes' list (repo, read:packages, read:org) is broad for classic tokens; fine-grained PATs recommended by the governance doc. api.github.com inferred, not quoted. Source declared
Your client host · Local process · stdio · oci ghcr.io/github/github-mcp-server
Reference only
Version
Not recorded
Authentication
OAuth
Account and credentials
Needs `-p 127.0.0.1:8085:8085 -e GITHUB_OAUTH_CALLBACK_PORT=8085` (port 8085 matches the baked-in app's registered callback). Must publish to loopback only: inside the container the callback listens on all interfaces, so a plain `-p 8085:8085` exposes the authorization code to the network. A busy port is fatal by design. Container cannot open the host browser, so the URL arrives by elicitation or tool response; device-code fallback without a published port. These are the VS Code one-click Docker buttons.
Runtime
Docker (version not recorded)
Data contact
Repository content, Account information
Access and execution
Read and write
Permissions
Same tool surface as binary-stdio-oauth. Publishes a host port for the OAuth callback; when no elicitation is available the authorization URL is placed in a tool response (enters model context), which the source flags with a security advisory. Source declared
Read-only mode, per-toolset selection, tool exclusion and a lockdown content filter can be set by URL path or headers (hosted) or flags/env vars (local).
Conditions: Lockdown is a best-effort prompt-injection filter, not an authorization boundary.