← Back to Hub
GitHub MCP Server
Connect Claude Code to the GitHub API via MCP. Create issues, manage PRs, search repos, and automate workflows directly from the CLI.
MCPdevopsgithubmcpci-cdautomation
by Build Ship Grow
github-mcp-server.json
json
{
"mcpServers": {
"github": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-github"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "<your-token>"
}
}
}
}
// Setup:
// 1. Create a GitHub PAT at github.com/settings/tokens
// Required scopes: repo, read:org, read:user
// 2. Replace <your-token> or use environment variable
// 3. Place in .claude/mcp.json
//
// Available capabilities:
// - Search repositories and code
// - Create and manage issues
// - Create, review, and merge pull requests
// - Read repository file contents
// - List and manage branches
// - View CI/CD workflow status
// - Create and manage releases