GitHub · Vendor

GitHub MCP Server

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.

Is it a fit?

Suitable for

  • 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.

Check client compatibility · Troubleshoot a setup

What the record establishes

Publisher identity
Source matched; this is not a general safety certification.
Editorial record
Human review recorded ·
Last content review
Next review due
License
MIT
Network observation
No network check is inferred from this directory record. A client test, a recipe test, and your own task result are separate evidence.

Runtime variants, permissions, and costs

Vendor cloud · Streamable HTTP · fixed endpoint api.githubcopilot.com

Reference only
Version
Not recorded
Authentication
OAuth
Account and credentials
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
External destinations
api.githubcopilot.com

Three layers of cost

Software
Not applicable

Vendor-hosted endpoint.

Checked
Review due

raw.githubusercontent.com
Hosting
Not applicable

Runs on GitHub infrastructure.

Checked
Review due

raw.githubusercontent.com
External API
Free tier

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.

Checked
Review due

docs.github.com · raw.githubusercontent.com
Variant sources and lifecycle

Source lifecycle: Unknown · observed Not recorded. This is not a live connection check.

Vendor cloud · Streamable HTTP · fixed endpoint api.githubcopilot.com

Reference only
Version
Not recorded
Authentication
OAuth
Account and credentials
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
External destinations
api.githubcopilot.com

Three layers of cost

Software
Not applicable

Vendor-hosted endpoint.

Checked
Review due

raw.githubusercontent.com
Hosting
Not applicable

Runs on GitHub infrastructure.

Checked
Review due

raw.githubusercontent.com
External API
Free tier

Same as hosted-oauth: available on every GitHub plan; paid-feature tools need the matching license.

Checked
Review due

docs.github.com
Variant sources and lifecycle

Source lifecycle: Unknown · observed Not recorded. This is not a live connection check.

Vendor cloud · Streamable HTTP · fixed endpoint api.githubcopilot.com

Reference only
Version
Not recorded
Authentication
API key
Account and credentials
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
External destinations
api.githubcopilot.com

Three layers of cost

Software
Not applicable

Vendor-hosted endpoint.

Checked
Review due

raw.githubusercontent.com
Hosting
Not applicable

Runs on GitHub infrastructure.

Checked
Review due

raw.githubusercontent.com
External API
Free tier

Same as hosted-oauth.

Checked
Review due

docs.github.com
Variant sources and lifecycle

Source lifecycle: Unknown · observed Not recorded. This is not a live connection check.

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
External destinations
api.github.com, github.com · additional destinations are unknown

Three layers of cost

Software
Free

MIT-licensed release binaries.

Checked
Review due

raw.githubusercontent.com · api.github.com
Hosting
Not applicable

Runs on the client host.

Checked
Review due

raw.githubusercontent.com
External API
Free tier

GitHub account on any plan; paid-feature tools need the matching license; GitHub API rate limits apply.

Checked
Review due

docs.github.com · raw.githubusercontent.com
Variant sources and lifecycle

Source lifecycle: active · observed . This is not a live connection check.

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
External destinations
api.github.com · additional destinations are unknown

Three layers of cost

Software
Free

MIT-licensed release binaries.

Checked
Review due

raw.githubusercontent.com · api.github.com
Hosting
Not applicable

Runs on the client host.

Checked
Review due

raw.githubusercontent.com
External API
Free tier

Same as binary-stdio-oauth.

Checked
Review due

docs.github.com
Variant sources and lifecycle

Source lifecycle: active · observed . This is not a live connection check.

Your client host · Local process · stdio · oci ghcr.io/github/github-mcp-server

Reference only
Version
Not recorded
Authentication
API key
Account and credentials
`docker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN ghcr.io/github/github-mcp-server`; GITHUB_TOOLSETS, GITHUB_TOOLS, GITHUB_READ_ONLY=1, GITHUB_LOCKDOWN_MODE=1, GITHUB_HOST passed the same way. Source notes some hosts (e.g. Windsurf) require hardcoded tokens in config files.
Runtime
Docker (version not recorded)
Data contact
Repository content, Account information
Access and execution
Read and write
Permissions
Same tool surface as binary-stdio-pat inside a container. Source declared
External destinations
api.github.com · additional destinations are unknown

Three layers of cost

Software
Free

Same MIT code as the binaries.

Checked
Review due

raw.githubusercontent.com · raw.githubusercontent.com
Hosting
Not applicable

Runs on the client host.

Checked
Review due

raw.githubusercontent.com
External API
Free tier

Same as binary-stdio-oauth.

Checked
Review due

docs.github.com
Variant sources and lifecycle

Source lifecycle: Unknown · observed Not recorded. This is not a live connection check.

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
External destinations
api.github.com, github.com · additional destinations are unknown

Three layers of cost

Software
Free

Same MIT code as the binaries.

Checked
Review due

raw.githubusercontent.com · raw.githubusercontent.com
Hosting
Not applicable

Runs on the client host.

Checked
Review due

raw.githubusercontent.com
External API
Free tier

Same as binary-stdio-oauth.

Checked
Review due

docs.github.com
Variant sources and lifecycle

Source lifecycle: Unknown · observed Not recorded. This is not a live connection check.

Exact published recipes

Reference entry

No supported recipe is published for this server. The sources below and client compatibility guide remain available.

Decision notes

Official GitHub server, available on every GitHub plan, as a hosted endpoint or a local binary/Docker server.

Conditions: Tools tied to paid GitHub/Copilot features need the matching license.

Checked

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.

Checked

Hosted OAuth depends on the MCP host having registered a GitHub/OAuth app; PAT works with any remote-capable host.

Conditions: Vendor statement; not a client test.

Checked

Sources and corrections

Report a factual correction · How evidence is labeled

Browse more servers