MCP Servers / version-control / MCP Git Repo Browser

MCP Git Repo Browser

JSON →
stdionone2version-control

A Git repository browser that allows you to navigate and inspect local Git repositories using the Model Context Protocol.

Install
How to run this server
[ { "cmd": "npm install -g git-commands-mcp", "imports": [] } ]
server path: mcp-git-repo-browser-2
Tools
What this server exposes
git_directory_structure
Returns a tree-like representation of a repository's directory structure
git_read_files
Reads and returns the contents of specified files in a repository
git_search_code
Searches for patterns in repository code
git_branch_diff
Compare two branches and show files changed between them
git_commit_history
Get commit history for a branch with optional filtering
git_commits_details
Get detailed information about commits including full messages and diffs
git_local_changes
Get uncommitted changes in the working directory
Configuration
Environment & auth
authnone
envNPM_AUTOMATION_TOKEN
Resources
MCP Git Repo Browser — MCP Server · libregistry