Git-mcp-server MCP Server

28 git operations organized into seven categories:

Local serverstdiostreamable-httpApache-2.0

What is the Git-mcp-server MCP Server?

git-mcp-server is an MCP project maintained in the cyanheads/git-mcp-server repository. The maintainer describes its purpose as “28 git operations organized into seven categories”. Read the project documentation for the complete scope.

Installation

The documented npm package is @cyanheads/git-mcp-server. The configuration below comes from the maintainer’s example; adapt its paths and account values to your environment.

Configuration values

The example declares MCP_TRANSPORT_TYPE, MCP_LOG_LEVEL, GIT_BASE_DIR, LOGS_DIR, GIT_USERNAME, GIT_EMAIL, GIT_SIGN_COMMITS. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
CategoryTools
Analysisgit_changelog_analyze

How to install the Git-mcp-server MCP Server

{
  "mcpServers": {
    "git-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "@cyanheads/git-mcp-server@latest"
      ],
      "env": {
        "MCP_TRANSPORT_TYPE": "stdio",
        "MCP_LOG_LEVEL": "info",
        "GIT_BASE_DIR": "~/Developer/",
        "LOGS_DIR": "~/Developer/logs/git-mcp-server/",
        "GIT_USERNAME": "cyanheads",
        "GIT_EMAIL": "casey@caseyjhand.com",
        "GIT_SIGN_COMMITS": "true"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
MCP_TRANSPORT_TYPEDeclared in the maintainer’s client configuration.Check documentation
MCP_LOG_LEVELDeclared in the maintainer’s client configuration.Check documentation
GIT_BASE_DIRDeclared in the maintainer’s client configuration.Check documentation
LOGS_DIRDeclared in the maintainer’s client configuration.Check documentation
GIT_USERNAMEDeclared in the maintainer’s client configuration.Check documentation
GIT_EMAILDeclared in the maintainer’s client configuration.Check documentation
GIT_SIGN_COMMITSDeclared in the maintainer’s client configuration.Check documentation