MCP Git Enhanced
🦞 MCP Git Enhanced
Улучшенный MCP-сервер (Model Context Protocol) для Git, предоставляющий ИИ-ассистентам мощные возможности для проверки кода, анализа коммитов и управления ветками.
Возможности
🔍 Анализ различий в коде — сравнение коммитов, веток или изменений в рабочей директории
📊 Анализ истории коммитов — глубокое понимание паттернов коммитов и вклада участников
🌿 Управление ветками — список, сравнение и рекомендации по очистке
📈 Статус репозитория — комплексный обзор рабочей директории
🔎 Анализ коммитов — детальный осмотр отдельного коммита
Установка
Через 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
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