@templatefox/mcp-server
MCP server for TemplateFox PDF generation API - Generate PDFs from templates via AI assistants
Versions
1.11.0latest1.10.11.10.01.9.91.9.8+ show 3 moreshow less
1.9.71.9.61.6.2Tools 13
revise_template Send natural-language feedback to the authoring agent to revise an existing image template (layer names stay stable). Asynchronous: returns a job_id — poll get_agent_job_status for the fresh preview_url. Costs 10 credits, refunded if the job fails.
generate_pdf Generate a PDF from a template with dynamic data. Returns a URL to download the generated PDF. Costs 1 credit per generation. Use list_templates to find available templates and get_template_fields to discover required data fields.
generate_image Generate an image (PNG/JPEG/WebP) from an image template. Content is driven by modifications targeting named layers (use get_template_layers to discover them). Returns a URL to the rendered image — keep export_type at its default
generate_pdf_async Queue an asynchronous PDF generation job. Returns a job_id for status polling. Use for large documents or when you need webhook notifications. Costs 1 credit. Check progress with get_pdf_job_status.
get_pdf_job_status Get the status of an async PDF generation job. Returns status (pending, processing, completed, failed) and the PDF URL when completed.
list_pdf_jobs List async PDF generation jobs. Supports pagination and filtering by status.
list_templates List all available PDF templates. Returns template IDs and names. Use this to discover which templates are available before generating a PDF.
get_template_fields Get the dynamic fields for a specific template. Use this to know what data to provide when generating a PDF. Returns field names, types, and whether they are required.
get_template_layers List the named layers of an image template: name, type (background/image/text/shape), current text, and which fields each layer accepts as modifications in generate_image.
get_account_info Get account information including remaining credits and email address.
list_transactions List credit transaction history showing PDF generations, purchases, and refunds. Supports pagination.
author_template Have the TemplateFox authoring agent create a new image template from a natural-language description (plus optional brand colors/fonts/asset URLs). Asynchronous: returns a job_id — poll get_agent_job_status until completed, which always returns the template_id and a preview_url of the rendered result. Costs 25 credits, refunded if the job fails.
get_agent_job_status Get the status of an authoring-agent job (author_template / revise_template). When completed, returns the template_id and a preview_url of the rendered template. Failed jobs include the error and are automatically refunded.
Permissions 2
network medium env_vars low