local-git-mcp-server

okdshin/local-git-mcp-server

3.2

If you are the rightful owner of local-git-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A Python-based Git repository management server using the MCP (Message-based Communication Protocol) server framework.

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
    • Committing changes
    • Pulling and pushing
    • Diff generation

Dependencies

  • 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 formatting

License

[ADD LICENSE INFORMATION IF APPLICABLE]