> For the complete documentation index, see [llms.txt](https://developer.celigo.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.celigo.com/mcp/connect/vscode.md).

# VS Code

Connect Celigo Platform MCP to [GitHub Copilot](https://code.visualstudio.com/docs/copilot/overview) in VS Code.

## Prerequisites

* VS Code with GitHub Copilot, using Copilot's agent mode.
* An integrator.io user (see [Connect a client](/mcp/connect.md)).

## Connect

Add the server to `.vscode/mcp.json` in your workspace. VS Code uses a `servers` block with an explicit transport `type`.

```json
{
  "servers": {
    "celigo": {
      "type": "http",
      "url": "https://api.integrator.io/celigo-mcp"
    }
  }
}
```

Swap the host to target another region. See [Pick your endpoint](/mcp/connect.md#pick-your-endpoint).

Save the file, then start the server from the **Start** action that appears in `mcp.json`, or from the MCP servers view. VS Code prompts you to allow authentication and opens your browser. Sign in with your Celigo credentials and pick the account and environment the agent should work in.

### Use an API token instead

If you prefer a token, add a `headers` block.

> ⚠️ **`.vscode/mcp.json` lives in your workspace and can be committed by accident.** The `Authorization` header, including the token, is written to the file. Keep it out of version control, or use VS Code's input prompts to store the token outside the file.

```json
{
  "servers": {
    "celigo": {
      "type": "http",
      "url": "https://api.integrator.io/celigo-mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_API_TOKEN>"
      }
    }
  }
}
```

## Verify

Open the Copilot Chat view, switch to **Agent** mode, and ask:

> List my connections.

Copilot calls `list_connections` and reports the result.
