Documentation

Windsurf and Cline

Windsurf (Devin Desktop)

~/.config/devin/mcp_config.json (before the rename: ~/.codeium/windsurf/mcp_config.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

MCP Servers → Configure (in the CLI: ~/.cline/mcp.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_….

This page for agents: Markdown · llms.txt