cyanheads_git-mcp-server

cyanheads_git-mcp-server

3.2

If you are the rightful owner of cyanheads_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 Model Context Protocol server that provides comprehensive Git functionality to Large Language Models, enabling them to perform version control operations through a secure and standardized interface.

The Git MCP Server implements the Model Context Protocol (MCP), created by Anthropic, which provides a standardized communication protocol between LLMs and external systems. The architecture consists of clients (such as Claude Desktop and IDEs) that maintain server connections, servers that provide tools and resources to clients, and LLMs that interact with servers through client applications. This architecture creates a secure boundary between LLMs and external systems while enabling controlled access to Git functionality. Through the MCP protocol, the Git server empowers LLMs to perform version control operations, manage repositories, and handle complex Git workflows — all within a secure and validated environment.

Features

  • Core Git Operations: Repository initialization and cloning, file staging and committing, branch management, remote operations, tag handling, and stash management.
  • Bulk Operations: Sequential operation execution, atomic commits, smart defaults, and error resilience.
  • Safety Features: Path validation, repository state verification, embedded repository handling, and comprehensive error reporting.

Tools

  1. init

    Initializes a new Git repository.

  2. clone

    Clones a repository.

  3. status

    Gets repository status.

  4. bulk_action

    Executes multiple Git operations in sequence.

  5. branch_list, branch_create, branch_delete, checkout

    Manage branches and working tree.

  6. tag_list, tag_create, tag_delete

    Manage repository tags.

  7. remote_list, remote_add, remote_remove

    Manage remote repositories.

  8. stash_list, stash_save, stash_pop

    Manage working directory changes.