# Cursor

Source: https://smartpdf.ru/en/developers/docs/cursor

The fastest way is to [install it in Cursor with one link](https://cursor.com/install-mcp?name=smartpdf&config=eyJ1cmwiOiJodHRwczovL21jcC5zbWFydHBkZi5ydS9tY3AiLCJoZWFkZXJzIjp7IkF1dGhvcml6YXRpb24iOiJCZWFyZXIgJHtlbnY6U01BUlRQREZfQVBJX0tFWX0ifX0%3D): Cursor opens and adds the `smartpdf` server with the key from the `SMARTPDF_API_KEY` environment variable. Or set it up manually:

Cursor — ~/.cursor/mcp.json or .cursor/mcp.json in the project:

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

- The key comes from the SMARTPDF_API_KEY environment variable.

- Cursor → Settings → MCP: smartpdf with a green dot.

Globally — `~/.cursor/mcp.json`, for a single project — `.cursor/mcp.json`. Cursor replaces `${env:SMARTPDF_API_KEY}` with the value of the environment variable.
