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

# VS Code (GitHub Copilot)

> Connect Autype to Visual Studio Code with GitHub Copilot

Connect the Autype MCP server to Visual Studio Code with GitHub Copilot.

<Note>
  MCP support in VS Code requires GitHub Copilot and may be in preview. Check the [GitHub Copilot documentation](https://github.com/features/copilot) for the latest information.
</Note>

## Configuration

Add to your `.vscode/mcp.json` in your project root:

```json theme={null}
{
  "servers": {
    "autype": {
      "type": "http",
      "url": "https://mcp.autype.com/mcp/",
      "headers": {
        "X-API-Key": "YOUR_API_KEY"
      }
    }
  }
}
```

Replace `YOUR_API_KEY` with your actual API key from the [Dashboard](https://app.autype.com).

## User-level config

Alternatively, add to your VS Code user settings (`settings.json`):

```json theme={null}
{
  "mcp.servers": {
    "autype": {
      "type": "http",
      "url": "https://mcp.autype.com/mcp/",
      "headers": {
        "X-API-Key": "YOUR_API_KEY"
      }
    }
  }
}
```

<Warning>
  Do not commit API keys to version control. Use environment variables or workspace-specific settings instead.
</Warning>

## Reload VS Code

After adding the configuration, reload VS Code (Cmd+Shift+P → "Developer: Reload Window") for the changes to take effect.

## Verify connection

Open GitHub Copilot Chat and ask:

> *"What Autype tools are available?"*

Copilot should list all available Autype tools.
