send.webforms.toRead the docs →

AI code editor

Connect GitHub Copilot in VS Code to WebForms

Add https://agents.webforms.to as an MCP server in VS Code and sign in when prompted. GitHub Copilot's agent can then create forms, put them into your project and check that submissions arrive.

Needs a WebForms Pro or Agency workspace. Organisations can turn MCP servers off for Copilot; ask an admin if the option is missing. Steps checked against Microsoft's documentation on .

MCP server URL

https://agents.webforms.to

Remote MCP over Streamable HTTP, with sign-in, so there is no API key to copy. Full details are in the MCP server docs.

Set it up

  1. Add the server

    Run MCP: Add Server from the Command Palette and enter the URL, or add WebForms to .mcp.json in your workspace as below.

  2. Start the sign-in

    VS Code asks you to sign in the first time the server starts. Follow the prompt.

  3. Sign in to WebForms

    A WebForms page opens in your browser. Pick the workspace, tick what the agent may do, and click Allow. You are sent back and the tools are ready.

.mcp.json
{
  "mcpServers": {
    "webforms": {
      "type": "http",
      "url": "https://agents.webforms.to"
    }
  }
}

What GitHub Copilot in VS Code can and cannot do

When you sign in, WebForms asks which workspace to connect and what GitHub Copilot in VS Code may do. You choose:

It can never delete data, add destinations or send email. Access lasts 90 days and shows up under Settings, Connected AI apps, where you can disconnect it at any time. The workspace's owners and admins get an email when an AI app is connected. Connecting is available on Pro and Agency.

Things to ask GitHub Copilot in VS Code

Tools it gets

Read

  • list_formsEvery form in the workspace, with its submission and spam counts.
  • get_formOne form's settings: endpoint, thank-you page, spam settings and allowed sites.
  • get_submissionsRecent submissions for a form, with their field data, newest first.
  • search_submissionsSearch submission content across every form.
  • get_statsSubmission counts over the last N days.
  • get_usageYour plan, monthly allowance and how much of it is used.
  • get_unfinished_submissionsForms visitors started but never sent, when the form keeps them.
  • get_form_schemaA form's fields and the JSON Schema, TypeScript, Zod and HTML generated from them.
  • list_deliveriesRecent delivery attempts to each destination, with status and error.

Change (only if you allow it)

  • create_formCreate a form. Returns its endpoint and a ready-to-paste HTML form.
  • update_formChange a form's name, thank-you page, spam settings or allowed sites.
  • save_form_schemaSet a form's fields and whether submissions are validated against them.
  • replay_failed_deliveriesSend deliveries that gave up in the last 30 days again. Never re-sends email.

Using an API key instead

If you would rather not sign in, create an API key under Settings, API keys in WebForms (tick the write scopes you want it to have) and send it as a bearer token. Keep the key out of shared or committed files. VS Code can read it from an environment variable.

.mcp.json
{
  "mcpServers": {
    "webforms": {
      "type": "http",
      "url": "https://agents.webforms.to",
      "headers": {
        "Authorization": "Bearer ${WEBFORMS_API_KEY}"
      }
    }
  }
}

Worth knowing

GitHub Copilot in VS Code and WebForms FAQ

In .mcp.json at the workspace root, or ~/.copilot/mcp-config.json for every workspace. .vscode/mcp.json still works but is the older format.

Microsoft documentation

Other AI agents

Connect GitHub Copilot in VS Code in a minute

Add https://agents.webforms.to, sign in, and choose what it may do.