An MCP (Model Context Protocol) server written in Go that lets you operate GitHub from Claude Desktop. You can work with repositories, pull requests, security alerts, and local Git tasks without leaving the conversation.
Local Git operations: status, commits, pushes, merges, conflict handling, and sync without using API quota.
GitHub API operations: create/list repositories and PRs, and work with files even if Git is not installed.
Dashboard and response: notifications, assigned issues, PRs to review, security alerts, and failed workflows.
Repair: close issues, merge PRs, re-run workflows, and dismiss alerts after review.
Administration: repository settings, branch protection, webhooks, collaborators, and teams with safety controls.
Four risk levels (low, medium, high, critical) with confirmations and single-use tokens when required.
Modes: strict, moderate (default), permissive, and disabled; configurable in safety.json.
Audit logging in JSON with automatic rotation for administrative operations.
Protections against command injection, path traversal, and SSRF in webhook URLs.
Git operations (34): info, basic, analysis, advanced, and conflict management.
GitHub API (12): repositories, pull requests, and file operations without Git.
Dashboard and response (16): dashboards, notifications, reviews, and comments.
Repair (6): close issues, merge PRs, rerun workflows, and dismiss alerts.
Administrative (22): repository settings, branch protection, webhooks, collaborators, and teams.
Go 1.25.0 or later.
MCP over JSON-RPC 2.0.
GitHub personal access token with repo scope; admin:repo_hook and admin:org for admin features.
Hybrid execution: tries local Git first (no API usage) and falls back to the GitHub API if needed.
“Show the status of my repo” → git_status (local).
“Create a pull request from feature to main” → github_create_pr.
“Download this repository without Git” → github_download_repo.
“Protect main with two required reviews” → github_update_branch_protection (confirmation depends on safety mode).
Use these tools with care on the intended repositories and accounts. Validate parameters, branches, and targets before running administrative or destructive operations. We are not responsible for misuse or resulting damage.
Installation
Step-by-step setup for the server.
Install →
Configuration
Configure Claude Desktop and profiles.
Configure →
Tools
Browse the tool reference with parameters and examples.
Browse →
Safety
Learn how risk levels and confirmations work.
View safety →