Skip to main content

mcp-win-stdio-git

Unified Git & GitHub Model Context Protocol (MCP) server for Windows & Claude Desktop: 46 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 (46 Tools)

  • Local Git Suite (27 Tools):
    • Repository initialization (git_init) and bookmark management (use_repo, list_repos, add_repo, remove_repo, rename_alias).
    • Remotes management (git_remote: list, add, set-url, remove, get-url).
    • Safe file restoration (git_restore) and guarded destructive reset (git_reset).
    • Branching (git_branch), staging & commits with untracked safeguards (git_commit), status (git_status), paginated chunked diffs (git_diff), commit logs (git_log), stashing (git_stash), remote sync (git_sync), blame (git_blame), tags (git_tag), cherry-pick (git_cherry_pick), clean (git_clean_untracked), regex search (git_grep), and config (git_config).
    • Isolated background workspaces via git_worktree.
    • In-progress merge and rebase conflict detection & resolution (git_conflict_resolve).
  • Remote GitHub CLI Suite (16 Tools):
    • Pull requests (gh_pr_list, gh_pr_view, gh_pr_diff, gh_pr_checkout, gh_pr_action, gh_pr_checks, gh_pr_review_comments).
    • Releases (gh_release_list, gh_release_create).
    • Issue tracking (gh_issue_list, gh_issue_view, gh_issue_create, gh_issue_comment).
    • CI/CD workflow monitoring (gh_run_status).
    • Global search (gh_search) and direct API caller (gh_api).
    • Gist snippet creation (gh_gist_create).
    • Multi-account awareness and switching (gh_auth_status, gh_switch_account).
  • Hybrid Synergy Workflows (3 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.

Metadata

Release files for mcp-win-stdio-git 0.4.2

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.4.2
File Size Uploaded Provenance Actions
mcp_win_stdio_git-0.4.2.tar.gz 24.4 kB Without provenance Details for mcp_win_stdio_git-0.4.2.tar.gz

Built distribution (wheel)

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

Total release size: 51.0 kB

Release files / mcp_win_stdio_git-0.4.2.tar.gz

Download URL mcp_win_stdio_git-0.4.2.tar.gz
Size 24.4 kB
Tags Source
SHA-256 checksum
How to use checksums
903570a3ad988fdb0c9b30b9a003b63377ce457b8523616e963ddec3a06d074f
BLAKE2b-256 checksum
How to use checksums
11eed296c0e7ba7d8c4726b223b9746e55bbf62e88590e05021e58b5db942e9e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

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

Download URL mcp_win_stdio_git-0.4.2-py3-none-any.whl
Size 26.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ecd3c4f86100e57a9bdee7636ed51bcc8457902f6289e450a4453f046decd528
BLAKE2b-256 checksum
How to use checksums
e569c37c28648b68a44969a2b445f96ee657ffb956dc0bb4129d4a7c24778d83
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Security for mcp-win-stdio-git 0.4.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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