
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A Model Context Protocol server that exposes Git operations and workflow combinations to AI assistants, enabling safe version control management through a standardized interface.
Github MCP Server is cataloged as an MCP server attributed to 0xshariq. A Model Context Protocol server that exposes Git operations and workflow combinations to AI assistants, enabling safe version control management through a standardized interface. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Github MCP Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
It exposes basic operations like add, commit, push, pull, status, branch, stash, and reset, plus advanced features including tags, merging, rebasing, cherry-picking, blame, and bisect.
It includes error handling and validation such as repository validation, file existence checks, command injection prevention, and timeout protection.
README.md · 52e764a7d66e · Fetched 2026-11-13 12:03:00 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
🔗 View on MCP Market
🔗 View on MCP Registry
📦 Available on npm
A Model Context Protocol (MCP) server that provides 29 Git operations + 11 workflow combinations for AI assistants and developers. This server exposes comprehensive Git repository management through a standardized interface, enabling AI models and developers to safely manage complex version control workflows.
{
"mcpServers": {
"github-mcp-server": {
"command": "npx",
"args": ["-y", "@0xshariq/github-mcp-server@latest"]
}
}
}
pnpm i -g @0xshariq/github-mcp-server@latest
# Test Commands After Installation
gstatus
gadd
glog 10
gpush
# Clone and setup
git clone https://github.com/0xshariq/github-mcp-server.git
cd github-mcp-server
npm install && npm run build
# Create symbolic links (cross-platform)
./setup-symbolic.sh --user # User installation
# OR
sudo ./setup-symbolic.sh # System-wide (Linux/macOS)
# Test the installation
gstatus
glist
🛠️ Having Issues? If commands aren't working after installation, see our Complete Troubleshooting Guide for solutions to all common problems including "command not found" errors, path conflicts, PNPM issues, and the symbolic links alternative.
GitHub MCP Server bridges AI assistants with Git repositories and provides powerful developer productivity tools. It provides:
This server provides comprehensive Git repository management through two main categories:
Essential daily Git commands organized in bin/basic/ - see Basic Operations Guide for detailed documentation.
Sophisticated workflows and automation in bin/advanced/ - see Advanced Workflows Guide for comprehensive documentation.
See markdown/INSTALLATION.md for detailed installation guide for Windows, macOS, WSL, and all platforms.
GitHub MCP Server is organized for clarity and progressive learning:
github-mcp-server/
├── src/
│ ├── index.ts # MCP server (29 tool registrations, schema definitions)
│ └── github.ts # Git operations engine (all 29 implementations)
├── bin/
│ ├── basic/ # 📁 17 Essential Git Operations
│ │ ├── README.md # Comprehensive basic operations guide
│ │ ├── gadd.js # Add files (git add)
│ │ ├── gcommit.js # Create commits (git commit)
│ │ ├── gpush.js # Push changes (git push)
│ │ ├── gpull.js # Pull changes (git pull)
│ │ ├── gstatus.js # Repository status (git status)
│ │ ├── gbranch.js # Branch management (git branch)
│ │ ├── gcheckout.js # Branch switching (git checkout)
│ │ ├── glog.js # Commit history (git log)
│ │ ├── gdiff.js # Show differences (git diff)
│ │ ├── gstash.js # Stash operations (git stash)
│ │ ├── gpop.js # Apply stash (git stash pop)
│ │ ├── greset.js # Reset operations (git reset)
│ │ ├── gclone.js # Clone repositories (git clone)
│ │ ├── gremote.js # Remote management (git remote)
│ │ └── ginit.js # Initialize repository (git init)
│ └── advanced/ # 🚀 13 Advanced Workflows & Automation
│ ├── README.md # Comprehensive advanced workflows guide
│ ├── gflow.js # Complete workflow (add→commit→push)
│ ├── gquick.js # Quick commit workflow
│ ├── gsync.js # Sync workflow (pull→push)
│ ├── gdev.js # Development session management
│ ├── gworkflow.js # Professional workflow combinations
│ ├── gfix.js # Smart fix and patch workflows
│ ├── gfresh.js # Fresh start workflows
│ ├── gbackup.js # Backup and safety operations
│ ├── gclean.js # Repository cleanup and optimization
│ ├── gsave.js # Save and preserve workflows
│ ├── glist.js # Tool discovery and help system
│ ├── grelease.js # Release management workflows
│ └── common.js # Shared utilities and helpers
├── markdown/
│ ├── INSTALLATION.md # Detailed installation guide
│ ├── DEPLOY.md # Production deployment guide
│ ├── DOCKER.md # Docker setup and deployment guide
│ └── QUICK_REFERENCES.md # Copy-paste command reference
├── mcp-cli.js # Enhanced CLI wrapper (organized by structure)
├── package.json # Project configuration & npm scripts
├── tsconfig.json # TypeScript configuration
└── README.md # This comprehensive guide
glist command with category filteringHaving issues with installation or commands not working? We've got you covered! Our comprehensive troubleshooting guide covers solutions to all common problems:
| Problem | Quick Solution |
|---|---|
💥 command not found errors | unset command_not_found_handle |
| 📁 Path conflicts with PNPM | Remove /5/ from global directory |
| 🔗 Commands show help instead of executing | Update wrapper scripts to pass command names |
| 🚫 Permission denied | chmod +x ~/.local/share/pnpm/g* |
👉 For detailed solutions, step-by-step fixes, and diagnostic tools, see our Complete Troubleshooting Guide
# Test if commands are working
gstatus # Should show repository status
env gstatus # Alternative if above fails
which gstatus # Should show path to command
# If still having issues, see TROUBLESHOOTING.md for complete solutions
ISC License
Created for use with AI assistants that support the Model Context Protocol.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Github MCP Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/github-mcp-server-0xshariq)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.