docsapi_key

PDF-API.io

PDF-API.io offers a dynamic PDF generation API with a drag-and-drop template designer, allowing developers to create customizable PDFs using HTML and CSS.

Verdict

PDF-API.io lets your team generate PDFs from templates without leaving the conversation. When you @mention it in a Space, you can list your account's templates, then fill them with data to produce invoices, reports, contracts, or certificates on demand. This works best for teams that already maintain PDF templates in PDF-API.io and need to generate documents during client calls, sprint reviews, or approval workflows. You'll need an API key from your PDF-API.io dashboard, and the MCP currently exposes template listing — generation commands may require additional setup or manual API calls.

Common use cases

  • Generate client invoices during billing review
  • Create signed contracts from approved terms
  • Produce event certificates after webinar ends
  • Build custom reports for stakeholder meetings
  • Draft proposal PDFs from CRM data

Integration

Vendor
PDF-API.io
Category
docs
Auth
API_KEY
Tools
1
Composio slug
pdf_api_io

Tools

  • List Templates

    Tool to list all available templates. use after authentication to retrieve user's templates.

Setup

Setup guide

  1. 11. Open your Switchy workspace and navigate to Settings > Integrations > MCP Servers. 2. Click 'Add MCP Server' and select PDF-API.io from the catalog. 3. Log into your PDF-API.io account in a separate tab and go to Settings > API Keys to generate a new key. 4. Copy the API key and paste it into the Switchy connection dialog, then click 'Connect'. 5. Switchy will verify the key and confirm the connection is active. 6. Open any Space and type '@PDF-API.io list templates' to retrieve your available templates. 7. If you see a list of template names and IDs, the integration is working — you can now reference these templates in prompts to generate documents.

What teammates see: by default, memories from PDF-API.io are scoped to the Space (PROJECT visibility) - you can mark any memory PRIVATE or share it ORG-wide.

Works well with

Top models

Compatibility data appears once enough Spaces have used this MCP together with a given model.

How Switchy teams use it

Not enough Spaces yet to publish anonymised usage stats (we require ≥ 50 Spaces per week).

Starter prompts

List My Templates

@PDF-API.io list all templates in my account and show their names and IDs
Open in a Space →

Find Invoice Template

@PDF-API.io list templates and filter for any that include 'invoice' in the name
Open in a Space →

Check Template Details

@PDF-API.io list templates and tell me if template ID 'abc123' is available
Open in a Space →

Audit Template Library

@PDF-API.io list all templates and group them by creation date so I can see which are oldest
Open in a Space →

Prepare Document Generation

@PDF-API.io list templates that contain 'contract' or 'agreement' so I can pick one for this meeting
Open in a Space →

Example outputs

Illustrative - representative of the model's voice and quality, not literal recordings.

Prompt

@pdf-api list all my PDF templates and show me which ones were created in the last 30 days

Output

Found 12 templates in your PDF-API.io account. Recent templates (last 30 days): 'Invoice-2024-Q1' (created Jan 15), 'Contract-Standard' (created Jan 22), 'Receipt-Template-v2' (created Feb 3). Older templates include 'Proposal-Default', 'NDA-Basic', 'Timesheet-Weekly', and 6 others. Each template includes its ID, creation date, and last-modified timestamp for reference.

Notes

This example shows the MCP's core read capability — retrieving your template library. Requires a valid API key with read permissions. The MCP returns metadata only; it won't show template content or generate PDFs without additional tools. Useful for auditing what templates exist before building generation workflows.

Prompt

@pdf-api check if I have a template named 'Monthly-Report' and tell me when it was last updated

Output

Yes, 'Monthly-Report' exists in your account (template ID: tpl_8x9k2m). Last modified on January 28, 2024. This template was created on December 10, 2023. No other templates match that exact name. If you need to generate a PDF from this template, you'll need to provide data variables separately.

Notes

Demonstrates filtering within the template list to locate a specific asset. The MCP can confirm existence and surface metadata, but can't preview layout or field mappings. If your account has many templates, this query helps avoid manual searching through the PDF-API.io dashboard.

Prompt

@pdf-api show me all templates I have, then recommend which one would work best for creating customer invoices

