Skip to main content
Glama

git-github-mcp

Local git and GitHub operations for your AI agent — 12 MCP tools, a fleet maintainer suite, and a React dashboard. No PATH surgery, no auth wrestling.

What this wraps

git (local version control) and GitHub via the gh CLI — history, branches, PRs, issues, releases, Actions, stars, search. Full story, usage patterns, and the Gitee alternative: docs/WRAPPEE.md.

Related MCP server: pr-forge

Preview

Dashboard

Activity

Dashboard

Activity

Repo hero with KPIs and stars glance (left); recent changes and cloud fleet (right). Backend :10713, frontend :10714.

What You Can Do

  • Everyday git: status, log, diff, clone (shallow depth=1), commit, push/pull — git_core

  • Branches & surgery: merge, rebase, stash, tags, reset/revert, bisect, worktrees — git_branch, git_admin

  • GitHub: issues, PRs (with triage-ready comments metadata), releases, workflows, secrets, code search, discussions (GraphQL via gh api) — github_ops (73 ops)

  • Stars intelligence: received-vs-given, per-repo boards, stargazer trajectory — /stars

  • CI monitor: success/failed tiles, log tails, rerun + AI diagnose — /ci

  • Maintainer autopilot: morning digest, stale flags, 15 fleet ops + full suite — /breakfast

  • Agentic workflows: natural-language plans executed as tool steps (needs a sampling-capable client)

  • Learn inside the app: git/GitHub/fleet lectures (/lectures) + guided help (/help)

Full reference: docs/TOOLS.md.

Quick Install

  1. Go to Releases

  2. Download git-github-mcp-*.mcpb

  3. Drag it onto the Claude Desktop window

Then: gh auth login (see docs/ONBOARDING.md). All methods: INSTALL.md.

Example Prompts

"What is the git status of my current repo?"

"List open PRs across my repos that went stale this week."

"Find repos tagged mcp with low maintenance activity."

Documentation

Doc

Contents

Installation

All install methods, prerequisites

Onboarding

gh install/auth, PAT, sanity check

Wrapped app

git/GitHub history, patterns, Gitee

Architecture

Transports, ports, request flow

Configuration

Env vars, config options

Tool Reference

All 12 tools, resources, prompts

Development

Contributing, local setup, gates

Troubleshooting

Common issues, fixes

Requirements

Windows 10/11 (or macOS), Claude Desktop (any recent version), git + gh CLI (winget install Git.Git GitHub.cli). No Python needed for Option A. No API keys — the server never calls an LLM itself.

Bugs

Bug reports and feature requests go to GitHub Issues using the issue forms (a bug report needs version + reproducer, no exceptions). GitHub is also where PRs happen; questions belong in Discussions. Never post tokens or credentials — redact and rotate first; security-sensitive reports go through a private advisory.

License

MIT

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides 15 MCP tools for AI-powered Git intelligence, enabling commit messages, branch creation, PR descriptions, code review, diff analysis, and push operations directly from your AI assistant.
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides AI agents with a secure PR review gateway through 9 MCP tools for managing pull requests, including context retrieval, diff, checks, and merge with two-layer access control.
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables AI agents to interact with GitHub via MCP, managing repositories, issues, PRs, and analyzing repository health through tools like list_repositories, read_issues, create_issue, comment_on_pr, and analyze_repo_health.
      -