mcpField
L
Local Git MCP Server

Local Git MCP Server

Local
github.com/okdshinVersion Control3Updated 94w ago

About Local Git MCP Server

Local Git MCP Server is a Python server for managing local Git repositories. It supports repository creation and common operations such as file staging, commits, pulls, pushes, and diff generation.

Key features

  1. 01Create local repositories
  2. 02Validate repository names
  3. 03Add files and commit changes
  4. 04Pull and push repositories
  5. 05Generate diffs

Use cases

  1. 01Create and manage local repositories
  2. 02Commit changes to a local repository
  3. 03Pull or push repository changes
  4. 04Generate a repository diff

MCP support

Exposes local Git repository management and Git operations to MCP clients.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

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]

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.