Google
Set up Doorman with Gemini CLI
Google's open-source agent for the terminal, with MCP and built-in tools. Runs in: Terminal.
-
Paste this prompt into Gemini CLI
Open your site's project and paste it. It works on its own: your agent reads /llms.txt, signs you up and wires your forms over plain HTTP.
Add Doorman spam protection to this project's forms. Follow https://withdoorman.com/llms.txt. Ask me which email should receive real submissions before signing up.
-
Optional: add Doorman's MCP server
Gives Gemini CLI Doorman's tools directly: sign up, configure forms, get install code, run tests and review held submissions. Add it in
~/.gemini/settings.json:{ "mcpServers": { "doorman": { "httpUrl": "https://withdoorman.com/mcp", "headers": { "Authorization": "Bearer $DOORMAN_KEY" } } } }MCP config formats change between versions of Gemini CLI. If this doesn't connect, check its MCP docs; the prompt above works either way.
-
Answer one question
Your agent asks which email should receive real submissions, then creates the account, wires the form, stores the key in
.envand runs one genuine and one spam test. Confirm your email from the link we send you.