Skip to main content

mcp-win-stdio-git

Unified Git & GitHub Model Context Protocol (MCP) server for Windows & Claude Desktop: 26 tools seamlessly unifying local Git repository management and remote GitHub CLI (gh) operations with hybrid synergy workflows.

Part of the mcp-win-stdio Windows-optimized suite.


🚀 Features (26 Tools)

  • Local Git Suite (16 Tools):
    • Branching (git_branch), staging & commits with identity checks (git_commit), token-safe diffs (git_diff), commit logs (git_log), stashing (git_stash), remote sync (git_sync), blame (git_blame), tags (git_tag), regex search (git_grep), and config (git_config).
    • Safe file restoration and guarded destructive reset (git_reset).
    • Isolated background workspaces via git_worktree.
    • In-progress merge and rebase conflict detection & resolution (git_conflict_resolve).
    • Multi-repo switching and bookmarking (repo_overview, use_repo, list_repos, add_repo).
  • Remote GitHub CLI Suite (8 Tools):
    • Pull requests (gh_pr_list, gh_pr_view, gh_pr_diff).
    • Issue tracking (gh_issue_list).
    • CI/CD workflow monitoring (gh_run_status).
    • Gist snippet creation (gh_gist_create).
    • Multi-account awareness and switching (gh_auth_status, gh_switch_account).
  • Hybrid Synergy Workflows (2 Tools):
    • repo_overview: 360-degree status combining local branch, dirty status, ahead/behind tracking, active open PR, and latest GitHub Actions workflow run.
    • pr_quickstart: Stage -> commit -> push -> open GitHub PR via gh pr create in a single tool call.
    • issue_start_work: Fetches GitHub issue details and automatically checks out a linked feature branch feature/<id>-<slug>.
  • Zero-Friction Fallback:
    • Works 100% locally if GitHub CLI is not installed or unauthenticated, and provides copy-pasteable winget commands to install.

📋 Prerequisites & Setup

  1. Install Git CLI (if not installed):

    winget install --id Git.Git -e
    
  2. Install GitHub CLI (recommended for PRs, Issues, Actions):

    winget install --id GitHub.cli -e
    
  3. Authenticate & Setup Git Credential Helper:

    gh auth login
    gh auth setup-git
    

📦 Installation

pip install mcp-win-stdio-git

(Installing this package automatically installs mws CLI orchestrator).


🚀 One-Command Claude Setup

mws setup git
# or:
mws add git

This automatically configures Claude Desktop (claude_desktop_config.json) and Claude Code CLI with zero manual JSON editing.

Manual Configuration

"git": {
  "command": "python",
  "args": ["-m", "mcp_win_stdio.git"]
}

📖 CLI Commands & Interactive Guide

mws git guide      # Complete tool reference & prompt recipes
mws git doctor     # Verify Git, GitHub CLI, and credential helper status
mws git setup      # Configure Claude Desktop / Claude Code
mws git run        # Launch server over stdio

📜 License

MIT License. Copyright (c) 2026 Mohan Kumar Indala.

Release files for mcp-win-stdio-git 0.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mcp-win-stdio-git 0.2.3
File Size Uploaded
mcp_win_stdio_git-0.2.3.tar.gz 18.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mcp-win-stdio-git 0.2.3
File Interpreter ABI Platform
mcp_win_stdio_git-0.2.3-py3-none-any.whl Python 3 none any Details

Total release size: 39.9 kB

Release files / mcp_win_stdio_git-0.2.3.tar.gz

Download URL mcp_win_stdio_git-0.2.3.tar.gz
Size 18.7 kB
Tags Source
SHA-256 checksum
How to use checksums
d79c6015d532947beba37a7d040144ec87b6fe44bf83406e7cb990300ee72b1c
BLAKE2b-256 checksum
How to use checksums
ad4741417fff4ab42dfa602535155212493e5e9d7d2cf32d33c33e63af00a584
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release files / mcp_win_stdio_git-0.2.3-py3-none-any.whl

Download URL mcp_win_stdio_git-0.2.3-py3-none-any.whl
Size 21.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5fda74d159b5d566ce9894ec1522f459d764020708a99a81fb6ecaf28a7920f4
BLAKE2b-256 checksum
How to use checksums
8b02c0fcaed05681fd82a6f27c4764b6e78e1e8b60d224c848a54bf9a7b0988c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release history Release notifications | RSS feed

0.2.4

2 release files

This release

0.2.3 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page