Output

Retrieved 12 templates. Based on naming conventions, 'Invoice-2024-Q1' and 'Invoice-Standard-v3' appear invoice-related. 'Invoice-2024-Q1' was updated more recently (Jan 15 vs. Nov 2023), suggesting it may reflect current branding or tax rules. However, I can only see template names and dates — not field structures. Review both in your PDF-API.io dashboard to confirm which matches your invoice data schema before generating documents.

Notes

This synthesis example pairs the MCP's data with AI reasoning to guide template selection. The AI can infer purpose from naming but can't inspect template internals. Useful for onboarding teammates who don't know which template to use, though final verification requires dashboard access or test generation.

Use-case deep-dives

Contract generation for sales teams

When PDF-API.io fits high-volume contract workflows

A 6-person sales team closing 40+ deals a month needs consistent contract PDFs without manual formatting. PDF-API.io works here if you already maintain templates in their platform—the single List Templates tool lets Switchy pull the right template ID, then your team can trigger generation through their API in the same conversation where you're discussing deal terms. The auth is straightforward API key setup. This breaks down if your contracts need dynamic clause logic or version control beyond what their template system supports. If you're generating fewer than 10 PDFs a week, the setup overhead probably isn't worth it. Best fit: repeatable documents at scale where the template library is your single source of truth.

Customer onboarding packet assembly

PDF-API.io for templatized welcome docs

A 3-person customer success team onboards 15 new accounts monthly, each needing a branded welcome packet with account details, setup guides, and terms. PDF-API.io handles this if your packets follow a fixed structure—list your templates in Switchy, pick the onboarding set, and generate personalized PDFs as you're prepping the kickoff call. The limitation: you're locked into their template editor for any layout changes, and the single-tool MCP means you're mostly using this for template discovery, not end-to-end document assembly. If your packets vary significantly by customer tier or industry, you'll hit the template rigidity wall fast. Works when onboarding is predictable and volume justifies maintaining a template library.

Monthly report distribution for agencies

When this MCP is too narrow for reporting workflows

A 4-person marketing agency sends 20 client reports monthly, each pulling performance data from Google Analytics, social platforms, and ad spend. PDF-API.io's single List Templates tool doesn't help here—you need data ingestion, chart rendering, and conditional sections, none of which this MCP exposes. The vendor likely has API endpoints for generation and data merge, but this integration only surfaces template listing, making it a poor fit for dynamic reporting. You'd spend more time working around the MCP's limits than you'd save. Skip this unless your reports are static templates with manual data entry, in which case you're better off with a native PDF export from your BI tool anyway.

Frequently asked

What does the PDF-API.io MCP do in Switchy?

It connects your PDF-API.io account so AI agents can list your PDF templates and generate documents from them. The MCP exposes your template library through a single tool, letting agents query which templates exist before triggering PDF creation workflows. You still manage template design and configuration in PDF-API.io itself.

Do I need to create an API key before connecting?

Yes. The MCP uses API key authentication, so you'll generate a key in your PDF-API.io account settings before adding the integration to Switchy. Anyone with the key can list your templates, so treat it like a password and rotate it if a team member leaves.

Can the MCP actually generate PDFs or just list templates?

Right now it only lists templates. The single exposed tool retrieves your template inventory so agents know what's available, but it doesn't trigger PDF generation. If you need agents to create documents, you'll still call PDF-API.io's REST endpoints directly or use a workflow automation tool.

Why use this instead of calling PDF-API.io's API directly?

The MCP saves you from writing API client code every time an agent needs to check which templates exist. It standardises the authentication and response format across your workspace. For simple template discovery, it's faster than maintaining custom scripts, but complex PDF workflows still benefit from direct API integration.

Does connecting this count against my PDF-API.io plan limits?

Listing templates typically doesn't consume generation credits, but check your PDF-API.io plan terms. The MCP makes read-only API calls to fetch template metadata. If your plan has rate limits on API requests, repeated agent queries could hit those thresholds during heavy usage periods.

Data last verified 607 hours ago.Sources aggregated hourly to weekly. See docs/architecture/model-directory.md.