
Product
Socket Now Protects the Firefox Extension Ecosystem
Socket is bringing experimental protection to Firefox, scanning 97,000+ extensions in Mozilla's official directory for malware and risky updates.
@davidweb3-ctrl/mcp-git-enhanced
Advanced tools
Enhanced Git MCP Server - Code review, commit analysis, and branch management
An enhanced Git MCP (Model Context Protocol) server that provides AI assistants with powerful code review, commit analysis, and branch management capabilities.
npm install -g @bountyclaw/mcp-git-enhanced
git clone https://github.com/bountyclaw/mcp-git-enhanced.git
cd mcp-git-enhanced
npm install
npm run build
Add to your Claude Code configuration (~/.claude/settings.json):
{
"mcpServers": {
"git-enhanced": {
"command": "npx",
"args": ["@bountyclaw/mcp-git-enhanced"]
}
}
}
Or for local development:
{
"mcpServers": {
"git-enhanced": {
"command": "node",
"args": ["/path/to/mcp-git-enhanced/dist/index.js"]
}
}
}
Analyze code changes between commits, branches, or working directory.
{
"repoPath": "/absolute/path/to/repo",
"target": "HEAD~5",
"source": "HEAD~10",
"filePath": "src/",
"staged": false
}
Analyze commit history with filtering and statistics.
{
"repoPath": "/absolute/path/to/repo",
"maxCount": 20,
"author": "John Doe",
"since": "1 week ago",
"stat": true
}
Manage and analyze git branches.
{
"repoPath": "/absolute/path/to/repo",
"action": "list|compare|suggest_cleanup",
"includeRemote": true
}
Get comprehensive repository status.
{
"repoPath": "/absolute/path/to/repo",
"short": false
}
Analyze a specific commit in detail.
{
"repoPath": "/absolute/path/to/repo",
"commitHash": "abc123"
}
"Show me the diff between main and the feature branch"
"What files changed in the last 5 commits?"
"Analyze the impact of commit abc123"
"List all branches that can be safely deleted"
"Show me commits from the last week"
"Who are the top contributors to this project?"
"What's the current status of my repo?"
"Show me the staged changes"
"What files have uncommitted changes?"
# Install dependencies
npm install
# Build
npm run build
# Watch mode
npm run dev
# Test locally
node dist/index.js
This project uses Jest for testing with comprehensive coverage for all Git tool handlers.
# Run all tests
npm test
# Run tests with coverage report
npm run test:coverage
# Run tests in watch mode
npm run test:watch
| File | Statements | Branches | Functions | Lines |
|---|---|---|---|---|
| tools.ts | 98%+ | 95%+ | 100% | 98%+ |
src/__tests__/tools.test.ts - Unit tests for all 5 Git tool handlers
git_diff - 7 test casesgit_log - 13 test casesgit_branch - 10 test cases (list, compare, suggest_cleanup)git_status - 5 test casesgit_commit_analyze - 4 test cases# Run ESLint
npm run lint
# Fix ESLint issues
npm run lint:fix
# Format with Prettier
npm run format
# Check formatting
npm run format:check
MIT
Contributions welcome! Please read CONTRIBUTING.md for details.
Built with 🦞 by BountyClaw
FAQs
Enhanced Git MCP Server - Code review, commit analysis, and branch management
The npm package @davidweb3-ctrl/mcp-git-enhanced receives a total of 47 weekly downloads. As such, @davidweb3-ctrl/mcp-git-enhanced popularity was classified as not popular.
We found that @davidweb3-ctrl/mcp-git-enhanced demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket is bringing experimental protection to Firefox, scanning 97,000+ extensions in Mozilla's official directory for malware and risky updates.

Research
/Security News
Three compromised Rust crates pulled in a malicious dependency that downloaded and executed cross-platform malware during Cargo builds.

Research
/Security News
Socket uncovered 77 linked Firefox extensions, including 40 that steal wallet secrets or credentials and 37 deceptive sports-score shells.