Back to MCPs
Official
Featured
Config Required
GitHub
Repository management, file operations, and GitHub API integration. Enables Claude to interact with repositories, create issues, manage PRs, and more.
githubgitapi+1 more
1,654 upvotes
61,200 views
by Anthropic
Required Environment Variables
Set these environment variables before using this MCP server:
GITHUB_TOKEN Installation
npx -y @modelcontextprotocol/server-github
How to add to Claude Code
- Open Claude Code settings
Run
claude configor edit~/.claude/config.json - Add the MCP server configuration
{ "mcpServers": { "github": { "command": "npx", "args": [ "-y", "@modelcontextprotocol/server-github" ] } } } - Restart Claude Code
The MCP server will now be available in your sessions