
GitHub MCP Server
GitHub's official MCP server, hosted by GitHub or run locally, with toolsets for repos, issues, PRs, Actions.
GitHub MCP Server is GitHub's official MCP server, which lets AI agents read repositories and code files, manage issues and PRs, analyze code and automate workflows. GitHub hosts a remote version, a local one runs from a public Docker image or a Go build, and the README puts the project under the MIT open source license.
About GitHub MCP Server
The remote server is hosted by GitHub at https://api.githubcopilot.com/mcp/ and needs an MCP host with remote server support, such as VS Code 1.101 or later, Claude Desktop, Cursor or Windsurf. It takes OAuth, which each host has to set up with a GitHub App or OAuth App, or a GitHub personal access token in an Authorization: Bearer header, which the README says any host that supports remote servers should accept. An insiders URL, /mcp/insiders, adds early features and experimental tools.
The local server runs from the public ghcr.io/github/github-mcp-server Docker image, or from a binary built with go build and started as github-mcp-server stdio. On github.com it logs you in with OAuth on first use through a browser flow and keeps the token in memory only; a GITHUB_PERSONAL_ACCESS_TOKEN, if set, takes precedence. The --gh-host flag or GITHUB_HOST points it at GitHub Enterprise Server, which must use an https:// address, or at a ghe.com subdomain.
Tools come in toolsets picked with --toolsets or GITHUB_TOOLSETS; without either, the server loads context, repos, issues, pull_requests and users, and all loads every toolset. Others cover Actions, code quality, code security, Copilot, Dependabot, discussions, gists, low-level Git operations, governance, labels, notifications, organizations, projects, secret protection, security advisories and stargazers; the remote server adds copilot_spaces, github_support_docs_search and more Copilot tools.
Lockdown mode, turned on with --lockdown-mode, checks whether the author of each item from a public repository has push access and filters out or refuses content from authors who lack it; private repositories are unaffected. Tool descriptions, and the server's name and title, can be overridden in a github-mcp-server-config.json file or with GITHUB_MCP_ environment variables. The latest release on the repository's tags page is v2.0.3, dated Oct 21, 2026.
Sources: github.com/github/github-mcp-server, /github/github-mcp-server/tags and /github/github-mcp-server/blob/main/README.md, read 2026-10-27
GitHub MCP Server pros and cons
Pros
- The README calls the remote server, hosted by GitHub, the easiest way to get up and running, and the local server covers hosts without remote support.
- Toolsets and single tools can be switched on as needed, which the README says can help the LLM choose tools and reduce the context size.
- A --read-only flag limits it to read-only tools, even when write tools are requested with --tools.
- GitHub Enterprise Cloud with data residency (ghe.com) can use the remote server as well as the local one.
Cons
- Remote OAuth depends on each host having set up a GitHub App or OAuth App; otherwise the README points to authenticating with a personal access token.
- GitHub Enterprise Server does not support remote server hosting, so it needs the local server.
- Lockdown mode is a best-effort filter against prompt injection, not an authorization boundary: it does not change what the underlying GitHub credential can read or write.
- Configuration process, syntax and stability vary by host, and the README does not guarantee that a host follows the format of its examples.
Tagged
- Supports Claude
- CLI
- MCP Support
- Agentic Mode
- Git Integration
- Open Source
GitHub MCP Server alternatives
More from MCP Servers.
- 01→Shipvela
Publish the website you build with coding assistants, from GitHub or prepared static files, with your own domain and HTTPS.
- 02Paid →ClickUp MCP Server
Independent, paid MCP server for ClickUp: 150 tools for tasks, docs, chat, time tracking and workspace admin.
- 03Paid →Perplexity MCP Server
Perplexity's official MCP server for web search, reasoning and research through the Perplexity API.
- 04Free →Framelink MCP for Figma
MIT-licensed MCP server (Framelink MCP for Figma) that feeds Figma layout data to Cursor and other agents.
- 05Freemium →Supabase MCP Server
Supabase's MCP server for AI assistants: manage tables, run SQL, deploy Edge Functions and search the docs.
- 06Free →Cloudflare MCP Server
Cloudflare's product-specific remote MCP servers, such as Documentation, Container, Browser Run and CASB.
Related reading
Featured on Vibedonalds
Own GitHub MCP Server? Add this badge to your site to show you’re listed — and link back to your profile here.
<a href="https://vibedonalds.com/tools/mcp-github" target="_blank" rel="noopener nofollow">
<img src="https://vibedonalds.com/badge/featured-on-vibedonalds.svg" alt="GitHub MCP Server — Featured on Vibedonalds" width="240" height="60" loading="lazy" />
</a>Frequently asked questions
- What is GitHub MCP Server?
- GitHub MCP Server — GitHub's official MCP server, hosted by GitHub or run locally, with toolsets for repos, issues, PRs, Actions.
- Is GitHub MCP Server free?
- GitHub MCP Server is free to use. There is no paid tier as of the last index update.
- What are the alternatives to GitHub MCP Server?
- Similar tools in MCP Servers on vibedonalds: Shipvela, ClickUp MCP Server, Perplexity MCP Server, Framelink MCP for Figma.
- What are the downsides of GitHub MCP Server?
- Remote OAuth depends on each host having set up a GitHub App or OAuth App; otherwise the README points to authenticating with a personal access token. GitHub Enterprise Server does not support remote server hosting, so it needs the local server. Lockdown mode is a best-effort filter against prompt injection, not an authorization boundary: it does not change what the underlying GitHub credential can read or write. Configuration process, syntax and stability vary by host, and the README does not guarantee that a host follows the format of its examples.
- What is the difference between the remote and the local GitHub MCP Server?
- GitHub hosts the remote server at https://api.githubcopilot.com/mcp/, and it needs a host with remote server support. The local server runs on your machine from the ghcr.io/github/github-mcp-server Docker image or a Go build; it is the option for hosts without remote support and for GitHub Enterprise Server, which cannot use the remote one.
- How do I authenticate the GitHub MCP Server?
- Remotely, use OAuth where the host has set it up, or a GitHub personal access token in an Authorization: Bearer header. Locally on github.com, the server logs you in with OAuth on first use and keeps the token in memory; GITHUB_PERSONAL_ACCESS_TOKEN takes precedence if set. The README suggests granting only permissions you are comfortable giving AI tools.
- Which toolsets are on by default?
- context, repos, issues, pull_requests and users. Choose others with --toolsets or GITHUB_TOOLSETS: GITHUB_TOOLSETS="default,stargazers" keeps the defaults and adds one, and all enables every toolset. If both the flag and the variable are set, the variable wins.
- How do I set up the GitHub MCP Server in VS Code, Claude Code or Cursor?
- In VS Code 1.101 or later, use the one-click install and then toggle Agent mode, or add a servers entry of type http with the URL https://api.githubcopilot.com/mcp/. For Claude Desktop and Claude Code, Cursor, Codex, Windsurf, Zed, Copilot CLI and other hosts, the README links to separate installation guides.
- Is the GitHub MCP Server free?
- The README says the project is licensed under the terms of the MIT open source license. It names no price for the remote server that GitHub hosts; the prerequisites it lists are a host with remote server support and any applicable policies enabled.