# Cline

Add your Wire container to Cline in VS Code.

## Via UI

1. Click the Cline icon in VS Code
2. Navigate to the "Remote Servers" tab
3. Enter your server details:
   - **Server Name**: `wire-my-container`
   - **Server URL**: Your container's MCP URL
   - **Transport Type**: Streamable HTTP
4. Click "Add Server"
5. For OAuth, click "Authenticate" when prompted

## Via Config File

Alternatively, add to your Cline MCP settings:

### With OAuth

<PersonalizedCode
  client:load
  code={`{
  "mcpServers": {
    "YOUR_CONTAINER_NAME": {
      "url": "https://YOUR_ORG_SLUG.mcp.usewire.io/container/YOUR_CONTAINER_ID/mcp",
      "type": "streamableHttp"
    }
  }
}`}
/>

Click "Authenticate" in Cline when prompted.

### With API Key

:::tip[Use a container-scoped key]
Create a key from the container's **Access** tab in the Wire dashboard. Container-scoped keys only work for one container, so a leaked key can't reach your other data. See [Authentication](/mcp/authentication/#container-scoped-keys-recommended) for details.
:::

<PersonalizedCode
  client:load
  code={`{
  "mcpServers": {
    "YOUR_CONTAINER_NAME": {
      "url": "https://YOUR_ORG_SLUG.mcp.usewire.io/container/YOUR_CONTAINER_ID/mcp",
      "type": "streamableHttp",
      "headers": {
        "x-api-key": "YOUR_API_KEY"
      }
    }
  }
}`}
/>

## Finding Your Container URL

Copy the MCP URL from your container's detail page in the Wire dashboard.