GitHub
Full GitHub API access: repos, PRs, issues, and code search.
What it does
Provides access to GitHub repositories, issues, pull requests, commits, branches, and code search via the GitHub REST and GraphQL APIs.
Why it matters
GitHub is where most code lives. This MCP lets agents interact with that code directly, without copy-pasting between interfaces.
Best for
- Automated issue creation
- PR review and management
- Code search across repos
- Repository browsing
- CI/CD monitoring
Not ideal for
- GitLab or Bitbucket workflows
- Fully local git-only setups
When to use it
When you want the AI to create issues, review PRs, search repositories, or read code from GitHub.
When not to use it
When working entirely locally with no remote GitHub repos, or when only GitLab/Bitbucket is used.
Key features
- Full GitHub REST API access
- Code search
- Issue and PR management
- File content reading
- Branch and commit operations
- Official GitHub support
Frequently asked questions
Does it require a GitHub token?
Yes. Set GITHUB_PERSONAL_ACCESS_TOKEN in your environment. Fine-grained tokens with minimal permissions are recommended.
Can it create pull requests?
Yes. It can create, read, update, and merge pull requests through the GitHub API.
Is this the official GitHub MCP?
Yes. It is maintained by GitHub and is the recommended option for GitHub integration.
Install
$ npx @github/github-mcp-serverScores
Details
- Pricing
- free
- Setup time
- 5 min
- Complexity
- Low
Works with
Alternatives
- Git →
Local Git operations: commit, diff, log, branch, and more.
- Filesystem →
Read and write local files with configurable access controls.
More Git MCPs
Other tools in the same category worth evaluating.
Exploring Top MCPs for Git Workflows? See all Git MCPs →