GitHub

Set up Doorman with GitHub Copilot

Copilot's agent mode in VS Code and other editors, with native MCP support. Runs in: VS Code, Visual Studio, JetBrains.

  1. Paste this prompt into GitHub Copilot

    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.
  2. Optional: add Doorman's MCP server

    Gives GitHub Copilot Doorman's tools directly: sign up, configure forms, get install code, run tests and review held submissions. Add it in .vscode/mcp.json:

    .vscode/mcp.json
    {
      "inputs": [
        { "type": "promptString", "id": "doorman-key", "description": "Doorman API key", "password": true }
      ],
      "servers": {
        "doorman": {
          "type": "http",
          "url": "https://withdoorman.com/mcp",
          "headers": { "Authorization": "Bearer ${input:doorman-key}" }
        }
      }
    }

    MCP config formats change between versions of GitHub Copilot. If this doesn't connect, check its MCP docs; the prompt above works either way.

  3. 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