mcp-server-git
by modelcontextprotocol
mcp-server-git is a Model Context Protocol server facilitating interaction with Git repositories. It provides tools to read, search, and manipulate Git repositories using Large Language Models.
Last updated: N/A
What is mcp-server-git?
mcp-server-git is an MCP server designed to enable interaction with and automation of Git repositories. It exposes functionality to read repository status, view changes, commit, add files, reset, view logs, create and checkout branches as well as show the contents of a commit.
How to use mcp-server-git?
The server is configured to work with Claude Desktop and Zed, using uvx, docker, or a pip installation. Configuration snippets are provided for each setup in the README.
Key features of mcp-server-git
Provides a suite of tools for managing Git repositories.
Enables interaction with Git repositories via Large Language Models.
Supports common Git operations like status, diff, commit, add, reset, log, branch creation, checkout and showing a specific revision.
Offers configuration options for different environments and tools like Claude Desktop and Zed.
Use cases of mcp-server-git
Automating Git workflows using LLMs.
Analyzing code changes and history using natural language queries.
Generating commit messages or documentation based on code modifications.
Integrating Git repository management into AI-powered development environments.
FAQ from mcp-server-git
What is mcp-server-git?
What is mcp-server-git?
It's a Model Context Protocol server for automating Git repository interactions using LLMs.
What Git operations are supported?
What Git operations are supported?
It supports status, diff, commit, add, reset, log, branch management, and showing revision contents.
How do I install it?
How do I install it?
You can install it using uv (recommended) or pip.
How do I configure it for Claude Desktop?
How do I configure it for Claude Desktop?
Configuration examples are provided in the README using uvx, docker, or pip installation.
How can I debug the server?
How can I debug the server?
Use the MCP inspector to debug the server. Logs can be found in ~/Library/Logs/Claude/mcp*.log
.