Skip to main content
Use Gemini CLI when the agent runs in Google’s terminal client.

Generate the setup command

  1. Open Agents in Fortress.
  2. Create or rotate an agent.
  3. Choose Gemini CLI as the runtime.
  4. Copy the generated command.
The generated command follows this shape:
Fortress uses --scope user so the server is available outside one project. Use a project-scoped setup only when that is intentional.

Verify

Run:
Then ask Gemini to read fortress://workspace/overview.

Manual config

Gemini CLI can also read mcpServers from ~/.gemini/settings.json:
See the Gemini CLI MCP server documentation.