Skip to main content
Glama
davidweb3-ctrl

MCP Git Enhanced

🦞 MCP Git Enhanced

Ein erweiterter Git-MCP-Server (Model Context Protocol), der KI-Assistenten leistungsstarke Funktionen für Code-Reviews, Commit-Analysen und Branch-Management bietet.

Funktionen

  • 🔍 Code-Diff-Analyse - Vergleiche Commits, Branches oder Änderungen im Arbeitsverzeichnis

  • 📊 Commit-Verlaufsanalyse - Tiefe Einblicke in Commit-Muster und Mitwirkende

  • 🌿 Branch-Management - Auflisten, Vergleichen und Bereinigungsvorschläge

  • 📈 Repository-Status - Umfassender Überblick über das Arbeitsverzeichnis

  • 🔎 Commit-Analyse - Detaillierte Untersuchung einzelner Commits

Installation

Über npm (sobald veröffentlicht)

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

Aus dem Quellcode

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

Verwendung mit Claude Code

Füge dies zu deiner Claude Code-Konfiguration hinzu (~/.claude/settings.json):

{
  "mcpServers": {
    "git-enhanced": {
      "command": "npx",
      "args": ["@bountyclaw/mcp-git-enhanced"]
    }
  }
}

Oder für die lokale Entwicklung:

{
  "mcpServers": {
    "git-enhanced": {
      "command": "node",
      "args": ["/path/to/mcp-git-enhanced/dist/index.js"]
    }
  }
}

Verfügbare Tools

git_diff

Analysiere Code-Änderungen zwischen Commits, Branches oder dem Arbeitsverzeichnis.

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

git_log

Analysiere den Commit-Verlauf mit Filtern und Statistiken.

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

git_branch

Verwalte und analysiere Git-Branches.

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

git_status

Erhalte einen umfassenden Repository-Status.

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

git_commit_analyze

Analysiere einen spezifischen Commit im Detail.

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

Anwendungsbeispiele

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-Gesundheit

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

Arbeitsverzeichnis

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

Entwicklung

# Install dependencies
npm install

# Build
npm run build

# Watch mode
npm run dev

# Test locally
node dist/index.js

Anforderungen

  • Node.js >= 18.0.0

  • Git installiert und im PATH verfügbar

Lizenz

MIT

Mitwirken

Beiträge sind willkommen! Bitte lies CONTRIBUTING.md für Details.


Erstellt mit 🦞 von BountyClaw

-
security - not tested
A
license - permissive license
-
quality - not tested

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/davidweb3-ctrl/mcp-git-enhanced'

If you have feedback or need assistance with the MCP directory API, please join our Discord server