Back to catalog

GitHub MCP Server

Model Context Protocol (MCP) server that provides 29 Git operations + 11 workflow combinations for AI assistants and developers, enabling comprehensive Git repository management through a standardized interface.

Get this MCP server

Model Context Protocol (MCP) server that provides 29 Git operations + 11 workflow combinations for AI assistants and developers, enabling comprehensive Git repository management through a standardized interface.

Installation

NPM Global

npm install -g @0xshariq/github-mcp-server

From Source with Symbolic Links

git clone https://github.com/0xshariq/github-mcp-server.git
cd github-mcp-server
npm install && npm run build
./setup-symbolic.sh --user

Available Tools

Tool Description
gadd Add files to staging area (git add)
gcommit Create commits (git commit)
gpush Push changes (git push)
gpull Pull changes (git pull)
gstatus Repository status (git status)
gbranch Manage branches (git branch)
gcheckout Switch branches (git checkout)
glog Commit history (git log)
gdiff Show differences (git diff)
gstash Stash operations (git stash)
gpop Apply stash (git stash pop)
greset Reset operations (git reset)
gclone Clone repositories (git clone)
gremote Manage remote repositories (git remote)
ginit Initialize repository (git init)

Features

  • 29 comprehensive Git operations through standardized MCP interface
  • 17 basic Git operations for core everyday commands
  • 12 advanced operations with complex workflows and automation
  • 31 workflow combinations to enhance developer productivity
  • Full version control capabilities including tag, merge, rebase, cherry-pick, blame, bisect
  • Advanced developer tools with backup, cleanup, workflow automation
  • Error handling and validation to prevent common Git mistakes
  • Direct integration with VS Code and AI assistants like GitHub Copilot
  • CLI wrapper for terminal access and automation
  • Repository validation and security checks

Notes

The server provides both basic Git operations (17 tools) for everyday use and advanced workflows (12 tools) for complex version control management. It includes comprehensive documentation, troubleshooting guides, and supports multiple installation methods. The server emphasizes security with repository validation, input sanitization, and detailed error handling.

Comments (0)

Sign In Sign in to leave a comment.

Spark Drops

Weekly picks: best new AI tools, agents & prompts

Venture Crew
Terms of Service

© 2026, Venture Crew