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 and Linux builds are by invite during the beta. 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 Cursor over MCP
Cursor is a one-click host. FluxGit detects Cursor automatically: open Settings, Agents / MCP, and Cursor appears in the host list once ~/.cursor/mcp.json exists. One click writes the fluxgit entry into that file and backs up your current config first, so nothing else Cursor already trusts is disturbed.
Prefer to do it by hand? Paste the generic block below into ~/.cursor/mcp.json. It is the same block the mirror README documents:
{
"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 Cursor to do something with Git
Say "commit what you changed" in Cursor. Cursor 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.