git-mcp-server

git-mcp-server

2.2

The GIT-MCP-SERVER is a Model Context Protocol server designed to integrate with LLM Agents and provide comprehensive Git functionalities using Python. It supports commands for repository management, branch operations, and pull request handling.

GIT-MCP-SERVER

A Model Context Protocol (MCP) Stdio server compatible with LLM Agent, offering various Git-related functionalities in Python.

Features

  • View repository status
  • Create and manage commits
  • Push / Pull features
  • Branch creation, switching, and merging
  • View commit history
  • Statistics on changes
  • Tag management
  • Manage remote repositories
  • Pull request management

Installation

  1. Clone the repository
  2. Create and activate a virtual environment
  3. Install dependencies
  4. Set environment variables in an .env file

MCP Configuration

Add configuration to the MCP settings file to specify transport, command, and environment variables.

Usage

  • Run the server by executing the main script
  • A variety of commands are available, from repository status queries to managing pull requests

License

MIT License