Gemini CLI
coord setup and coord connect find Gemini CLI on their own (~/.gemini, or gemini on your PATH) and add the coordigent server to ~/.gemini/settings.json, so every repo gets the tools.
Set it up
Nothing to do if coord setup found Gemini CLI. To write the MCP entry yourself, once per machine:
coord install gemini --userOr, to write the MCP entry into one repo for a team that commits it, run this inside it:
coord connect --repo-files --clients geminiWithout --clients, coord connect --repo-files writes the MCP entry when the repo already has a .gemini/ directory, or when it finds Gemini CLI on this machine and you say yes to its one question.
Restart any running gemini session to pick up the tools.
What gets written
On this machine
One entry under mcpServers in ~/.gemini/settings.json:
{
"mcpServers": {
"coordigent": {
"command": "/Users/you/.tower/bin/coord-mcp",
"args": [],
"env": {}
}
}
}Your other settings and servers stay, and so do comments in the file. No token is stored here: coord-mcp reads your login from ~/.tower/config.json.
Gemini CLI is given the coordination rules as MCP server instructions. Coordigent does not write GEMINI.md. That has not been checked inside Gemini (no marker check). coord update removes the Coordigent block from an old GEMINI.md or ~/.gemini/GEMINI.md and leaves the rest of the file.
In the repo, with --repo-files
.gemini/settings.json: the same entry, launchingcoord-mcpthrough$HOMEso the file is identical on every teammate's machine.
Check it
coord doctor geminicoord doctor lists gemini with a ✓ and the config file it found. A ✗ line names the command that fixes it. gemini mcp list shows coordigent; then ask the agent to call coordigent.status.
What works and what degrades
- Files in use. Coordigent has no hook or log reader for Gemini CLI, so it does not see what a Gemini agent edits. The agent still appears in the project once it calls a
coordigent.*tool, and can read status and send messages. - Messages. A message or conflict waits until the agent's next
coordigent.*tool call, and arrives as a⚠ COORD:banner on its result.coordigent.message.inboxreads the rest. - Approvals. Gemini CLI asks before each tool call. Coordigent does not set
truston its entry, since that would approve every tool without asking.
Remove
coord uninstall takes the coordigent entry out of ~/.gemini/settings.json and each repo's .gemini/settings.json, and the Coordigent block out of a GEMINI.md it recorded. coord uninstall gemini does it for Gemini CLI only. Add --dry-run to see the plan first.
Next
- MCP tools lists every
coordigent.*tool the agent can call. - Other MCP clients covers apps with no setup of their own.