APITemplate.io MCP by usefulapi
Server Details
Generate PDFs and images with APITemplate.io from templates, HTML, Markdown or a URL.
- Status
- Healthy
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-06-18
- URL
- Repository
- m190/usefulapi-mcp
- GitHub Stars
- 0
TDQS
Score is being calculated.
Available Tools
10 toolsapitemplate_create_imageCreate an image from a templateInspect
WRITE: renders one image (JPEG and PNG) from a saved image template, changing the named layers with overrides (e.g. [{"name":"text_1","text":"Hello"},{"name":"image_1","src":"https://..."}]), and returns the hosted download URLs (never the file bytes). COST: uses 1 generation of your APITemplate.io plan quota per call (see apitemplate_get_account). Do not retry or repeat it unless needed; every call is counted. POST /v2/create-image.
| Name | Required | Description | Default |
|---|---|---|---|
| meta | No | Your own reference id for this file; it shows up in apitemplate_list_objects. | |
| overrides | Yes | Layer changes: each item has the layer 'name' and the properties to set (text, src, color, textBackgroundColor ...). | |
| expiration | No | Minutes until the hosted file expires: 0 = keep permanently (default), or 1-10080. | |
| template_id | Yes | The template id (apitemplate_list_templates, or the web console, Manage Templates). | |
| generation_delay | No | Milliseconds to wait before rendering (0-30000), for pages that load content late. | |
| output_image_type | No | Which formats to render (default all). |
apitemplate_create_pdfCreate a PDF from a templateInspect
WRITE: renders one PDF from a saved PDF template and your JSON data (the keys the template uses, e.g. invoice_number, items), and returns the hosted download_url (never the file bytes). Synchronous. COST: uses 1 generation of your APITemplate.io plan quota per call (see apitemplate_get_account). Do not retry or repeat it unless needed; every call is counted. POST /v2/create-pdf (export_type=json).
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | JSON data merged into the template, e.g. {"invoice_number":"INV-1","total":42}. Keys depend on the template. | |
| meta | No | Your own reference id for this file; it shows up in apitemplate_list_objects. | |
| filename | No | Custom file name ending in .pdf (default: a random UUID). | |
| expiration | No | Minutes until the hosted file expires: 0 = keep permanently (default), or 1-10080. | |
| output_html | No | Also return html_url, the rendered HTML. | |
| template_id | Yes | The template id (apitemplate_list_templates, or the web console, Manage Templates). | |
| generation_delay | No | Milliseconds to wait before rendering (0-30000), for pages that load content late. |
apitemplate_create_pdf_from_htmlCreate a PDF from HTMLInspect
WRITE: renders one PDF from HTML (Jinja2 placeholders like {{name}} are filled from data), without a saved template, and returns the hosted download_url (never the file bytes). COST: uses 1 generation of your APITemplate.io plan quota per call (see apitemplate_get_account). Do not retry or repeat it unless needed; every call is counted. POST /v2/create-pdf-from-html (export_type=json).
| Name | Required | Description | Default |
|---|---|---|---|
| css | No | CSS including the <style> tag. | |
| body | Yes | HTML body; may use Jinja2 syntax such as {{name}}. | |
| data | No | Values for the placeholders in body, e.g. {"name":"Jo"}. | |
| meta | No | Your own reference id for this file; it shows up in apitemplate_list_objects. | |
| filename | No | Custom file name ending in .pdf (default: a random UUID). | |
| settings | No | PDF print settings. | |
| expiration | No | Minutes until the hosted file expires: 0 = keep permanently (default), or 1-10080. | |
| generation_delay | No | Milliseconds to wait before rendering (0-30000), for pages that load content late. |
apitemplate_create_pdf_from_markdownCreate a PDF from MarkdownInspect
WRITE: renders one PDF from Markdown (Jinja2 placeholders like {{lang}} are filled from data) and returns the hosted download_url (never the file bytes). COST: uses 1 generation of your APITemplate.io plan quota per call (see apitemplate_get_account). Do not retry or repeat it unless needed; every call is counted. POST /v2/create-pdf-from-markdown (export_type=json).
| Name | Required | Description | Default |
|---|---|---|---|
| css | No | CSS including the <style> tag. | |
| body | Yes | Markdown text; may use Jinja2 syntax such as {{lang}}. | |
| data | No | Values for the placeholders in body. | |
| meta | No | Your own reference id for this file; it shows up in apitemplate_list_objects. | |
| filename | No | Custom file name ending in .pdf (default: a random UUID). | |
| settings | No | PDF print settings. | |
| expiration | No | Minutes until the hosted file expires: 0 = keep permanently (default), or 1-10080. | |
| generation_delay | No | Milliseconds to wait before rendering (0-30000), for pages that load content late. |
apitemplate_create_pdf_from_urlCreate a PDF from a web page URLInspect
WRITE: APITemplate.io opens one public web page URL and prints it to a PDF, and returns the hosted download_url (never the file bytes). The page is fetched by APITemplate.io, not by this server; pages that need a login cannot be printed. COST: uses 1 generation of your APITemplate.io plan quota per call (see apitemplate_get_account). Do not retry or repeat it unless needed; every call is counted. POST /v2/create-pdf-from-url (export_type=json).
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The public http(s) URL of the page to print. | |
| meta | No | Your own reference id for this file; it shows up in apitemplate_list_objects. | |
| filename | No | Custom file name ending in .pdf (default: a random UUID). | |
| settings | No | PDF print settings. | |
| expiration | No | Minutes until the hosted file expires: 0 = keep permanently (default), or 1-10080. | |
| generation_delay | No | Milliseconds to wait before rendering (0-30000), for pages that load content late. |
apitemplate_get_accountGet account and quotaRead-onlyInspect
The APITemplate.io account behind this key: plan, subscription status and period, and the quota: api_quota, api_used, api_remaining (generations), plus the template quota and count. Check api_remaining before generating. GET /v2/account-information.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
apitemplate_get_templateGet PDF template sourceRead-onlyInspect
One PDF template's HTML body, CSS and print settings (the vendor marks this endpoint experimental, so it can answer with an error for some accounts or image templates). Read-only. GET /v2/get-template.
| Name | Required | Description | Default |
|---|---|---|---|
| template_id | Yes | The template id (apitemplate_list_templates, or the web console, Manage Templates). |
apitemplate_list_objectsList generated filesRead-onlyInspect
List the PDFs and images generated so far, newest first: transaction_ref, template_id, type (PDF, JPEG or MERGE), your meta reference, the hosted file URLs (primary_url, secondary_url for the PNG) and dates. Files already deleted or expired have deletion_status set. Read-only. GET /v2/list-objects.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of records, 1-500 (default 50). | |
| offset | No | Records to skip (default 0). Next page: offset + limit. | |
| template_id | No | Only files generated from this template. | |
| transaction_type | No | Only this kind of file. |
apitemplate_list_templatesList templatesRead-onlyInspect
List the templates of the account (PDF and image): template_id, name, format (PDF or JPEG), status, group and dates. Use the template_id with the create tools. Read-only; templates are never changed. GET /v2/list-templates.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of records, 1-500 (default 50). | |
| format | No | Only PDF or only image (JPEG) templates. | |
| offset | No | Records to skip (default 0). Next page: offset + limit. | |
| group_name | No | Only templates of this group. | |
| template_id | No | The template id (apitemplate_list_templates, or the web console, Manage Templates). |
apitemplate_merge_pdfsMerge PDFsInspect
WRITE: joins 2-20 PDFs (public http(s) URLs, in the given order, e.g. earlier download_url values) into one PDF and returns the hosted primary_url (never the file bytes). The source files are not changed or deleted. COST: uses 1 generation of your APITemplate.io plan quota per call (see apitemplate_get_account). Do not retry or repeat it unless needed; every call is counted. POST /v2/merge-pdfs (export_type=json).
| Name | Required | Description | Default |
|---|---|---|---|
| meta | No | Your own reference id for this file; it shows up in apitemplate_list_objects. | |
| urls | Yes | The PDF URLs to join, in order. | |
| expiration | No | Minutes until the hosted file expires: 0 = keep permanently (default), or 1-43200. |
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
10 tool updates
- First observed
apitemplate_create_image - First observed
apitemplate_create_pdf - First observed
apitemplate_create_pdf_from_html - First observed
apitemplate_create_pdf_from_markdown - First observed
apitemplate_create_pdf_from_url - First observed
apitemplate_get_account - First observed
apitemplate_get_template - First observed
apitemplate_list_objects - First observed
apitemplate_list_templates - First observed
apitemplate_merge_pdfs
Related MCP Connectors
Generate PDF/DOCX/XLSX/PPTX from templates+JSON. Convert Office/HTML/MD to PDF. Universal templating
Generate images and PDFs from HTML/CSS, live websites, and reusable templates.
JSON in, PDF out. Render invoices, certificates, reports and cards from a template and a payload.
Generate HTML to PDF documents in bulk or single — raw replacements or based on conditions, loops
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables PDF and image generation from templates, JSON, HTML, or URLs through the PDF Gen Studio API. Supports rendering, template management, and multiple output formats.11 npm1MIT
- AlicenseAqualityCmaintenanceGenerate professional PDFs from Claude, Cursor, and other AI tools. Create invoices, contracts, reports, and certificates from templates or inline HTML markup.743 npm1MIT

@sheetrender/mcpofficial
AlicenseAqualityBmaintenanceRenders PDFs from HTML templates or saved templates and spreadsheet data, with batch job support and document retrieval.11835 npm1MIT
formfeedofficial
AlicenseAqualityAmaintenanceRender PDFs and images from HTML templates (Jinja2, Liquid, Handlebars) or Word and PowerPoint files through the Formfeed API, check data against a template's schema before rendering, and convert Office documents to PDF.81MIT
Glama MCP Gateway
Add one secure layer between your agents and this server.