Local Git MCP Server
About
# Local Git MCP Server ## Overview A Python-based Git repository management server using the MCP (Message-based Communication Protocol) server framework. ## Features - Create, manage, and interact with local Git repositories - Validate repository names - Perform Git operations: - Repository creation - Adding files -…
Explore
- Create, manage, and interact with local Git repositories
- Validate repository names
- Perform Git operations:
- Repository creation
- Adding files
- Committing changes
- Pulling and pushing
- Diff generation
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Local Git MCP ServerCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Run the server with:
python git_server.py [--repositories-dir ./repositories]
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"local git mcp server": {
"local-git-mcp-server": {
"command": "python",
"args": [
"git_server.py",
"[--repositories-dir",
"./repositories]"
]
}
}
}
}
McpServers
{
"local-git-mcp-server": {
"command": "python",
"args": [
"git_server.py",
"[--repositories-dir",
"./repositories]"
]
}
}
Overview
A Python-based Git repository management server using the MCP (Message-based Communication Protocol) server framework.Features
- Create, manage, and interact with local Git repositories - Validate repository names - Perform Git operations: - Repository creation - Adding files - Committing changes - Pulling and pushing - Diff generationDependencies
- GitPython - Pydantic - MCP Server - Black (code formatting) - isort (import sorting)Usage
Run the server with:python git_server.py [--repositories-dir ./repositories]
Development
- Code is automatically formatted using Black and isort - GitHub Actions workflow for code formattingLicense
[ADD LICENSE INFORMATION IF APPLICABLE]Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



