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 buildClaude 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 をお読みください。
Built with 🦞 by BountyClaw
This server cannot be installed
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