Craftmypdf MCP server

Connect Craftmypdf to Claude, ChatGPT, Cursor, Claude Code, Codex, Gemini, GitHub Copilot and any other MCP client, for your whole team. Metorial adds security, governance, and tracing, and gives everyone one Magic MCP URL to connect.

What you can do with the Craftmypdf MCP server

Ask your agent in plain language. Each of these maps to a real tool on the server.

  • Use the add text to pdf tool in Craftmypdf
  • Use the generate image tool in Craftmypdf
  • Use the update template tool in Craftmypdf
  • Use the get pdf info tool in Craftmypdf
  • Use the generate pdf (async) tool in Craftmypdf
  • Use the generate pdf tool in Craftmypdf

Supported Tools

add_text_to_pdf

Add Text to PDF

Annotate an existing PDF with dynamic text overlays. Add page numbers, headers, footers, or any custom text at configurable positions on selected pages. Supports template variables like `{{pageNumber}}`, `{{totalPages}}`, and `{{currentIndex}}` within text.

generate_image

Generate Image

Generate a JPEG or PNG image from a CraftMyPDF template populated with JSON data. Uses the same template system as PDF generation but outputs an image file.

update_template

Update Template

Update an existing CraftMyPDF template's name or sample JSON data.

get_pdf_info

Get PDF Info

Retrieve PDF page count and document metadata. Page dimensions and form fields are included only when returned by the provider.

generate_pdf_async

Generate PDF (Async)

Initiate asynchronous PDF generation. The request returns immediately with a transaction reference. Once the PDF is ready, the result is delivered to the specified webhook URL. Use this for large or batch PDF generation tasks where you don't need the result immediately.

generate_pdf

Generate PDF

Generate a downloadable PDF document by combining a pre-defined template with JSON data. Supports password protection, configurable PDF standards, image resampling, and custom expiration times. You can also load data from an external URL instead of passing it inline.

fill_pdf_fields

Fill PDF Form Fields

Fill in fillable form fields in an existing PDF document. Supports text boxes, checkboxes, dropdown menus, and other standard PDF form components. Optionally lock fields as read-only after filling.

get_template

Get Template

Retrieve detailed information about a specific CraftMyPDF template, including its structure, sample JSON data, and metadata. Optionally retrieve a specific version.

list_transactions

List Transactions

List PDF generation transactions for tracking and auditing, including credits consumed, transaction type, execution time, and response status.

get_account_info

Get Account Info

Retrieve the connected CraftMyPDF account username, quota counters, template limits, and creation date. Additional account details are included when available.

create_template

Create Template

Create a new PDF template by cloning an existing one. The new template will be a copy of the source template that can be independently modified.

list_templates

List Templates

Retrieve all available PDF templates from your CraftMyPDF account. Supports pagination and filtering by group name.

delete_template

Delete Template

Permanently delete a CraftMyPDF template. This action cannot be undone.

merge_pdfs

Merge PDFs

Merge multiple PDFs into a single document. Supports two modes: - **By URL**: Combine existing PDF files by providing their URLs. - **By Template**: Generate PDFs from multiple templates with their own data and merge them into one document. Use "pdfUrls" for URL-based merging, or "templates" for template-based merging.

add_watermark

Add Watermark

Add a text watermark to an existing PDF document. Configure font size, opacity, rotation angle, color, and font family for the watermark overlay.

create_editor_session

Create Editor Session

Create a white-label editor session for embedding the CraftMyPDF template editor in an iframe. Returns a unique URL that can be embedded in your application. Configure permissions to control what the user can do in the embedded editor (save, generate PDF, preview, edit JSON, etc.).

deactivate_editor_session

Deactivate Editor Session

Revoke an embedded template editor session using the session token returned when it was created.

list_template_versions

List Template Versions

List the available versions of a template to choose a version for generation, retrieval, or cloning. Version zero represents the latest version.

Connect Craftmypdf to your AI client

Every client uses the same Magic MCP URL, and so does any other MCP client. Add it once and sign in with SSO.

  1. Enable Craftmypdf in Metorial. In your Metorial portal, enable the Craftmypdf MCP server and sign in with the account that owns the data. Access stays governed by your team policies.
  2. Add a custom connector. Open Customize, then Connectors. Select Add, then Custom, then Web.
  3. Paste your Metorial MCP URL. Name it Metorial, paste your Magic MCP URL (<your-magic-mcp-url>) and continue.
  4. Sign in. Select Add and sign in to load Craftmypdf tools.

