Set up Doorman with Codex
OpenAI's coding agent as a terminal CLI, an IDE extension and a desktop app. Runs in: Terminal CLI, IDE extension, desktop app.
-
Paste this prompt into Codex
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 Codex Doorman's tools directly: sign up, configure forms, get install code, run tests and review held submissions. Add it in
~/.codex/config.toml:[mcp_servers.doorman] url = "https://withdoorman.com/mcp" bearer_token_env_var = "DOORMAN_KEY"
MCP config formats change between versions of Codex. 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.