Windsurf and Cline
Windsurf (Devin Desktop)
{
"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
{
"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_….