Back to MCP Servers
GitHub Server
Interact with GitHub repositories, issues, pull requests, and more
githubgitvcsofficial
By Anthropic
Installation
npm install -g @anthropic-ai/mcp-server-githubConfiguration
{
"mcpServers": {
"github": {
"command": "npx",
"args": ["-y", "@anthropic-ai/mcp-server-github"],
"env": {
"GITHUB_TOKEN": "your-github-token"
}
}
}
}How to use
- Run the installation command above (if needed)
- Open your Claude Code settings file (~/.claude/settings.json)
- Add the configuration to the mcpServers section
- Restart Claude Code to apply changes