GitHub
stdioRepository management, file operations, issue tracking, and pull request management via the GitHub API
Author
Anthropic
Runtime
node
Package
@modelcontextprotocol/server-github
Command
npx -y @modelcontextprotocol/server-github
Categories
developer-toolsgitversion-control
Required Environment Variables
GITHUB_PERSONAL_ACCESS_TOKEN
Install with the CLI:
npx @getmcp/cli add githubConfiguration
Config file: ~/Library/Application Support/Claude/claude_desktop_config.json
JSON
{
"mcpServers": {
"github": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-github"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": ""
}
}
}
}