CraftMyPDF MCP server for AI agents

Live

API KEY

PDF GENERATION

Files & Documents

CraftMyPDF gives your agent PDF generation in your CraftMyPDF account: create PDFs and images from templates and JSON data, merge PDFs, fill form fields, add text and watermarks, and manage templates, versions, and editor sessions.

  • Per-user credentials: each call uses the actual user's API key, never a shared bot.
  • Encrypted per-tenant vault: AES-256, resolved at request time, never in LLM context.
  • Scoped before every call: pre-call scope check, 90-day SIEM-exportable audit chain.
CraftMyPDF
agent · Acme Q3
Run
Generate an invoice PDF from the invoice template for Acme Corp.
S
craftmypdf_pdf_create
920ms
PDF agent
Generated the invoice PDF for Acme Corp from your invoice template. The file link is ready.
Sources: CraftMyPDF invoice template, 1 PDF
craftmypdf
1 PDF
18:29
Message Claude...

Tools your PDF agent reaches for on CraftMyPDF, scoped per user.

CALL ANY TOOL
23 tools for PDF generation in CraftMyPDF: render PDFs and images from templates, merge PDFs, fill form fields, stamp text and watermarks, and manage templates, versions, and editor sessions.
craftmypdf_account_info_get
Get account info
Get your CraftMyPDF account information. Returns the plan, credits used and remaining, and team details. Use it to check remaining quota.
Parameters
Name
Type
Required
Description
—
No parameters required
craftmypdf_editor_session_create
Create editor session
craftmypdf_editor_session_deactivate
Deactivate editor session
craftmypdf_image_create
Create image
craftmypdf_pdf_create
Create pdf
craftmypdf_pdf_create_async
Pdf create async
craftmypdf_pdf_create_merged
Pdf create merged
craftmypdf_pdf_fields_update
Update pdf fields
craftmypdf_pdf_info_get
Get pdf info
craftmypdf_pdf_text_add
Add pdf text
craftmypdf_pdf_watermark_add
Add pdf watermark
craftmypdf_pdfs_create_parallel
Pdfs create parallel
craftmypdf_pdfs_merge
Merge pdfs
craftmypdf_template_create_from
Template create from
craftmypdf_template_delete
Delete template
craftmypdf_template_get
Get template
craftmypdf_template_transfer
Template transfer
craftmypdf_template_update
Update template
craftmypdf_template_usage_get
Get template usage
craftmypdf_template_versions_list
List template versions
craftmypdf_template_versions_retain
Template versions retain
craftmypdf_templates_list
List templates
craftmypdf_transactions_list
List transactions
Build your Agent
Same auth pattern across LangChain, OpenAI, Anthropic, and Google ADK.
Python · LlamaIndex
import { ScalekitClient } from "@scalekit-sdk/node";
import { createReactAgent } from "@langchain/langgraph/prebuilt";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

// CraftMyPDF tools scoped to this user
const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["craftmypdf"], toolNames: [
    "craftmypdf_pdf_create",
    "craftmypdf_pdfs_merge",
    "craftmypdf_pdf_watermark_add"] },
  pageSize: 100,
});

const agent = createReactAgent({ llm, tools });
await agent.invoke({ messages: [{ role: "user", content: "Generate an invoice PDF from the invoice template, merge it with the terms PDF, and add a paid watermark" }] });
import OpenAI from "openai";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const openai = new OpenAI();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["craftmypdf"] }, pageSize: 100,
});

const res = await openai.chat.completions.create({
  model: "gpt-5",
  messages: [{ role: "user", content: "Generate an invoice PDF from the invoice template, merge it with the terms PDF, and add a paid watermark" }],
  tools,
});

// Execute the tool call with the user's vaulted CraftMyPDF API key
await sk.tools.executeTool(res.choices[0].message.tool_calls[0], "user_123");
import Anthropic from "@anthropic-ai/sdk";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const anthropic = new Anthropic();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["craftmypdf"] }, pageSize: 100,
});

const msg = await anthropic.messages.create({
  model: "claude-sonnet-5",
  max_tokens: 1024,
  messages: [{ role: "user", content: "Generate an invoice PDF from the invoice template, merge it with the terms PDF, and add a paid watermark" }],
  tools,
});

// Tool call runs with the user's vaulted CraftMyPDF API key
await sk.tools.executeTool(msg.content, "user_123");
import { Agent } from "@google/adk/agents";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["craftmypdf"] }, pageSize: 100,
});

const agent = new Agent({
  name: "pdf_agent",
  model: "gemini-2.5-pro",
  instruction: "CraftMyPDF tools scoped to this user",
  tools,
});

