Set up Doorman with Claude Code

Anthropic's coding agent for the terminal, IDEs and desktop. Reads your codebase, edits files and runs commands. Runs in: Terminal, VS Code and JetBrains extensions, desktop app.

  1. Paste this prompt into Claude Code

    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.

    To: Your coding agent

    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.
  2. Or install the Doorman plugin

    Adds Doorman's MCP server and two skills to Claude Code: /doorman:protect-forms sets up your forms in watch mode and runs a test, and /doorman:review-submissions shows what was kept out and why. Run these in a session:

    Claude Codebash
    /plugin marketplace add https://withdoorman.com/claude/marketplace.json
    /plugin install doorman@withdoorman

    No key needed to install: sign-up happens in the session and returns one.

  3. Optional: add Doorman's MCP server on its own

    Gives Claude Code Doorman's tools directly: sign up, configure forms, get install code, run tests and review held submissions. Add it in claude mcp add:

    claude mcp addbash
    claude mcp add --transport http doorman https://withdoorman.com/mcp \
      --header "Authorization: Bearer $DOORMAN_KEY"

    Without a key yet? Add it without the header: your agent can call doorman_signup and pass the key it gets to the other tools.

  4. Answer one question

    Your agent asks which email should receive real submissions, then creates the account, wires the form, stores the key in .env and runs one genuine and one spam test. Confirm your email from the link we send you.

Other agents