Major-vendorstdio● online
GitHub MCP
by GitHub · Developer Tools
Manage repos, issues, PRs, code search, and GitHub Actions via GitHub's API.
Works with:Claude CodeCursorWindsurfOpenCode
reposissuespull-requestscode-searchactionsreadwrite
Install
Run this command in your terminal:
claude mcp add --transport stdio mcp-github -- npx -y @modelcontextprotocol/server-github
Before running, set: GITHUB_PERSONAL_ACCESS_TOKEN
Authentication
API key
Required environment variables:
- GITHUB_PERSONAL_ACCESS_TOKEN
See the setup guide for step-by-step instructions on obtaining these credentials.
Official GitHub MCP. Use a fine-grained PAT scoped to needed repos.
Skills that use this MCP
github-webhooks
Webhook setup and event inspection use the GitHub MCP to read repo and webhook config.
git-workflow
PR creation and review leverage the GitHub MCP on top of local git operations.
test-driven-development
TDD workflow can push test branches and open PRs via GitHub MCP.

