MCP server
PlusProEnterpriseConnect AI assistants and agents (Claude, Cursor, VS Code and any client that speaks the Model Context Protocol) and let them create PDFs for you. It uses your API key, your credits and the same options as the REST API.
URL
https://api.printpipe.io/mcp
Transport
Streamable HTTP
Auth
Authorization: Bearer <key>
Connect your client
claude mcp add --transport http printpipe https://api.printpipe.io/mcp \
--header "Authorization: Bearer YOUR_API_KEY"// claude_desktop_config.json (Settings → Developer → Edit config)
{
"mcpServers": {
"printpipe": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://api.printpipe.io/mcp", "--header", "Authorization:${AUTH}"],
"env": { "AUTH": "Bearer YOUR_API_KEY" }
}
}
}// ~/.cursor/mcp.json
{
"mcpServers": {
"printpipe": {
"url": "https://api.printpipe.io/mcp",
"headers": { "Authorization": "Bearer YOUR_API_KEY" }
}
}
}// .vscode/mcp.json: VS Code asks for the key once and stores it securely
{
"servers": {
"printpipe": {
"type": "http",
"url": "https://api.printpipe.io/mcp",
"headers": { "Authorization": "Bearer ${input:printpipe-key}" }
}
},
"inputs": [
{ "type": "promptString", "id": "printpipe-key", "description": "printpipe.io API key", "password": true }
]
}curl https://api.printpipe.io/mcp \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call",
"params":{"name":"generate_pdf","arguments":{"html":"<h1>Hello</h1>"}}}'The key goes in a header, never in the URL, so it doesn’t end up in logs or browser history. Treat config files with your key like passwords.
Tools
| generate_pdf | Converts HTML or a public URL to a PDF or screenshot and returns the file, with a report: pages, page size, resources that failed to load, JavaScript errors and a picture of the first page. Takes the REST parameters, except callBackUrl and state. |
| combine_pdfs | Makes up to 20 documents (HTML, or a template filled once per row of data) into one PDF. Each is a conversion with its own credits. |
| list_templates, get_template | The saved templates, and one template with its HTML, example data and the data fields it uses. |
| create_template, update_template, duplicate_template, delete_template | Save, change (HTML, CSS, page settings, example data), copy and delete templates, the same ones as in your dashboard. |
| preview_template | Renders a saved or draft template with example data as a picture or PDF, stamped "Preview". Free, up to 60 an hour. |
| get_usage | Returns the plan, the credits used and left this billing month, when they reset, the plan limits, and the conversions and credits of each of the last 30 days. |
| list_conversions | Recent conversions with result, error code, size, credits and time (never their content). |
Try asking
- “Turn this invoice HTML into an A4 PDF with 20px margins and page numbers in the footer.”
- “Design an invoice template with our logo, preview it, and save it.”
- “Fill the invoice template for each of these 12 customers and give me one PDF.”
- “Why did my last conversions fail?”
- PDFs come back inside the response, up to 10 MB. For larger documents use the REST API; nothing is charged when a PDF is too large to return.
- Credits, parallel limits and the privacy rules are exactly those of the REST API: nothing is stored.
- Each request stands alone: there are no sessions or streams to keep open.