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 Codex over MCP
Codex is not on FluxGit's one-click detected list, so I will not pretend it is. If your Codex setup speaks the Model Context Protocol, it connects like any MCP-compatible host: add the generic block below to your host's MCP config. It is the same block the mirror README documents, so what you paste is what actually ships:
{
"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. The FluxGit app pre-fills the absolute sidecar path and gateway address under Settings, Agents / MCP, Quick Connect for you to copy.
step 3first approval
Ask Codex to do something with Git
Tell Codex to "commit what you changed". Codex 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.