cyanheads/git-mcp-server
An MCP (Model Context Protocol) server enabling LLMs and AI agents to interact with Git repositories. Provides tools for comprehensive Git operations including clone, commit, branch, diff, log, status, push, pull, merge, rebase, worktree, tag management, and more, via the MCP standard. STDIO & HTTP.
Provides 28 tools organized by workflow (staging, branching, remote ops, advanced), plus session-based resource management and a structured wrap-up prompt for guided git workflows. Built on pluggable architecture with declarative tool definitions, dependency injection via tsyringe, and support for commit signing—with cross-runtime detection for Bun and Node.js via auto-spawned git processes. Integrates with MCP clients (Cline, Claude Desktop) over stdio or HTTP transports, with configurable git identity, path sanitization for security, and optional OpenTelemetry observability.
192 stars. Used by 1 other package. Available on npm.
Stars
192
Forks
47
Language
TypeScript
License
Apache-2.0
Category
Last pushed
Mar 09, 2026
Commits (30d)
0
Dependencies
3
Reverse dependents
1
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/mcp/cyanheads/git-mcp-server"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Compare
Related servers
github/github-mcp-server
GitHub's official MCP Server
kunwarVivek/mcp-github-project-manager
a mcp server to manage github project's functionality
kopfrechner/gitlab-mr-mcp
Interact seamlessly with GitLab repositories to manage merge requests and issues. Fetch details,...
AsyncFuncAI/github-chat-mcp
A Model Context Protocol (MCP) for analyzing and querying GitHub repositories using the GitHub Chat API.
structured-world/gitlab-mcp
Advanced GitLab MCP server