Is GitHub MCP Server free to use?
Yes. The server is free and open-source under MIT license. You need a GitHub account and a Personal Access Token to authenticate. Docker Desktop is also free for personal use.
Official GitHub MCP Server for repositories, issues, pull requests, and code search, distributed via a Docker image.
Looking for more MCP servers? Browse the full MCP tools directory or explore more tools in Developer Tools.
GitHub MCP is one of the strongest starting points for teams that already manage engineering work in GitHub. It is especially valuable when the assistant needs to move beyond passive code explanation into real repository operations such as reviewing pull requests, checking issues, and navigating active development context. Its main advantage is workflow proximity: instead of copying links and context manually, teams can keep source control activity inside the same AI-assisted loop. It is less compelling for teams that do not live in GitHub every day or only need occasional read-only repository context.
GitHub MCP Server is the official server maintained by GitHub with over 23K stars on GitHub. It enables AI assistants like Claude to manage repositories, open and merge pull requests, create and close issues, manage branches, and run code search queries. It works with Claude Desktop, Cursor, VS Code, Windsurf, and all MCP-compatible clients using a GitHub Personal Access Token.
The teams and workflows that benefit most from this tool.
Engineering teams that work in GitHub every day.
Pull request review, issue triage, and repository navigation inside an AI workflow.
Developers who want direct GitHub context instead of chat-only code assistance.
Choose GitHub MCP Server when your repositories, pull requests, and issues already live in GitHub and you want direct AI-assisted repository operations.
Good fit
Things to watch before choosing this tool.
Best value appears only when GitHub is already central to the team workflow.
Authentication and repository permission setup can become a friction point.
Less useful for teams that mainly need local file access or non-GitHub tooling.
Use the following configuration as a starting point for Claude Desktop or any compatible MCP client, then replace placeholder credentials with your own values.
{
"mcpServers": {
"github": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"GITHUB_PERSONAL_ACCESS_TOKEN",
"ghcr.io/github/github-mcp-server"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "YOUR_GITHUB_PAT"
}
}
}
}These setup steps cover the typical installation flow for this MCP server.
Install Docker Desktop from https://www.docker.com/products/docker-desktop and make sure it is running.
Go to GitHub Settings → Developer settings → Personal access tokens → Tokens (classic). Click Generate new token.
Select scopes: repo (full), read:org, and read:user. Copy the token immediately — it will not be shown again.
Open your Claude Desktop config file. On macOS: ~/Library/Application Support/Claude/claude_desktop_config.json. On Windows: %APPDATA%\Claude\claude_desktop_config.json.
Paste the Docker configuration above and replace YOUR_GITHUB_PAT with your actual token.
Save the file and fully restart Claude Desktop.
Test by asking Claude: "List my GitHub repositories" — if the GitHub tools appear, the server is connected successfully.
Supported environments for GitHub MCP Server.
Claude Desktop
Yes
Cursor
Yes
VS Code
Yes
Strong fit for MCP clients used in engineering workflows, especially where GitHub context is part of daily work.
Common questions for GitHub MCP Server.
Yes. The server is free and open-source under MIT license. You need a GitHub account and a Personal Access Token to authenticate. Docker Desktop is also free for personal use.
GitHub migrated development from the deprecated @modelcontextprotocol/server-github npm package to their own repository (github/github-mcp-server) in April 2025. The official distribution is now a compiled binary shipped as a Docker image.
Yes. As long as your Personal Access Token has the repo scope, it can access all repositories your GitHub account has permission to view, including private and organization repos.
| Feature | GitHub MCP Server | Competitor |
|---|---|---|
| Cloud-hosted repository workflows | ✅ GitHub MCP | ✅ GitLab MCP |
| Self-hosted instance support | ❌ GitHub MCP | ✅ GitLab MCP |
| Integrated CI/CD workflows | ✅ GitHub MCP | ✅ GitLab MCP |