Official

Git MCP Server

Git repositories accessed and manipulated through AI-driven automation workflows.

Data last scanned today · Reviewed today

7112 tools88,628TypeScriptNOASSERTION

Overview

This server provides tools to integrate Git version control directly into Large Language Model workflows. It allows for the inspection of repository states, viewing unstaged and staged changes, and comparing differences between branches or specific commits. Users can perform essential repository management tasks, including staging files, committing changes, and resetting the index. Built in TypeScript, the server facilitates interaction with local Git repositories via standardized tools. It includes comprehensive log filtering capabilities, supporting ISO 8601 timestamps and relative date queries to help developers track repository history effectively.

Our verdict

With a security score of 56/100, this server is currently classified as high risk. The primary security concern is the total lack of authentication, meaning any process with access to the configuration can execute commands on your repositories. Furthermore, the absence of a read-only mode means every installation inherently grants full write access to your files. It should only be used in trusted, local development environments where you are comfortable with the AI having unrestricted permission to modify your git state.

  • Maintained by the official modelcontextprotocol organization
  • Zero direct dependencies minimize the software supply chain surface
  • Active development with commits within the last five days
  • No authentication mechanism implemented for configuration access
  • Lacks read-only mode, exposing every repository to full write access
  • License status is marked as NOASSERTION
  • Explicitly described as being in early development stages

Tools

ToolDescriptionRisk
git_statusShows the working tree statuslow
git_diff_unstagedShows changes in working directory not yet stagedlow
git_diff_stagedShows changes that are staged for commitlow
git_diffShows differences between branches or commitslow
git_commitRecords changes to the repositorymedium
git_addAdds file contents to the staging areamedium
git_resetUnstages all staged changesmedium
git_logShows the commit logs with optional date filteringlow
git_create_branchCreates a new branchmedium
git_checkoutSwitches branchesmedium
git_showShows the contents of a commitlow
git_branchList Git brancheslow

Compatibility

ClientLocalDockerRemoteRead-only
ChatGPT
Claude Desktop
Cursor
VS Code
Windsurf

Alternatives

Badge

Git MCP Server security score, rated on RepoAI

Maintain this server? Add the live badge to your README.