Skip to content
Useful MCP HubSign in

MCP PRODUCT GUIDE

GitHub

GitHub’s official MCP server exposes selected repository, issue and pull-request tools through hosted or local connections. The credential, tool selection and organization policies bound access.

Official sources checked: 2026-11-21. Documentation review; no hands-on product test.

Choose the official server and transport

The publisher is GitHub and the source repository is github/github-mcp-server; this is distinct from community servers hosted elsewhere on github.com. GitHub hosts the remote endpoint at https://api.githubcopilot.com/mcp/. Use a client with remote HTTP MCP support; the README lists VS Code 1.101 or later, Claude, Cursor and other compatible hosts. The local server can run through stdio in Docker using ghcr.io/github/github-mcp-server or as a native binary. Docker must be installed and running for the container option.

Authentication and permissions

Remote clients can use OAuth when their host supports and configures the required GitHub/OAuth App integration, or a personal access token in the Authorization: Bearer header. OAuth support differs by host; a URL alone does not grant access.

The current README also documents first-use OAuth for the official local image on github.com; its token is kept in memory. Container login requires a published loopback callback port. GITHUB_PERSONAL_ACCESS_TOKEN is an alternative and takes precedence over local OAuth. Enterprise deployments can require their own app configuration. Repository access still follows the underlying credential and organization policy; MCP does not grant additional private-repository access.

Tool selection and a concrete read-only use

The documented default toolsets are context, repos, issues, pull_requests and users. Actions, security and other groups can require explicit selection; do not assume that every GitHub API or every optional MCP tool is active. For example, an assistant can inspect an accessible repository and its issues using only the relevant read tools.

The hosted /mcp/readonly URL restricts the exposed tools to read access. Local --read-only or GITHUB_READ_ONLY=1 serves the corresponding purpose. This is different from lockdown mode: lockdown is a best-effort filter on public-repository content, not a permission boundary, and it does not change what the underlying credential can access.

Costs, limits and expectations

The server source is MIT-licensed. That license does not make a commercial AI client, all GitHub features or unlimited API usage free. Requests remain subject to GitHub API limits for the authentication method, and organization settings may restrict access. A separate universal MCP subscription price or free request allowance was not established by the reviewed sources. Check the chosen host and account terms before purchase.

A write-enabled setup can modify repositories, issues or pull requests. Select the required toolsets and credential permissions for the workflow. This profile is a documentation review: no token was issued, repository changed, authenticated connection tested or compatibility guarantee made.

Official sources and next steps