GitHub's official Model Context Protocol server that lets AI agents interact with GitHub's full API. Create and manage issues, review pull requests, search code, manage branches, handle notifications — all through natural language commands in Claude Desktop, Cursor, or any MCP client.
GitHub MCP Server is the official way to connect AI coding agents to GitHub. Built and maintained by GitHub, it exposes the full GitHub API through the Model Context Protocol — letting agents create issues, review PRs, search code, manage branches, and handle notifications.
{
"mcpServers": {
"github": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-github"],
"env": { "GITHUB_PERSONAL_ACCESS_TOKEN": "ghp_your_token" }
}
}
}
User: "Find all PRs from this week that touch the auth module"
Agent → GitHub MCP:
- search_code(query: "path:src/auth")
- list_pull_requests(state: "all", since: "2026-03-28")
Agent: "Found 3 PRs touching auth:
1. #245 — Add OAuth2 PKCE flow (merged)
2. #248 — Fix token refresh race condition (open)
3. #251 — Add rate limiting to login endpoint (draft)"
AI agents that work well with GitHub MCP Server.
Official Chrome DevTools MCP server — AI agents can debug, profile, inspect DOM, and analyze web performance.
Official AWS MCP servers — AI agents interact with S3, Lambda, EC2, CloudFormation, Bedrock, and more.
Security vulnerability scanning for infrastructure with compliance checking and remediation guidance.