Connect VS Code

Add HTMLAnnotate to VS Code so Copilot Chat, in agent mode, can share pages and fix comments.

Before you start#

Pick the address you want (see Two connectors). If you're not sure, use the signed-in one: pages land in your account and the AI can find them by name later.

ConnectorAddress
Without an accounthttps://mcp.htmlannotate.com
Signed inhttps://mcp.htmlannotate.com/account

Connect without an account#

  1. Run this in your terminal:

    Terminal
    code --add-mcp '{"name":"htmlannotate","type":"http","url":"https://mcp.htmlannotate.com"}'
  2. Or add it to .vscode/mcp.json in your project:

    .vscode/mcp.json
    {
      "servers": {
        "htmlannotate": { "type": "http", "url": "https://mcp.htmlannotate.com" }
      }
    }
  3. Start the server from the MCP view, then ask Copilot Chat in agent mode to share a page.

Connect and sign in#

  1. Run this in your terminal:

    Terminal
    code --add-mcp '{"name":"htmlannotate","type":"http","url":"https://mcp.htmlannotate.com/account"}'
  2. Start the server from the MCP view. VS Code asks you to sign in: allow it.

  3. Sign in on htmlannotate.com and press Allow.

Check it works#

Start a new chat and ask:

Try askingShare a simple test page on HTMLAnnotate.

The AI should call share_html and give you a review link. Open it and leave a test comment, then ask What did they say? to see the comment come back.

Menus in AI apps change from time to time. If a step looks different, look for words like connectors, MCP or custom server. Still stuck? See Troubleshooting.

Written by the HTMLAnnotate team · Updated 23 November 2026 · View as Markdown · Something unclear? Tell us