GitHub's official MCP server. Repository management, file operations, issue tracking, pull request management, and code search via the GitHub API
GITHUB_PERSONAL_ACCESS_TOKENnpx @getmcp/cli add githubConfig file: ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"github": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"GITHUB_PERSONAL_ACCESS_TOKEN",
"ghcr.io/github/github-mcp-server"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": ""
}
}
}
}