Three steps using the commands shipped in the open-source MCP server README.
step 1install
Install FluxGit
Download the desktop app from the download page, which lists the platforms that have a build. 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 fluxgit-mcp-sidecar --locked
step 2connect
Connect Claude Code over MCP
Paste this block into Claude Code's MCP config. FluxGit pre-fills the sidecar path and gateway address under Settings, Agents / MCP, Quick Connect:
{
"mcpServers": {
"fluxgit": {
"command": "/absolute/path/to/fluxgit-mcp-sidecar",
"env": {
"FLUXGIT_MCP_HANDSHAKE_ADDR": "127.0.0.1:59647",
"FLUXGIT_MCP_AUDIT_LOG": "/optional/path/to/audit.jsonl"
}
}
}
}
FLUXGIT_MCP_HANDSHAKE_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
Submit the first Git proposal
Ask Claude Code to "commit what you changed." It calls repo.brief, submits operation.preview.commit with its reason and files, then FluxGit shows the Approve or Reject card.