Gemini CLI Config Generator
Generate a settings.json and GEMINI.md for Google’s Gemini CLI — model, theme, sandbox, fallback, and MCP servers, with an optional private in-browser AI context writer.
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-cliThen 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-proorgemini-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.
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-cliThen 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-proorgemini-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.
You build the idea. I'll ship the product.
Productized MVP development for founders. 9 SaaS apps shipped — yours could be next, in 6 weeks. Secure by default.
ℹ️ Disclaimer
This tool is provided for informational and educational purposes only. All processing happens entirely 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. Use at your own discretion.