Git Pilot
БесплатноНе проверенGitPilot - A high-performance MCP server for Git operations, built in C++20 with Boost and libgit2. Enables AI assistants like Claude, Opencode to interact with
Описание
GitPilot - A high-performance MCP server for Git operations, built in C++20 with Boost and libgit2. Enables AI assistants like Claude, Opencode to interact with Git repositories through a standardized interface.
README
GitPilot is a C++20 MCP server that exposes Git operations as callable tools for AI assistants. Send it a JSON-RPC request over stdin; it replies with git data as JSON.
Features
| Area | Status |
|---|---|
| Git status, log, diff, commit | Done |
Tool auto-discovery (tools/list) |
Done |
| JSON-RPC 2.0 over stdin (newline-delimited) | Done |
| Thread-safe logger (stderr / file) | Done |
| CLI (mode, log-level, log-file, host, port) | Done |
| HTTP mode (TCP acceptor skeleton) | Partial |
| Git clone, add, checkout, merge, show | Not yet |
MCP lifecycle handshake (initialize) |
Not yet |
Quick Start
cmake --preset debug
cmake --build --preset debug
# List available tools
echo '{"jsonrpc":"2.0","method":"tools/list","id":1}' \
| build/debug/src/git_pilot_server stdio
# Show git status
echo '{"jsonrpc":"2.0","method":"tools/call","params":'
'{"name":"status","arguments":{"repo_path":"."}},"id":2}' \
| build/debug/src/git_pilot_server stdio
# Show recent commits
echo '{"jsonrpc":"2.0","method":"tools/call","params":'
'{"name":"log","arguments":{"repo_path":".","max_count":5}},"id":3}' \
| build/debug/src/git_pilot_server stdio
# Diff working tree
echo '{"jsonrpc":"2.0","method":"tools/call","params":'
'{"name":"diff","arguments":{"repo_path":"."}},"id":4}' \
| build/debug/src/git_pilot_server stdio
# Create a commit
echo '{"jsonrpc":"2.0","method":"tools/call","params":'
'{"name":"commit","arguments":{"repo_path":".",'
'"message":"feat: add feature","author_name":"You",'
'"author_email":"[email protected]"}},"id":5}' \
| build/debug/src/git_pilot_server stdio
CLI Usage
Usage: git_pilot_server [mode] [options]
| Flag | Default | Description |
|---|---|---|
--mode |
stdio |
Server mode: stdio or http |
-L --log-level |
info |
Level: off/fatal/error/warn/info/debug/trace |
-F --log-file |
(stderr) | Write logs to file |
-H --host |
0.0.0.0 |
HTTP bind address |
-P --port |
8080 |
HTTP bind port |
-? --help |
Show help | |
-V --version |
Show version |
Build
Requires CMake 4.4.0+, a C++20 compiler, Boost ≥ 1.87.0, and libgit2.
| Preset | Generator | Binary dir |
|---|---|---|
debug |
Ninja | build/debug |
release |
Ninja | build/release |
xcode-debug |
Xcode | build/xcode-debug |
xcode-release |
Xcode | build/xcode-release |
cmake --preset debug # configure
cmake --build --preset debug # build
ctest --preset all # (no tests yet)
Platform Support
- macOS (AppleClang, arm64/x86_64) — primary dev platform
- Windows (Visual Studio 17 2022) — CMake presets exist, untested
- Linux — not tested but should work with GCC 13+ / Clang 16+
License
MIT — see LICENSE.
For developers: DEV.md | For implementation details: DEV_IN_DEPTH.md
Установка Git Pilot
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/pritam12426/git_pilotFAQ
Git Pilot MCP бесплатный?
Да, Git Pilot MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Git Pilot?
Нет, Git Pilot работает без API-ключей и переменных окружения.
Git Pilot — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Git Pilot в Claude Desktop, Claude Code или Cursor?
Открой Git Pilot на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectAmap Maps Mcp Server
MCP server for using the AMap Maps API
автор: duxiaohuiSupabase
Database, auth and storage
автор: SupabaseEverything
Reference / test server with prompts, resources, and tools.
Git
Tools to read, search, and manipulate Git repositories.
Sequential Thinking
Dynamic and reflective problem-solving through thought sequences.
Time
Time and timezone conversion capabilities.
Compare Git Pilot with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
