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

# VS Code (Cline & Continue)

> Set up Isthmus with VS Code MCP extensions: Cline and Continue.

VS Code supports MCP servers through extensions. The two most popular are **Cline** and **Continue**.

## Cline

### Config file location

```
.cline/mcp_settings.json
```

Place this in your project root.

### Configuration

```json theme={null}
{
  "mcpServers": {
    "isthmus": {
      "command": "isthmus",
      "env": {
        "DATABASE_URL": "postgres://user:password@localhost:5432/mydb"
      }
    }
  }
}
```

### Full configuration

```json theme={null}
{
  "mcpServers": {
    "isthmus": {
      "command": "isthmus",
      "args": ["--audit-log", "/tmp/isthmus-audit.ndjson"],
      "env": {
        "DATABASE_URL": "postgres://user:password@localhost:5432/mydb",
        "SCHEMAS": "public,analytics",
        "POLICY_FILE": "/path/to/policy.yaml",
        "MAX_ROWS": "500"
      }
    }
  }
}
```

### Verify

1. Save the config file
2. Open the Cline panel in VS Code
3. Ask: **"What tables are in my database?"**

***

## Continue

### Config file location

```
~/.continue/config.json
```

### Configuration

<Warning>
  Continue uses an **array** format for MCP servers, not an object. Make sure you use the correct format below.
</Warning>

```json theme={null}
{
  "mcpServers": [
    {
      "name": "isthmus",
      "command": "isthmus",
      "env": {
        "DATABASE_URL": "postgres://user:password@localhost:5432/mydb"
      }
    }
  ]
}
```

### Full configuration

```json theme={null}
{
  "mcpServers": [
    {
      "name": "isthmus",
      "command": "isthmus",
      "args": ["--audit-log", "/tmp/isthmus-audit.ndjson"],
      "env": {
        "DATABASE_URL": "postgres://user:password@localhost:5432/mydb",
        "SCHEMAS": "public,analytics",
        "POLICY_FILE": "/path/to/policy.yaml",
        "MAX_ROWS": "500"
      }
    }
  ]
}
```

### Verify

1. Save the config file
2. Reload VS Code
3. Open the Continue panel
4. Ask: **"What tables are in my database?"**

## Troubleshooting

<AccordionGroup>
  <Accordion title="Binary not found">
    Use the full path to the binary. The location depends on how you installed:

    * **Install script / prebuilt binary:** `/usr/local/bin/isthmus`
    * **go install:** `~/go/bin/isthmus`

    ```json theme={null}
    "command": "/usr/local/bin/isthmus"
    ```

    Find the path with `which isthmus`.
  </Accordion>

  <Accordion title="Continue config format error">
    Continue expects `mcpServers` as an **array** (with a `name` field on each entry), not an object. Double-check the format above.
  </Accordion>

  <Accordion title="Database unreachable">
    Test connectivity first:

    ```bash theme={null}
    DATABASE_URL="postgres://user:password@localhost:5432/mydb" isthmus --dry-run
    ```
  </Accordion>
</AccordionGroup>
