# Windsurf and Cline

Source: https://smartpdf.ru/en/developers/docs/other-clients

## Windsurf (Devin Desktop)

Windsurf (Devin Desktop) — ~/.config/devin/mcp_config.json (before the rename: ~/.codeium/windsurf/mcp_config.json):

```json
{
  "mcpServers": {
    "smartpdf": {
      "serverUrl": "https://mcp.smartpdf.ru/mcp",
      "headers": {
        "Authorization": "Bearer ${env:SMARTPDF_API_KEY}"
      }
    }
  }
}
```

- The key comes from the SMARTPDF_API_KEY environment variable.

## Cline

Cline — MCP Servers → Configure (in the CLI: ~/.cline/mcp.json):

```json
{
  "mcpServers": {
    "smartpdf": {
      "type": "streamableHttp",
      "url": "https://mcp.smartpdf.ru/mcp",
      "headers": {
        "Authorization": "Bearer sk_live_…"
      }
    }
  }
}
```

- type: streamableHttp is required — without it, Cline connects over the legacy SSE transport.

- Cline doesn’t substitute environment variables in the config, so the key goes into the file itself.

## Other clients

Any MCP client that supports the Streamable HTTP transport and custom headers will work: URL `https://mcp.smartpdf.ru/mcp`, header `Authorization: Bearer sk_live_…` or `X-API-Key: sk_live_…`.
