# Connect the MultitaskAI MCP server to VS Code

GitHub Copilot in VS Code reads MCP servers from the Copilot mcp-config.json file. Add MultitaskAI as an http server with your API key in the headers.

## Endpoint

```text
https://mcp.multitaskai.com
```

## Steps

1. Create an API key in your MultitaskAI account.
2. Open ~/.copilot/mcp-config.json, the Copilot user configuration VS Code reads, or $COPILOT_HOME/mcp-config.json when COPILOT_HOME is set.
3. Add the server below, with your key in place of YOUR_API_KEY, and save the file.
4. Run Chat: Open Customizations from the Command Palette, select MCP Servers and check that MultitaskAI is listed and enabled.

```json
{
  "mcpServers": {
    "multitaskai": {
      "type": "http",
      "url": "https://mcp.multitaskai.com",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}
```

## Authentication

VS Code sends your MultitaskAI API key in the Authorization header. Create a key in your account and use it in place of YOUR_API_KEY. Keep the key out of files you share or commit.

```text
Authorization: Bearer YOUR_API_KEY
```

## Good to know

- You can also add it through Chat: Open Customizations, MCP Servers, Add Server, choosing HTTP and then Global and Copilot Global.
- The older .vscode/mcp.json and user mcp.json files still work but are marked deprecated.
- The docs recommend an environment reference such as Bearer ${MULTITASKAI_API_KEY} in the header instead of the literal key.
- Copilot Business and Enterprise users need the MCP servers in Copilot policy enabled.

## Official documentation

The [Microsoft MCP documentation](https://code.visualstudio.com/docs/copilot/customization/mcp-servers) covers VS Code's own settings in detail. See the [overview](/docs.md) for the endpoint and authentication, and [pricing](/pricing/) for the daily free requests.
