# VS Code

Add Rabt to VS Code with a config file, a command or an install link.

## The setup

Put this in `.vscode/mcp.json`:

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

Or from the terminal:

```bash
code --add-mcp '{"name":"rabt","type":"http","url":"https://api.rabt.systems/mcp"}'
```

Or open the [install link](vscode:mcp/install?%7B%22name%22%3A%22rabt%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fapi.rabt.systems%2Fmcp%22%7D).

## Steps

1. Add the server in one of the three ways.
2. On first use VS Code opens the browser to sign in: it is Rabt’s own page. Choose the organizations and permissions and approve once.

## Try this first

```text
Show me the organizations I can reach in Rabt, then tell me how many open tickets each has.
```

## Good to know

- No key is in the file.
- VS Code’s documentation is silent about what happens when more permission is needed after an unsigned connection; sign in when you add the server.

> **Source:** [MCP configuration in the VS Code docs](https://github.com/microsoft/vscode-docs/blob/main/docs/agents/reference/mcp-configuration.md) and [the MCP guide](https://github.com/microsoft/vscode-docs/blob/main/api/extension-guides/ai/mcp.md).
