GitHub MCP

GitHub repository access with full API operations and code review capabilities

By ModelContextProtocolMIT
View Repositoryclaude mcp add github --scope user --env GITHUB_PERSONAL_ACCESS_TOKEN=ghp_your_token -- npx -y @modelcontextprotocol/server-github

Features

Repository management
Issue and PR operations
Code review assistance
GitHub Actions integration

Use Cases

Automated code reviewRepository managementIssue triage automationRelease management

Installation

NPM Package
claude mcp add github --scope user --env GITHUB_PERSONAL_ACCESS_TOKEN=ghp_your_token -- npx -y @modelcontextprotocol/server-github
⚠️ Environment Required
GITHUB_PERSONAL_ACCESS_TOKEN=ghp_your_token

Supported Models

Claude 3.5 SonnetGPT-4

Configuration Example

{
  "mcpServers": {
    "github": {
      "command": "add",
      "env": {
        // Add your environment variables here
      }
    }
  }
}