PDF Generator API

MCP server for the PDF Generator API — generate PDFs from templates, manage templates and workspaces, watermark, encrypt, optimize, convert HTML/URL to PDF…

Community: Submitted by a user or imported; check the owner before granting accessOnlineNo sign-inGlobalFreeCan modify data

What it can do

  • 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.

What data it sees

Do you need an account

No: the server works without sign-in

MCP server for the PDF Generator API — generate PDFs from templates, manage templates and workspaces, watermark, encrypt, optimize, convert HTML/URL to PDF, fill PDF forms, create e-invoices, generate QR codes, and more.

Server tool list (49)

Raw names from tools/list. Only developers need these.

get_statusReturns service status / health
add_watermarkAdds a text or an image watermark to PDF document from base64 string or a remote URL.
encrypt_documentEncrypts a PDF document from base64 string or a remote URL.
decrypt_documentDecrypts an encrypted PDF document from base64 string or a remote URL.
optimize_documentOptimizes the size of a PDF document from base64 string or a remote URL.
make_accessibleAdds accessibility tags to a PDF document from base64 string or a remote URL.
extract_form_fieldsExtracts form fields and their metadata from a PDF document using base64 string or a remote URL.
fill_form_fieldsFills form fields in a PDF document with provided data from base64 string or a remote URL.
get_templatesReturns a list of templates available for the authenticated workspace
create_templateCreates 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_schemaReturns Template JSON Schema which defines the structure of the Template Definition.
import_templateCreates a template from existing PDF
validate_templateValidates if the provided template configuration matches the template JSON schema.
get_templateReturns template configuration
update_templateUpdates template configuration. The template configuration for pages and layout must be complete as the entire configuration is replaced and not merged.
delete_templateDeletes the template from workspace
get_template_dataReturns 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_templateCreates a copy of a template to the workspace specified in authentication parameters.
open_editorReturns 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_versionsReturns a paginated list of template versions for the specified template.
get_template_versionReturns the template definition of the specified version.
delete_template_versionDeletes the specified template version. Production versions cannot be deleted.
promote_template_versionPromotes the specified template version to production. Only one version can be production at a time.
get_documentsReturns 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_documentReturns document stored in the Document Storage
delete_documentDelete document from the Document Storage
generate_documentMerges 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_asyncMerges 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_batchAllows 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_asyncMerges 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_statusReturns status of an async job
get_workspacesReturns all workspaces in the organization
create_workspaceCreates a regular workspace with identifier specified in the request.
get_workspaceReturns workspace information for the workspace identifier specified in the request.
delete_workspaceDelete workspace. Only regular workspaces can be deleted.
convert_html_to_pdfConverts HTML content to PDF
convert_url_to_pdfConverts public URL to PDF
get_formsReturns a list of forms available for the organization
create_formCreates a new form based on the configuration sent in the request body.
import_formCreates a new form based on editable PDF
get_formReturns form configuration
update_formUpdates the form configuration. The form configuration must be complete as the entire configuration is replaced and not merged.
delete_formDeletes the form with specified id
share_formCreates an unique sharing URL to collect form data
generate_qr_codeCreates a QR code based on the configuration
create_einvoiceThis 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_einvoiceThis 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_einvoiceThis 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_schemaReturns e-invoice JSON schema which defines the structure of the e-invoice.