Install GitHub in Claude Code
Remote URL
claude mcp add --transport http github https://api.githubcopilot.com/mcp/{
"mcpServers": {
"github": {
"url": "https://api.githubcopilot.com/mcp/"
}
}
}Docker
claude mcp add github -- docker run -i --rm ghcr.io/github/github-mcp-server:2.0.3{
"mcpServers": {
"github": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/github/github-mcp-server:2.0.3"
]
}
}
}Frequently asked questions
What does the GitHub MCP server do?
GitHub integration for repository management, pull requests, issues and more.
Is the GitHub MCP server free?
The server is free, but you will likely need an account. The server itself is free, but it connects to a service that needs an account or API key, which may have paid tiers. Check the provider for current pricing.
Does GitHub run locally or remotely?
Local + Remote. Can run locally or be used as a hosted remote server.
How do I add GitHub to Claude Code?
Run: claude mcp add --transport http github https://api.githubcopilot.com/mcp/
More version control MCP servers
View allGitDiagram
ahmedkhaleel2004/gitdiagram
Architecture diagrams, explanations and Mermaid source for public GitHub repositories.
Git
modelcontextprotocol/git
Tools to read, search, and manipulate Git repositories.
GitLab
zereight/gitlab-mcp
GitLab MCP server for projects, merge requests, issues, pipelines, wiki, releases, and more.
OpenOSINT
OpenOSINT/OpenOSINT
AI-powered OSINT agent & MCP server. 21 tools: email, breach, IP, WHOIS, DNS, Shodan, GitHub & more.
SoloMD
zhitongblog/solomd
Read and search a folder of Markdown notes: search, backlinks, tags, tasks, outlines, git history.
Best of Agent Harnesses
RyanAlberts/best-of-Agent-Harnesses
Agent-harness picks, decision guides, setup templates, and skills; live GitHub/HN discovery.