GitHub MCP Server
Official GitHub MCP server enabling AI agents to interact with GitHub repositories, issues, pull requests, code search, Actions workflows, and more — built by GitHub.
Score Breakdown
⚙ Agent Friendliness
🔒 Security
Fine-grained PATs, GitHub Apps, and OAuth provide layered security options. Secret scanning, advanced audit logs, and SAML SSO available. GitHub's security team is world-class.
⚡ Reliability
Best When
An AI agent needs to read, write, or manage GitHub resources — issues, PRs, code, workflows — as part of a development or DevOps workflow.
Avoid When
You use GitLab, Bitbucket, or self-hosted Git — this is GitHub-specific.
Use Cases
- • Reading and creating GitHub issues and pull requests from agents
- • Searching code across repositories for context
- • Triggering and monitoring GitHub Actions workflows
- • Managing repository contents, branches, and commits
- • Reviewing and commenting on pull requests in agent loops
Not For
- • Private repos without appropriate token permissions
- • Real-time git operations (Git itself is faster for local ops)
- • Self-hosted GitLab or Bitbucket — GitHub only
Interface
Authentication
PAT (classic or fine-grained) for simple setups. GitHub Apps provide fine-grained permissions per repository. Fine-grained PATs can scope to specific repos and specific operations. Excellent scope granularity.
Pricing
MCP server is open source and free. GitHub account required. Rate limits apply.
Agent Metadata
Known Gotchas
- ⚠ Fine-grained PATs have 90-day maximum expiration — agents must handle token refresh or rotation
- ⚠ Secondary rate limits (burst protection) kick in on rapid sequential writes — add backoff
- ⚠ GraphQL and REST APIs have different rate limit pools — track separately if using both
- ⚠ Code search API has separate, stricter rate limits (10 requests/minute unauthenticated, 30 authenticated)
- ⚠ File contents from API are base64-encoded — agents must decode before processing
- ⚠ Large file contents may be truncated — use Git Data API or raw URLs for full content
Alternatives
Full Evaluation Report
Detailed scoring breakdown, competitive positioning, security analysis, and improvement recommendations for GitHub MCP Server.
Scores are editorial opinions as of 2026-03-06.