
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.
The Lens
This MCP server gives your AI assistant direct access to Git operations: commits, branches, diffs, logs, and file history. Your assistant can inspect repo state, compare branches, and read commit history without you running commands.
Community-maintained and works with any Git repo on your local machine. No API keys, no remote service, just point it at a repo. Setup is one config entry with a path to your repository.
Install this if you want your AI assistant to understand your repo's history and current state. Useful for code review workflows and understanding unfamiliar codebases. The catch: local repos only, and write operations (commits, merges) need careful permission scoping to avoid accidents.
Free vs Self-Hosted vs Paid
fully freeFree Tier
The MCP server itself is completely free and open source.
Self-Hosted
Runs locally or on your own infrastructure.
Paid
No paid tier. The underlying service may have its own pricing.
Free and open source. No underlying service costs.
Get tools like this every Wednesday
One featured tool, three on the radar. No fluff.
About
- Owner
- cyanheads (User)
- Stars
- 220
- Forks
- 53
Explore Further
More tools in the directory
openclaw
Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞
375.9k ★everything-claude-code
The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
201.1k ★claw-code
The repo is finally unlocked. enjoy the party! The fastest repo in history to surpass 100K stars ⭐. Join Discord: https://discord.gg/5TUQKqFWd Built in Rust using oh-my-codex.
193.0k ★