MCP Git Repo Browser
JSON →A Git repository browser that allows you to navigate and inspect local Git repositories using the Model Context Protocol.
Install
npm install -g git-commands-mcp Tools · 7
- 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
Environment variables
NPM_AUTOMATION_TOKEN
Links
★ 2 GitHub stars