GitHub Repository & Pull Request MCP Server MCP Configuration

Automated repository file search, pull request diff inspection, issue triage, branch creation, and commit authoring via fine-grained GitHub Personal Access Tokens.

Select Blueprint

Transport: stdio · 85ms GitHub REST/GraphQL edge dispatch
GitHub Repository & Pull Request MCP Server @modelcontextprotocol/server-github
Install.sh
{
  "mcpServers": {
    "github": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-github"
      ],
      "env": {
        "GITHUB_PERSONAL_ACCESS_TOKEN": "github_pat_11AABBCCDDEE_your_fine_grained_token"
      }
    }
  }
}
Ready 5-client compiler ready · github

Environment Variables for GitHub Repository & Pull Request MCP Server

Variable Key Requirement Example Format Guidance
GITHUB_PERSONAL_ACCESS_TOKEN Required github_pat_11AABBCCDDEE_your_fine_grained_token Fine-grained GitHub PAT scoped to target repositories with Contents:Read/Write and PullRequests:Read/Write permissions.

Recurring & Sponsor Tiers

Team Registry Pro
$19/mo · 25 developer seats
Weekly Ecosystem Sponsor
$99/wk · Header & llms.txt slot