Fast Rust MCP server exposing git repository operations over stdio
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"mcp-server-git-rs": {
"command": "<see-readme>",
"args": []
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
A fast Rust MCP server that exposes git repository operations over stdio. Drop-in replacement for the Python mcp-server-git reference server: same tool names, same input schemas, same stdio transport.
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in developer-tools
A Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
XcodeBuildMCP provides tools for Xcode project management, simulator management, and app utilities.
Manage Supabase projects — databases, auth, storage, and edge functions
An open-source AI agent that brings the power of Gemini directly into your terminal.
MCP Security Weekly
Get CVE alerts and security updates for Mcp Server Git Rs and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
A fast Rust MCP server that exposes git repository operations over stdio. Drop-in
replacement for the Python mcp-server-git
reference server: same tool names, same input schemas, same stdio transport.
Single static binary. On an Apple M3, ~5 ms cold start vs ~375 ms for the
Python server, and warm tools/call round-trips of 1–7 ms across the
read-only tools we measure. Numbers, methodology, and a reproducible harness
are in bench/.
git_push, plus 39
more across 8 opt-in groups (inspection, tags, stash, remotes, history,
branches-extended, worktrees, notes). Default invocation still exposes only
the core 13 so smaller agents don't see a 50-tool list.--features — one CLI flag, comma-separated values, all
shorthand. Single binary, gated at runtime.bench/run.py measures cold start + warm-call
p50/p95 against uvx mcp-server-git on whatever fixture you point it at.
The "60×" claim is now a number you can verify, not a marketing line.--repository),
flag-injection rejection, revparse validation. Matches the Python server's
invariants one-to-one and applies them to every new tool.The default invocation exposes these 13 tools — the full Python reference set
plus git_push. They match the Python server's names, schemas, and error
shapes one-to-one.
| Tool | Description | Annotations |
|---|---|---|
git_status | Working tree status | read-only |
git_diff_unstaged | Unstaged changes | read-only |
git_diff_staged | Staged changes | read-only |
git_diff | Diff working tree against a branch/tag/commit | read-only |
git_commit | Record staged changes | — |
git_add | Stage files; ["."] stages everything | — |
git_reset | Unstage all | destructive |
git_log | Commit log with optional date filtering | read-only |
git_create_branch | Create a branch | — |
git_checkout | Switch branches | — |
git_show | Show a commit | read-only |
git_branch | List branches (local/remote/all, with contains/not_contains) | read-only |
git_push (new in v0.1.0) | Push to a remote. SSH agent for git@, credential helper for https:// | destructive |
--features <LIST>)Pass --features with a comma-separated list to enable additional groups, or
--features all to enable everything. Without the flag, the core 13 above are
the only tools exposed.
| Group | Flag | Tools |
|---|---|---|
| Inspection | inspection | git_blame, git_blame_line, git_ls_tree, git_cat_file, git_show_ref |
| Tags | tags | git_tag_list, git_tag_create, git_tag_delete, git_tag_push, git_describe |
| Stash | stash | git_stash_list, git_stash_save, git_stash_pop, git_stash_apply, git_stash_drop, git_stash_show |
| Remotes / network | remotes | git_remote_list, git_remote_add, git_remote_remove, git_remote_set_url, git_fetch, git_remote_prune, git_ls_remote |
| History (mostly destructive) | history | git_revert, git_cherry_pick, git_reset_hard, git_clean, git_rev_parse |
| Branches (exte |