Run Craftmypdf through the Metorial gateway

One governed layer for every app your agents reach, not a separate connector per tool.

  • Give Craftmypdf and every other app to your whole team through one MCP gateway, behind your SSO.
  • Scope which teams and agents can use Craftmypdf tools with role-based access control, and trace every call.
  • Prefer to run it yourself? Metorial is open source and self-hostable.

More integrations teams use with Craftmypdf

Notion

Create, read, update, and archive pages and databases in a Notion workspace. Manage blocks (paragraphs, lists, headings, embeds, etc.) within pages. Query databases with filters and sorts across rich property types including text, numbers, dates, selects, relations, and formulas. Search across pages and databases by title. Add and read comments on pages and blocks. Upload files to pages. Manage workspace users and retrieve user profiles.

Sharepoint

Manage SharePoint sites, document libraries, lists, and files. Create, read, update, and delete lists and list items with custom columns. Resolve site users to numeric Person/Group LookupId values. Upload, download, move, copy, and version files in document libraries. Search across sites, files, folders, lists, and list items using Microsoft Search. Manage permissions at site, list, and item levels with granular access control. Define and manage content types and site columns. Retrieve site properties and search for sites across Microsoft 365.

Confluence

Create, read, update, and delete pages, blog posts, comments, and attachments in Confluence spaces. Manage spaces, permissions, labels, and content restrictions. Search content using Confluence Query Language (CQL). Upload and download file attachments with versioning. Manage users, groups, and group memberships. Create and manage whiteboards, databases, folders, and templates. View and update inline tasks. Access audit logs.

Netlify

Manage web application sites, deploys, builds, build hooks, deployed files, metadata, and hosting on Netlify. Create, update, configure, list, and delete sites. Manage environment variables with per-context values and scopes. Access and manage form submissions, including spam filtering. Configure DNS zones and records. Inject JavaScript or HTML snippets into site pages. Create and manage split tests (A/B testing) for traffic routing between branches. Set up notification hooks for deploy and form submission events. Purge CDN cached content by site or cache tag.

Typeform

Create, retrieve, update, and delete online forms and surveys. Manage form responses, including filtering by date and deleting submissions. Configure webhooks to receive real-time notifications on form submissions and partial responses. Upload and manage images, create and apply visual themes, and organize forms across workspaces with team collaboration. Translate forms into multiple languages, retrieve form insights and analytics, and download files uploaded by respondents.

WordPress

Create, read, update, and delete WordPress posts and pages. Manage media library items, comments, categories, tags, site users, site metadata, editable site settings, content search, and WordPress.com site statistics. Supports WordPress.com hosted sites via OAuth and self-hosted WordPress sites via application passwords.

Technical notes for Craftmypdf

Generate PDF documents and images (JPEG/PNG) from reusable templates and JSON data. Create PDFs synchronously or asynchronously with webhook callbacks. Merge multiple templates or PDF URLs into a single document. Add watermarks to existing PDFs. Manage PDF templates programmatically—list, create, update, and delete templates. Generate fillable PDF forms with text boxes, checkboxes, dropdowns, radio buttons, and signature fields. Configure output options including password protection, CMYK color profiles, PDF standards (PDF/A), and cloud storage integration. Create embeddable editor sessions for white-label template editing. Retrieve account details and transaction history.

Frequently asked questions

Common questions about connecting Craftmypdf to AI agents with Metorial.

  1. How many tools does the Craftmypdf MCP server have?
    The Craftmypdf MCP server exposes 18 tools, including Add Text to PDF, Generate Image, Update Template. Each one is governed and traced through Metorial.
  2. Craftmypdf exposes tools your agents call on demand; it does not publish event triggers yet. Everything still runs through one governed MCP URL.
  3. Any MCP client, including VS Code, Windsurf, Zed, OpenCode and Grok. Each one reaches the Craftmypdf MCP server through the same Metorial URL.
  4. Use role-based access control to decide which teams, users, and agents can use Craftmypdf and which of its tools they can call.
  5. Yes. Metorial is open source, so you can run the Craftmypdf MCP server yourself or use the hosted gateway.

Connect Craftmypdf to production AI agents

See how Metorial gives your team governed access to Craftmypdf, with tracing and security controls built in.