# Claude Desktop

Source: https://smartpdf.ru/en/developers/docs/claude-desktop

## Connector with a header

In newer versions of Claude Desktop: **Settings → Connectors → Add custom connector**, URL `https://mcp.smartpdf.ru/mcp`, authentication **No sign-in**, and under **Request headers**, `Authorization` with the value `Bearer sk_live_…`. Anthropic marks header settings as a beta that isn’t available to everyone; if you don’t have it, use the method below.

## Via mcp-remote

`mcp-remote` connects a remote MCP server to Claude Desktop through the config. It requires Node.js.

Claude Desktop — claude_desktop_config.json (Settings → Developer → Edit Config):

```json
{
  "mcpServers": {
    "smartpdf": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://mcp.smartpdf.ru/mcp",
        "--header",
        "Authorization:${AUTH_HEADER}"
      ],
      "env": {
        "AUTH_HEADER": "Bearer sk_live_…"
      }
    }
  }
}
```

- Requires Node.js: mcp-remote connects the remote server to Claude Desktop.

- “Bearer ” goes in the variable, with no space after the colon in args: this way the config also works on Windows.

- Restart Claude Desktop, and the SmartPDF tools will appear in the list.

Config file: on macOS — `~/Library/Application Support/Claude/claude_desktop_config.json`, on Windows — `%APPDATA%\Claude\claude_desktop_config.json`. Restart Claude Desktop after editing it.
