PDF Generator API
PDF Generator API: создание, шаблоны и обработка PDF-документов через MCP
Что умеет
- Генерировать PDF из шаблонов и HTML/URL
- Добавлять водяные знаки и шифровать документы
- Заполнять и извлекать поля PDF-форм
- Создавать и версионировать шаблоны
- Оптимизировать и делать документы доступными
Какие данные видит
Доступ к документам и шаблонам аккаунта PDF Generator API.
Нужен ли аккаунт
Не нужен: сервер работает без входа
MCP-сервер подключает ассистента к PDF Generator API — можно генерировать PDF из шаблонов, заполнять формы, добавлять водяные знаки, шифровать и оптимизировать документы, конвертировать HTML и URL в PDF. Есть управление шаблонами и их версиями.
Как подключить
Как подключить PDF Generator API к Claude
Адрес сервера, который нужно вставить в настройках Claude:
https://mcp-server--pdf-generator-api.run.tools
- Откройте Claude (сайт claude.ai или приложение для компьютера).
- Перейдите в Настройки → Коннекторы (в английском интерфейсе: Settings → Connectors).
- Нажмите Добавить пользовательский коннектор (Add custom connector).
- Вставьте адрес сервера, скопированный ниже, в поле URL удалённого MCP-сервера и нажмите Добавить.
- В чате нажмите + → Коннекторы и включите новый коннектор.
Пользовательские коннекторы доступны на тарифах Free, Pro, Max, Team и Enterprise. На Free можно добавить только один. В Team и Enterprise коннектор сначала добавляет владелец организации в Настройки организации → Коннекторы.
Авторизация
После нажатия Добавить откроется окно входа в сервис. Войдите под своим аккаунтом и подтвердите доступ. Пароль Claude не видит.
Как подключить PDF Generator API к ChatGPT
Адрес сервера, который нужно вставить в настройках ChatGPT:
https://mcp-server--pdf-generator-api.run.tools
- Откройте ChatGPT в браузере (chatgpt.com). Нужен тариф Plus, Pro, Business, Enterprise или Edu.
- Один раз включите режим разработчика: Настройки → Приложения → Дополнительные настройки → Режим разработчика (Settings → Apps → Advanced settings → Developer mode).
- Откройте Настройки → Коннекторы и нажмите Создать (Create).
- Заполните форму: Название (любое), Описание (одна фраза, что делает сервис), URL MCP-сервера (скопируйте ниже).
- В поле Аутентификация выберите OAuth, если сервис требует вход, иначе Нет. Нажмите Создать.
- В новом чате откройте + → Приложения/Коннекторы и включите коннектор.
Название раздела у OpenAI менялось (Connectors → Apps/Plugins). Если пункт называется иначе, ищите «режим разработчика» в настройках. В рабочих пространствах Business/Enterprise администратор должен разрешить пользовательские коннекторы.
Авторизация
При первом использовании ChatGPT откроет окно входа в сервис. Войдите и подтвердите доступ.
Как подключить PDF Generator API к Cursor
Адрес сервера, который нужно вставить в настройках Cursor:
https://mcp-server--pdf-generator-api.run.tools
Быстрый способ: нажмите кнопку Открыть в Cursor ниже, Cursor сам предложит добавить сервер.
Вручную:
- В Cursor откройте Settings → Cursor Settings → MCP и нажмите Add new global MCP server.
- Вставьте JSON, скопированный ниже, в открывшийся файл
~/.cursor/mcp.json(для одного проекта:.cursor/mcp.jsonв корне проекта). - Сохраните файл. Сервер появится в списке MCP; при необходимости пройдите авторизацию по кнопке рядом с ним.
Авторизация
Если сервис требует вход, рядом с сервером в списке MCP появится кнопка авторизации.
Список инструментов сервера (49)
Технические названия из tools/list. Нужны только разработчикам.
| get_status | Returns service status / health |
| add_watermark | Adds a text or an image watermark to PDF document from base64 string or a remote URL. |
| encrypt_document | Encrypts a PDF document from base64 string or a remote URL. |
| decrypt_document | Decrypts an encrypted PDF document from base64 string or a remote URL. |
| optimize_document | Optimizes the size of a PDF document from base64 string or a remote URL. |
| make_accessible | Adds accessibility tags to a PDF document from base64 string or a remote URL. |
| extract_form_fields | Extracts form fields and their metadata from a PDF document using base64 string or a remote URL. |
| fill_form_fields | Fills form fields in a PDF document with provided data from base64 string or a remote URL. |
| get_templates | Returns a list of templates available for the authenticated workspace |
| create_template | Creates a new template. If template configuration is not specified in the request body then an empty template is created. Template is placed to the workspace specified in authentication params. Template configuration must be sent in the request body. |
| get_template_schema | Returns Template JSON Schema which defines the structure of the Template Definition. |
| import_template | Creates a template from existing PDF |
| validate_template | Validates if the provided template configuration matches the template JSON schema. |
| get_template | Returns template configuration |
| update_template | Updates template configuration. The template configuration for pages and layout must be complete as the entire configuration is replaced and not merged. |
| delete_template | Deletes the template from workspace |
| get_template_data | Returns all data fields used in the template. Returns structured JSON data that can be used to check which data fields are used in template or autogenerate sample data. |
| copy_template | Creates a copy of a template to the workspace specified in authentication parameters. |
| open_editor | Returns an unique URL which you can use to redirect your user to the editor from your application or use the generated URL as iframe source to show the editor within your application. When using iframe, make sure that your browser allows third-party cookies. |
| list_template_versions | Returns a paginated list of template versions for the specified template. |
| get_template_version | Returns the template definition of the specified version. |
| delete_template_version | Deletes the specified template version. Production versions cannot be deleted. |
| promote_template_version | Promotes the specified template version to production. Only one version can be production at a time. |
| get_documents | Returns a list of generated documents created by authorized workspace and stored in PDF Generator API. If master user is specified as workspace in JWT then all documents created in the organization are returned. NB! This endpoint returns only documents generated using the output=url option. |
| get_document | Returns document stored in the Document Storage |
| delete_document | Delete document from the Document Storage |
| generate_document | Merges template with data and returns base64 encoded document or a public URL to a document. NB! When the public URL option is used, the document is stored for 30 days and automatically deleted. |
| generate_document_async | Merges template with data as asynchronous job and makes POST request to callback URL defined in the request. Request uses the same format as response of synchronous generation endpoint. The job id is also added to the callback request as header PDF-API-Job-Id *Example response from callback URL:* ``` { "response": "https://us1.pdfgeneratorapi.com/share/12821/VBERi0xLjcKJeLjz9MKNyAwIG9i", "meta": { "name": "a2bd25b8921f3dc7a440fd7f427f90a4.pdf", "display_name": "a2bd25b8921f3dc7a440fd7f427f90a4", "encoding": "binary", "content-type": "application/pdf" } } ``` |
| generate_document_batch | Allows to merge multiple templates with data and returns base64 encoded document or public URL to a document. NB! When the public URL option is used, the document is stored for 30 days and automatically deleted. |
| generate_document_batch_async | Merges template with data as asynchronous job and makes POST request to callback URL defined in the request. Request uses the same format as response of synchronous generation endpoint. The job id is also added to the callback request as header PDF-API-Job-Id *Example response from callback URL:* ``` { "response": "https://us1.pdfgeneratorapi.com/share/12821/VBERi0xLjcKJeLjz9MKNyAwIG9i", "meta": { "name": "a2bd25b8921f3dc7a440fd7f427f90a4.pdf", "display_name": "a2bd25b8921f3dc7a440fd7f427f90a4", "encoding": "binary", "content-type": "application/pdf" } } ``` |
| get_async_job_status | Returns status of an async job |
| get_workspaces | Returns all workspaces in the organization |
| create_workspace | Creates a regular workspace with identifier specified in the request. |
| get_workspace | Returns workspace information for the workspace identifier specified in the request. |
| delete_workspace | Delete workspace. Only regular workspaces can be deleted. |
| convert_html_to_pdf | Converts HTML content to PDF |
| convert_url_to_pdf | Converts public URL to PDF |
| get_forms | Returns a list of forms available for the organization |
| create_form | Creates a new form based on the configuration sent in the request body. |
| import_form | Creates a new form based on editable PDF |
| get_form | Returns form configuration |
| update_form | Updates the form configuration. The form configuration must be complete as the entire configuration is replaced and not merged. |
| delete_form | Deletes the form with specified id |
| share_form | Creates an unique sharing URL to collect form data |
| generate_qr_code | Creates a QR code based on the configuration |
| create_einvoice | This endpoint transforms a JSON payload into an XML-based e-invoice that is fully compliant with the European EN 16931 standard. The generated output can be formatted in either UBL (Universal Business Language) or CII (Cross-Industry Invoice) syntax, ensuring interoperability across B2B and B2G platforms. The JSON payload follows Peppol BIS Billing 3.0 UBL Invoice described here: https://docs.peppol.eu/poacc/billing/3.0/ |
| create_xrechnung_einvoice | This endpoint transforms a JSON payload into an XML-based XRechnung e-invoice that is fully compliant with the European EN 16931 standard. The generated output follows the XRechnung format and can be formatted in either UBL (Universal Business Language) or CII (Cross-Industry Invoice) syntax, ensuring interoperability across B2B and B2G platforms. The JSON payload follows Peppol BIS Billing 3.0 UBL Invoice described here: https://docs.peppol.eu/poacc/billing/3.0/ |
| create_facturx_einvoice | This endpoint transforms a JSON payload a Factur-X e-invoice that is fully compliant with the European EN 16931 standard. The generated output is always a PDF document, embedding a structured CII (Cross-Industry Invoice) XML according to the Factur-X format into a human-readable invoice, ensuring interoperability across B2B and B2G platforms. The JSON payload follows Peppol BIS Billing 3.0 UBL Invoice described here: https://docs.peppol.eu/poacc/billing/3.0/ |
| get_einvoice_schema | Returns e-invoice JSON schema which defines the structure of the e-invoice. |