All integrations

Connect Visual Studio to Guard.ch

Let Visual Studio open and use websites in a Guard.ch cloud browser. Watch live or hand over a running session.

Connect Visual Studio

Use Visual Studio 2026 or Visual Studio 2022 version 17.14 or later with GitHub Copilot.

  1. 1. Add the connection

    Add this to .mcp.json in your user folder (%USERPROFILE%\.mcp.json) and save. If the file already lists servers, add only the guardch entry.

    %USERPROFILE%\.mcp.json

    Add the entry below. Keep any other servers already in the file.

    {
      "servers": {
        "guardch": {
          "url": "https://api.guard.ch/mcp"
        }
      }
    }
    MCP example in Visual Studio from the official guide
    Official example. Use your values above; the example may show a different server or interface version. Screenshot source
  2. 2. Sign in and allow access

    In the file, click Authentication Required in the CodeLens above guardch, choose Authenticate and sign in on the Guard.ch page that opens.

    Authentication Required

  3. 3. Try it in a new chat

    In the Copilot Chat pane, switch to Agent mode, open Tools and turn on the guardch tools, which start disabled. Then send the task below and allow the tools when asked.

    GitHub Copilot ChatAgent

    Open example.com in a Guard.ch browser and tell me what the page says.
Official instructionsInstructions checked October 2, 2026

Hand over a running session

Choose “Hand over to your agent” in the Guard.ch viewer and paste the prepared prompt into your assistant’s chat. The session ID in that prompt lets the assistant continue in the same browser. Sign your assistant in with the same Guard.ch account.

MCP reference and all browser tools