Skip to main content
Glama
davidweb3-ctrl

MCP Git Enhanced

🦞 MCP Git Enhanced

AI 어시스턴트에게 강력한 코드 리뷰, 커밋 분석 및 브랜치 관리 기능을 제공하는 향상된 Git MCP(Model Context Protocol) 서버입니다.

기능

  • 🔍 코드 차이 분석 - 커밋, 브랜치 또는 작업 디렉토리 변경 사항 비교

  • 📊 커밋 기록 분석 - 커밋 패턴 및 기여자들에 대한 심층적인 통찰력

  • 🌿 브랜치 관리 - 목록 확인, 비교 및 정리 제안

  • 📈 저장소 상태 - 포괄적인 작업 디렉토리 개요

  • 🔎 커밋 분석 - 상세한 단일 커밋 검사

설치

npm에서 (배포 시)

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

Claude Code와 함께 사용하기

Claude Code 설정(~/.claude/settings.json)에 추가하세요:

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

또는 로컬 개발의 경우:

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

사용 가능한 도구

git_diff

커밋, 브랜치 또는 작업 디렉토리 간의 코드 변경 사항을 분석합니다.

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

git_log

필터링 및 통계를 사용하여 커밋 기록을 분석합니다.

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

git_branch

Git 브랜치를 관리하고 분석합니다.

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

git_status

포괄적인 저장소 상태를 가져옵니다.

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

git_commit_analyze

특정 커밋을 상세하게 분석합니다.

{
  "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

요구 사항

  • Node.js >= 18.0.0

  • Git이 설치되어 있고 PATH에서 사용 가능해야 함

라이선스

MIT

기여

기여를 환영합니다! 자세한 내용은 CONTRIBUTING.md를 읽어보세요.


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