Gemini CLI Config Generator

Free generator for Google Gemini CLI config. Pick your model, theme, sandbox, and MCP servers, then copy a ready-to-use ~/.gemini/settings.json and GEMINI.md. Optional in-browser AI writes the project context file.

Advertisement

Generate a Gemini CLI settings.json

Google’s Gemini CLI reads ~/.gemini/settings.json (JSON) plus a GEMINI.md project context file. This tool builds both, with copy and download buttons.

Install Gemini CLI

npm install -g @google/gemini-cli

Then set your key: export GEMINI_API_KEY="your-aistudio-key" (from Google AI Studio). The key is read from the environment, not stored in settings.json.

What settings.json controls

  • model — default model such as gemini-2.5-pro or gemini-2.5-flash.
  • theme — dark, light, or auto.
  • fallbackEnabled — drop to Flash when Pro limits are hit.
  • sandbox — run tools in a Docker/Podman sandbox.
  • mcpServers — connect MCP servers (Filesystem, GitHub, Context7, Playwright).

GEMINI.md

Place GEMINI.md in your project root for shared context. The optional in-browser AI writes a tailored one from a plain-English project description — entirely on your device via WebGPU. GEMINI.md and settings.json remain supported under Antigravity, the successor to the Gemini CLI.

FAQ

Where does the API key go?

In the GEMINI_API_KEY environment variable (or ~/.gemini/.env), not in settings.json.

Is the Gemini CLI being replaced?

Google is migrating users to Antigravity (the agy CLI). These settings.json and GEMINI.md files carry over.

This tool is provided for informational and educational purposes only. All processing happens in your browser — no data is sent to or stored on our servers. While we strive for accuracy, we make no warranties about the completeness or reliability of results.