MCP server Git
✓ ПровереноПозволяет AI-клиенту управлять локальными Git-репозиториями, включая статус, логи, диффы, ветки и контролируемые коммиты, используя чистый JavaScript.
Также известен как Abhishekkumar2021/mcp-suite, @abhishekmcp/git, @abhishekmcp/files
- Звёзды
- 1
- Инструменты
- —
- Загрузки, 30 дней
- 389
- Последняя версия
- 0.2.0
- Последний коммит
- 4 июл. 2026 г.
- Лицензия
- MIT
Что такое Git MCP?
Git — это MCP server. Позволяет AI-клиенту управлять локальными Git-репозиториями, включая статус, логи, диффы, ветки и контролируемые коммиты, используя чистый JavaScript.
Сводка сгенерирована из README проекта
О Git MCP server
Этот сервер позволяет разработчикам управлять локальным контролем версий напрямую через AI-клиент. Он предоставляет возможность взаимодействия с Git-репозиториями на чистом JavaScript, что означает отсутствие необходимости в установленном локальном git binary. Это делает его высокопортативным для различных сред при подключении к таким клиентам, как Claude Desktop, Claude Code или Cursor.
Пользователи могут выполнять множество задач по управлению репозиторием, включая проверку статуса, просмотр логов, изучение диффов и управление ветками или тегами. Сервер также поддерживает операции с удаленными репозиториями, такие как клонирование, fetch, pull и push. Для обеспечения безопасности в процессе разработки в него включены инструменты контролируемого стейджинга и коммитов, предотвращающие случайные изменения. Он распространяется как независимый npm-пакет, что позволяет легко интегрировать его в существующие рабочие процессы через npx или MCPB-бандлы.
Что вы можете с ним делать
- 1Анализ изменений в репозиторииAI может изучить текущее состояние проекта и просмотреть конкретные различия в коде.
- 2Управление историей контроля версийРазработчики могут попросить AI просмотреть историю коммитов или вывести список существующих веток.
- 3Выполнение операций с удаленным репозиториемКлиент может выполнять задачи по синхронизации, такие как получение обновлений (pull) или отправка нового кода (push) в удаленный репозиторий.
- 4Выполнение контролируемых коммитовВы можете дать команду AI подготовить файлы к коммиту (stage) и выполнить коммит, используя защищенный рабочий процесс.
Взято из README проекта. Каждый вариант использования проверен на соответствие цитате из него.
Как установить Git MCP
Форматы проверены 10 ноя 2026Добавить в CursorДобавить в GooseУстановка Git MCP в Claude Code
$ claude mcp add --env 'GIT_ROOTS=<GIT_ROOTS>' git -- npx -y @abhishekmcp/gitУстановка Git MCP в Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"git": {
"command": "npx",
"args": [
"-y",
"@abhishekmcp/git"
],
"env": {
"GIT_ROOTS": "<GIT_ROOTS>"
}
}
}
}Установка Git MCP в VS Code
.vscode/mcp.json
{
"servers": {
"git": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@abhishekmcp/git"
],
"env": {
"GIT_ROOTS": "<GIT_ROOTS>"
}
}
}
}Установка Git MCP в VS Code CLI
$ code --add-mcp '{"name":"git","type":"stdio","command":"npx","args":["-y","@abhishekmcp/git"],"env":{"GIT_ROOTS":"<GIT_ROOTS>"}}'Установка Git MCP в Claude Desktop
claude_desktop_config.json
{
"mcpServers": {
"git": {
"command": "npx",
"args": [
"-y",
"@abhishekmcp/git"
],
"env": {
"GIT_ROOTS": "<GIT_ROOTS>"
}
}
}
}Установка Git MCP в Codex
$ codex mcp add git --env 'GIT_ROOTS=<GIT_ROOTS>' -- npx -y @abhishekmcp/gitУстановка Git MCP в Codex config.toml
~/.codex/config.toml
[mcp_servers.git] command = "npx" args = ["-y", "@abhishekmcp/git"] [mcp_servers.git.env] GIT_ROOTS = "<GIT_ROOTS>"
Установка Git MCP в Gemini CLI
$ gemini mcp add -s user -e 'GIT_ROOTS=<GIT_ROOTS>' git npx -- -y @abhishekmcp/gitУстановка Git MCP в Gemini settings.json
~/.gemini/settings.json
{
"mcpServers": {
"git": {
"command": "npx",
"args": [
"-y",
"@abhishekmcp/git"
],
"env": {
"GIT_ROOTS": "<GIT_ROOTS>"
}
}
}
}Конфигурация
GIT_ROOTSОбязательноAllowed repo root directories (comma-separated). Required — the server refuses to start without it.
GIT_WRITABLESet to 1 or true to enable local write tools (stage/commit/branch/checkout).
NOTES_DIR
| Название | Описание | Тип |
|---|---|---|
| GIT_ROOTS | Allowed repo root directories (comma-separated). Required — the server refuses to start without it. | Обязательно |
| GIT_WRITABLE | Set to 1 or true to enable local write tools (stage/commit/branch/checkout). | |
| NOTES_DIR | — |
Автоматические проверки
Запущено 14 нояб. 2026 г.Полный отчёт →Прошло наши автоматизированные проверки. Это не аудит безопасности: изучите код и предоставьте серверу минимально необходимый доступ. Как работают проверки
- Связанный и доступный исходный репозиторийabhishekkumar2021/mcp-suite is public and reachablegithub.com/abhishekkumar2021/mcp-suite ↗Пройдено
- Пакет указывает этот репозиторий как источник@abhishekmcp/git, @abhishekmcp/files name abhishekkumar2021/mcp-suite as sourcenpmjs.com/package/@abhishekmcp/git ↗Пройдено
- Происхождение сборки (аттестация Sigstore)Sigstore attestation for @abhishekmcp/git, @abhishekmcp/filesnpmjs.com/package/@abhishekmcp/git/v/0.2.0#provenance ↗Пройдено
- Open source лицензия (OSI)MITspdx.org/licenses/MIT.html ↗Пройдено
- Коммит или релиз за последний годLast commit or release 2026-07-04github.com/abhishekkumar2021/mcp-suite ↗Пройдено
- OpenSSF ScorecardНе проверялось
- Имя пакета не похоже на популярный пакетNo popular package one edit away from @abhishekmcp/git, @abhishekmcp/filesПройдено
- Нет критических предупреждений в пакете или его зависимостях130 resolved dependencies checked; no critical advisoryosv.dev ↗Пройдено
- Нет скрытых инструкций для модели0 tool descriptions and the README read; no override phrases, credential paths or hidden charactersПройдено
- Деструктивные инструменты помеченыНе проверялось
- Удалённая конечная точка отвечает на рукопожатие MCPНе проверялось
README
Открыть на GitHub🧰 mcp-suite
A collection of Model Context Protocol servers, built in TypeScript.
Each server lives in its own folder under servers/ and publishes to npm as an independent package, while sharing tooling through an npm workspace. Connect them to any MCP client — Claude Desktop, Claude Code, Cursor, and more.
Table of contents
- Servers
- Quickstart
- Install
- Connecting to a client
- Architecture & conventions
- Development
- Adding a new server
- Publishing
- Contributing
- License
Servers
| Server | Description | Status |
|---|---|---|
notes |
Local markdown notes: ranked full-text and semantic search, tags, todos, a [[wiki-link]] knowledge graph, daily notes + templates, and slash-command workflows (prompts) |
✅ Stable |
files |
Sandboxed local filesystem: read, glob + content search, token-efficient edits, copy/move, soft-delete trash, zip, checksums, and dedup | ✅ Stable |
github |
GitHub: search repos/code/issues, read repos/issues/PRs/files, notifications, create issues — OAuth device flow or token | ✅ Stable |
git |
Git: status, log, diff, file history, branches/tags, gated stage/commit, and remote clone/fetch/pull/push — pure-JS, no git binary | ✅ Stable |
sql |
SQL databases: read-only query + schema introspection over Postgres & SQLite, gated writes | ✅ Stable |
http |
HTTP/REST client: ad-hoc requests + saved collections/environments, env secrets, host-allowlisted + SSRF-safe | ✅ Stable |
More on the way: a Spotify controller, and others.
Quickstart
git clone https://github.com/Abhishekkumar2021/mcp-suite.git
cd mcp-suite
npm install # installs deps for every workspace
npm run build # builds every server
Install
Every server ships through every common channel. For the Claude Code plugin, add the marketplace
once — /plugin marketplace add Abhishekkumar2021/mcp-suite — then install per the table. See each
server's README for full config.
| Server | Claude Code plugin | npm (any client) | Claude Desktop (MCPB) | MCP registry |
|---|---|---|---|---|
notes |
/plugin install notes |
npx -y @abhishekmcp/notes |
drag notes-*.mcpb from the latest release |
io.github.Abhishekkumar2021/notes |
files |
/plugin install files |
npx -y @abhishekmcp/files |
drag files-*.mcpb |
io.github.Abhishekkumar2021/files |
github |
/plugin install github |
npx -y @abhishekmcp/github |
drag github-*.mcpb |
io.github.Abhishekkumar2021/github |
git |
/plugin install git |
npx -y @abhishekmcp/git |
drag git-*.mcpb |
io.github.Abhishekkumar2021/git |
sql |
/plugin install sql |
npx -y @abhishekmcp/sql |
drag sql-*.mcpb |
io.github.Abhishekkumar2021/sql |
http |
/plugin install http |
npx -y @abhishekmcp/http |
drag http-*.mcpb |
io.github.Abhishekkumar2021/http |
notesdefaults to~/notes;filesrequiresFS_ROOTS(the directories it may touch). MCPB bundles install via Claude Desktop → Settings → Extensions.
Connecting to a client
Each server's README has full configuration instructions. As an example, to use the notes server with Claude Code:
claude mcp add notes --env NOTES_DIR=$HOME/notes -- node "$(pwd)/servers/notes/dist/index.js"
Or with Claude Desktop (claude_desktop_config.json):
{
"mcpServers": {
"notes": {
"command": "node",
"args": ["/absolute/path/to/mcp-suite/servers/notes/dist/index.js"],
"env": { "NOTES_DIR": "/absolute/path/to/your/notes" }
}
}
}
Architecture & conventions
A few principles hold across every server:
- Pure-JS/WASM by default; native only when genuinely required. Servers run via
npx/MCPB on any machine, so portable pure-JS/WebAssembly is strongly preferred and a native dependency is used only when genuinely required (gated + documented). In practice these servers are dependency-light:notesuses MiniSearch + WebAssembly embeddings,sqluses thesql.jsWASM SQLite engine, andfilesusesfast-globinstead of ripgrep.npm auditstays clean. - Sandbox-first, layered design. Each server keeps a thin
index.ts(tool registration only) over focused modules, with a single security boundary every path must pass through (realpath-containment, symlink-escape rejection, atomic writes). - Token-efficient by default. Pagination, head/tail/section reads, snippets, and compact graph refs keep tool output small.
- Automated, hands-off releases. A GitHub Release tagged
<server>-v<version>publishes to npm (with provenance), the official MCP registry, and attaches an MCPB bundle — all via OIDC, no secrets. - Tested in CI. Each server ships a committed
node:testsuite (unit + integration/security) run on every push.
Development
This is an npm workspaces monorepo.
npm install # install all workspace dependencies (run once at the root)
npm run build # build every server
npm run build -w servers/notes # build a single server
npm test --workspaces --if-present # run each server's test suite
npm run clean # remove all build output
Adding a new server
- Create
servers/<name>/with its ownpackage.json(unique npmname) and atsconfig.jsonthatextends: "../../tsconfig.base.json". - Put source in
servers/<name>/src/. - Run
npm installat the root so the workspace picks it up. - Add a row to the Servers table above.
All servers follow the naming standard (@abhishekmcp/<slug>). See CONTRIBUTING.md for detailed guidelines.
Publishing
Releases are automated. Cutting a GitHub Release tagged <server>-v<version> triggers
publish.yml, which — authenticated entirely via GitHub OIDC (no
NPM_TOKEN) — publishes the package to npm with provenance, registers it on the official MCP
registry, and builds + attaches the MCPB bundle to the release.
# bump servers/<name>/package.json, commit, then:
gh release create <name>-v<version> --title "<name> v<version>" --notes "…"
Contributing
Contributions are welcome! Please read CONTRIBUTING.md and our Code of Conduct. Found a security issue? See SECURITY.md.
License
MIT © Abhishek
Вопросы о Git MCP
Как добавить Git MCP в Claude Code?
Выполните claude mcp add --env 'GIT_ROOTS=<GIT_ROOTS>' git -- npx -y @abhishekmcp/git в терминале. Добавьте --scope user, чтобы сервер был доступен во всех проектах.
Как добавить Git MCP в Cursor?
Откройте ~/.cursor/mcp.json и добавьте сервер в mcpServers, используя конфигурацию Cursor из раздела установки выше.
Требует ли этот Git-сервер наличия установленного локального бинарного файла Git?
Нет, сервер написан на чистом JavaScript и для работы не требует наличия Git binary.
Какие Git-операции может выполнять AI с помощью этого сервера?
Сервер поддерживает проверку статуса, просмотр логов и диффов, изучение истории файлов, веток и тегов, а также выполнение контролируемого стейджинга и коммитов, и управление удаленными репозиториями через clone, fetch, pull и push.
Как установить Git MCP server?
Вы можете установить его через npm с помощью npx -y @abhishekmcp/git или добавив плагин Claude Code.