Repository navigation
Releases
Releases · prasenjit-net/gitrs-mcp
0.1.0
Release Notes
The first release.
- Read tools (28):
- repository information, refs, tags, reflogs, stashes and notes;
- status, diffs, conflicts and merge previews;
- file contents, trees,
grep, ignore and attribute rules; - history, file history, commit search and blame;
- worktrees, submodules, config (with secrets redacted) and object statistics;
- the served repositories.
- Write tools (22), only with
--allow-write:- branches, tags, staging and commits;
- reset (soft, mixed, and a hard reset that dry-runs by default), restore, switch and clean;
- stashes;
- merge, cherry-pick, revert and rebase, with continue and abort, which leave git-compatible state so git can finish what gitrs-mcp started, and the reverse;
- adding and removing worktrees.
- Resources:
gitrs://commit/{rev},gitrs://file/{rev}/{+path}andgitrs://diff/{from}..{to}, with completion of revisions and paths. - Prompts:
write_commit_message,review_changesandexplain_history. - Progress and cancellation for long walks, and resource change notifications with
--watch. - Several repositories per server: repeat
--repo, or let the client's MCP roots add them. Every tool, prompt and resource takes an optionalrepo. - Local only: gix is built without network support. Repositories you don't own are read-only, as with git's
safe.directory. See docs/security.md. gitrs-mcp setupregisters the server with Claude Code, Claude Desktop, Cursor, VS Code and Codex CLI:--client,--all,--scope,--repo,--allow-write,--dry-run,--force, plus--status,--removeand--print. It backs up and atomically replaces the files it edits, refuses files it can't parse, and never enables write tools unless asked. See docs/configuration.md.- The server starts outside a repository when no
--repois given, serving the client's roots once it sends them. Tools say what to do until a repository is served. An explicit--repothat isn't a repository is still an error.
Install gitrs-mcp 0.1.0
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/prasenjit-net/gitrs-mcp/releases/download/v0.1.0/gitrs-mcp-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/prasenjit-net/gitrs-mcp/releases/download/v0.1.0/gitrs-mcp-installer.ps1 | iex"Install prebuilt binaries via Homebrew
brew install prasenjit-net/tap/gitrs-mcpDownload gitrs-mcp 0.1.0
| File | Platform | Checksum |
|---|---|---|
| gitrs-mcp-aarch64-apple-darwin.tar.gz | Apple Silicon macOS | checksum |
| gitrs-mcp-x86_64-apple-darwin.tar.gz | Intel macOS | checksum |
| gitrs-mcp-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
| gitrs-mcp-aarch64-unknown-linux-gnu.tar.gz | ARM64 Linux | checksum |
| gitrs-mcp-x86_64-unknown-linux-gnu.tar.gz | x64 Linux | checksum |