Skip to content
Show the docs menu

Connect VS Code

Add adtool.ai servers to GitHub Copilot in VS Code through an mcp.json file.

Checked against Microsoft's docs on 28 September 2026. Menu names may change.

Add the servers

Add the servers to .vscode/mcp.json in your project, or run MCP: Open User Configuration to add them for all projects:

json
{
  "servers": {
    "adtool-ga4": { "type": "http", "url": "https://mcp-sandbox.adtool.ai/ga4" }
  }
}

Add adtool-gtm with https://mcp-sandbox.adtool.ai/gtm the same way.

Start the server from the file or from the MCP view, and sign in when VS Code asks. We have not yet confirmed how VS Code shows the sign-in prompt; this step may change after our tests.

What happens at sign-in

An adtool.ai page opens in your browser. It shows which client is asking and where it will send you back. You pick the properties, containers or ad accounts the client may use and its access level. Access levels and approvals explains what each level allows.

Known limits

  • VS Code may limit how many tools it sends with one request. If tools are missing, turn off servers you do not need.