await agent.run("Generate an invoice PDF from the invoice template, merge it with the terms PDF, and add a paid watermark");
Try these prompts
Copy any prompt into your agent. Each maps directly to a CraftMyPDF tool. Click to copy, paste into your agent, done.
Generate
Copy the prompt
Copied
Generate an invoice PDF from the invoice template for Acme Corp.
Copy the prompt
Copied
Generate 20 PDFs in one call from this list of customers.
Copy the prompt
Copied
Create a PNG image from my badge template.
Edit PDFs
Copy the prompt
Copied
Merge these 3 PDF URLs into one PDF.
Copy the prompt
Copied
Fill the form fields of this existing PDF.
Copy the prompt
Copied
Add a diagonal DRAFT watermark to every page of this PDF.
Templates and usage
Copy the prompt
Copied
List my CraftMyPDF templates.
Copy the prompt
Copied
Create a new template by copying the invoice template.
Copy the prompt
Copied
How many PDFs did my templates generate last month?
SEE HOW AUTH WORKS
Each user connects their own CraftMyPDF API key once; Scalekit sends it with every call. Keys stay vaulted, every call is scope checked, and every action is logged.
1
Authorize
Your user connects
CraftMyPDF
once. We tie it to their identity and the access they approved, with no shared bot account and no org-wide access
Who:
user ‘A’
when:
Once per user
access:
Limited to user
2
Store
Their
CraftMyPDF
credential lives in a vault scoped to them. User A's data is never reachable by an agent acting for user B, even on the same connection
vault:
encrypted
scope:
per-user
tenants:
isolated
3
Resolve
When your agent calls a
CraftMyPDF
tool, we fetch the right credential server-side. It never touches your agent, never appears in the LLM context, never shows up in your logs
speed:
~40ms
check:
before every call
seen by:
nobody
4
Audit
Every
CraftMyPDF
tool call is logged: who triggered it, which tool ran, what came back. 90 days of history, tied to the user who authorized it
history:
90 days
export:
SIEM-ready
logged:
every call
Test other agents
See the same per-user auth pattern across other files and documents connectors.
People Ops and HR teams
Offer letter routing agent
Drafts the offer in PandaDoc, blocks on the hiring manager's approval in Slack, then emails the candidate their e-signature link. Every call runs as the recruiter who triggered it, never a shared HR bot.
GTM and RevOps Teams
Deal room sync
Pulls opportunity context from Salesforce, captures key decisions from Slack, and syncs a running summary to the deal room doc in Google Drive, but only when the deal actually changed.
Test other agents
See the same per-user auth pattern across other files and documents connectors.
PEOPLE OPS
Offer letter routing agent
Draft the offer in PandaDoc, gate it on hiring manager approval in Slack, then email the candidate their signature link.
GTM
Deal room sync agent
Pull opportunity context from Salesforce, capture decisions from Slack, and keep the Google Drive deal room doc current.
Why Scalekit
Secure your agent's access. Connectors ship in minutes
01.
Shared tokens break per-user analytics
A shared CraftMyPDF API key looks fine in a demo. In production every PDF generation looks like one service account, and you cannot tell which user triggered it. Scalekit resolves the credential of the actual user who triggered the agent, never a shared bot.
// shared key
audit → bot_service_account

// scalekit
audit → user_abc ✓
02.
Authentication is not authorization
03.
Multi-tenancy is architectural
04.
CraftMyPDF today. Ten connectors tomorrow.
“Our agents act across Salesforce, Gong, Google Drive, and more, on behalf of every customer. Scalekit behind the scenes meant we can keep adding tools without ever rebuilding how credentials or tool calling work.”
Venu Madhav Kattagoni
Head of Engineering / Von
FAQs
Frequently Asked Questions
Does the agent access CraftMyPDF as the user or through a shared key?
As the user. Each user connects their own CraftMyPDF API key once, and Scalekit sends it with every call. Audit logs attribute every PDF generation and template change to that user, not a shared service account.
Where is the CraftMyPDF API key stored?
In Scalekit's managed AES-256 token vault, namespaced per tenant. To rotate it, the user reconnects with a new API key. Revocation is a single dashboard action. Credentials never appear in prompts, logs, or LLM context.
Can I limit what the agent does in CraftMyPDF?
Yes. Filter by tool name in listScopedTools to expose only what you want, for example the generation tools without craftmypdf_template_delete, which cannot be undone, and craftmypdf_template_transfer. Scalekit also enforces scope checks before every API call.
What happens when a user revokes CraftMyPDF access?
The connection is invalidated on the next tool call. Subsequent requests for that user fail closed with a clear error. Other users in the tenant remain unaffected. The event is logged for audit.
Can the agent generate many PDFs at once?
Yes. craftmypdf_pdfs_create_parallel generates several PDFs in one call, craftmypdf_pdf_create_async starts a generation without waiting and returns a transaction ref, and craftmypdf_pdf_create_merged builds one PDF from several templates.
Start in your coding agent
Up and running in one command
Install the Scalekit skill in your editor of choice. Connector, auth, tools, prompt, all wired up
Claude Code REPL
/plugin marketplace add scalekit-inc/claude-code-authstack
/plugin install agentkit@scalekit-auth-stack
Cursor Code REPL
# ~/.cursor/mcp.json
{
""mcpServers"": {
""craftmypdf"": {
""url"": ""https://mcp.scalekit.com/craftmypdf"",
""headers"": { ""Authorization"": ""Bearer $SCALEKIT_TOKEN"" }
}
}
}
Codex Code REPL
# ~/.codex/config.toml
[mcp_servers.craftmypdf]
url = ""https://mcp.scalekit.com/craftmypdf""
auth_env = ""SCALEKIT_TOKEN""
Copilot Code REPL
# .vscode/mcp.json
{
""servers"": {
""craftmypdf"": {
""url"": ""https://mcp.scalekit.com/craftmypdf"",
""type"": ""http""
}
}
}