1. Conduid
  2. Commerce
  3. MCP Git Enhanced
MCP server · Commerce

MCP Git Enhanced

An enhanced Git MCP server that provides AI assistants with powerful code review, commit analysis, and branch management capabilities for Git repositories.

Unclaimed commerce
34Low

Scored 6 months ago · breakdown

About MCP Git Enhanced

MCP Git Enhanced is an MCP server published by davidweb3-ctrl in the Commerce category: an enhanced Git MCP server that provides AI assistants with powerful code review, commit analysis, and branch management capabilities for Git repositories.

The repository has 1 stars and 0 forks, with the last commit 4 months ago. Recent commit activity is the strongest signal that reported issues will get attention.

Install

From source
git clone https://github.com/davidweb3-ctrl/mcp-git-enhanced

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Tools (5)

git_branchList branches, compare a branch to its base, or suggest cleanup candidates.

Parameters not published.

git_commit_analyzeInspect one commit with metadata, changed files, statistics, and diff output.

Parameters not published.

git_diffAnalyze working tree, staged, branch, commit, or path-specific diffs.

Parameters not published.

git_logReview commit history with filters for author, date range, branch, path, and stats.

Parameters not published.

git_statusSummarize staged, unstaged, and untracked repository state.

Parameters not published.

Ask AI

✦

Ask AI about MCP Git Enhanced

Powered by Claude · Grounded in docs

I know everything about MCP Git Enhanced. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

🦞 MCP Git Enhanced

Tests Coverage License

An enhanced Git MCP (Model Context Protocol) server that provides AI assistants with powerful code review, commit analysis, and branch management capabilities.

Features

  • 🔍 Code Diff Analysis - Compare commits, branches, or working directory changes
  • 📊 Commit History Analysis - Deep insights into commit patterns and contributors
  • 🌿 Branch Management - List, compare, and cleanup suggestions
  • 📈 Repository Status - Comprehensive working directory overview
  • 🔎 Commit Analysis - Detailed single commit inspection

Installation

From npm (when published)

npm install -g @bountyclaw/mcp-git-enhanced

From source

git clone https://github.com/bountyclaw/mcp-git-enhanced.git
cd mcp-git-enhanced
npm install
npm run build

Usage with Claude Code

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"]
    }
  }
}

Available Tools

git_diff

Analyze code changes between commits, branches, or working directory.

{
  "repoPath": "/absolute/path/to/repo",
  "target": "HEAD~5",
  "source": "HEAD~10",
  "filePath": "src/",
  "staged": false
}

git_log

Analyze commit history with filtering and statistics.

{
  "repoPath": "/absolute/path/to/repo",
  "maxCount": 20,
  "author": "John Doe",
  "since": "1 week ago",
  "stat": true
}

git_branch

Manage and analyze git branches.

{
  "repoPath": "/absolute/path/to/repo",
  "action": "list|compare|suggest_cleanup",
  "includeRemote": true
}

git_status

Get comprehensive repository status.

{
  "repoPath": "/absolute/path/to/repo",
  "short": false
}

git_commit_analyze

Analyze a specific commit in detail.

{
  "repoPath": "/absolute/path/to/repo",
  "commitHash": "abc123"
}

Example Use Cases

Code Review

"Show me the diff between main and the feature branch"
"What files changed in the last 5 commits?"
"Analyze the impact of commit abc123"

Repository Health

"List all branches that can be safely deleted"
"Show me commits from the last week"
"Who are the top contributors to this project?"

Working Directory

"What's the current status of my repo?"
"Show me the staged changes"
"What files have uncommitted changes?"

Development

# Install dependencies
npm install

# Build
npm run build

# Watch mode
npm run dev

# Test locally
node dist/index.js

Testing

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

Coverage Report

File Statements Branches Functions Lines
tools.ts 98%+ 95%+ 100% 98%+

Test Structure

  • src/__tests__/tools.test.ts - Unit tests for all 5 Git tool handlers
    • git_diff - 7 test cases
    • git_log - 13 test cases
    • git_branch - 10 test cases (list, compare, suggest_cleanup)
    • git_status - 5 test cases
    • git_commit_analyze - 4 test cases

Code Quality

# Run ESLint
npm run lint

# Fix ESLint issues
npm run lint:fix

# Format with Prettier
npm run format

# Check formatting
npm run format:check

Requirements

  • Node.js >= 18.0.0
  • Git installed and available in PATH

License

MIT

Contributing

Contributions welcome! Please read CONTRIBUTING.md for details.


Built with 🦞 by BountyClaw

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About MCP Git Enhanced

How do I install MCP Git Enhanced?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is MCP Git Enhanced safe to use with an AI agent?

Its trust score is 34 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is MCP Git Enhanced still maintained?

Yes — the last commit was 4 months ago. The repository has 1 stars and 0 forks.