Three steps. Every command below comes straight from the README of the open-source MCP server, so what you paste is what actually ships.
step 1install
Install FluxGit
Download the desktop app for macOS, Windows or Linux. This is where the approval cards appear. If you only want the free read-only shell without the app, one command puts fluxgit-mcp-sidecar on your PATH:
cargo install --git https://github.com/fluxgit-hq/fluxgit-mcp-server fluxgit-mcp-sidecar
step 2connect
Connect Claude Code over MCP
Claude Code is an MCP host, so the generic block works as-is. Paste it into your MCP config; the FluxGit app pre-fills the absolute sidecar path and gateway address for you under Settings, Agents / MCP, Quick Connect:
{
"mcpServers": {
"fluxgit": {
"command": "/absolute/path/to/fluxgit-mcp-sidecar",
"env": {
"FLUXGIT_GATEWAY_ADDR": "127.0.0.1:14660",
"FLUXGIT_MCP_AUDIT_LOG": "/optional/path/to/audit.jsonl"
}
}
}
}
FLUXGIT_GATEWAY_ADDR unlocks the FluxGit-powered tools and the approval loop; without it, the free read-only tier still works. FLUXGIT_MCP_AUDIT_LOG is optional and writes an append-only audit file.
step 3first approval
Ask Claude to do something with Git
Say "commit what you changed" in Claude Code. Claude calls repo.brief to orient itself, then sends operation.preview.commit with its reason and the exact files it wants to stage. A card appears in FluxGit; you read it and click Approve or Reject. That is the whole loop.