---
title: VS Code - MCP
description: Add the Contentsquare MCP server to VS Code and query your experience data from the Copilot chat in your editor.
source_url:
  html: https://docs.contentsquare.com/en/mcp/vscode/
  md: https://docs.contentsquare.com/en/mcp/vscode/index.md
---

> ## Documentation index
> Fetch the complete documentation index at: https://docs.contentsquare.com/llms.txt
> Use this file to discover all available pages before exploring further.

Connect VS Code to Contentsquare to query your experience data from your editor's AI chat.

## Add the Contentsquare MCP server

1. Open the **Command Palette** (`Shift + Cmd/Ctrl + P`) and search for `MCP: Add Server`.

2. Select **HTTP** as the transport type and paste the Contentsquare server URL:

   ```text
   https://api.contentsquare.com/mcp
   ```

3. Alternatively, add the following configuration to your `.vscode/mcp.json`:

   **.vscode/mcp.json**

   ```json
   {
     "servers": {
       "contentsquare": {
         "type": "http",
         "url": "https://api.contentsquare.com/mcp"
       }
     }
   }
   ```

4. When you first connect, a browser window opens. Grant VS Code access to Contentsquare, select the account you want to connect, and choose to grant access to your **entire account** or **select specific projects**, then click **Allow**.

5. You can now query Contentsquare data directly from your editor's AI chat.

## Next steps

Once connected, ask your AI client a question such as "Which projects do you have access to?" to check the connection. See the [MCP overview](https://docs.contentsquare.com/en/mcp/) for the other supported clients.


```json
{"@context":"https://schema.org","@type":"TechArticle","headline":"VS Code","description":"Add the Contentsquare MCP server to VS Code and query your experience data from the Copilot chat in your editor.","url":"https://docs.contentsquare.com/en/mcp/vscode/","inLanguage":"en","dateModified":"2026-11-09T13:13:11+01:00","publisher":{"@type":"Organization","name":"Contentsquare","url":"https://www.contentsquare.com/"},"isPartOf":{"@type":"WebSite","@id":"https://docs.contentsquare.com/#website","name":"Contentsquare Technical Documentation","url":"https://docs.contentsquare.com/"}}
```