Dashboard · Connect MCP & API
On-brand documents from Claude, ChatGPT or any agent.
Claude CodeConnect with an API key
The address below is a placeholder. Use the MCP address we give you when your account is set up.
- Copy your MCP address:
- Create an API key below, then run this in your terminal with your address and key:
claude mcp add --transport http prettypdf YOUR-MCP-ADDRESS --header "Authorization: Bearer YOUR-KEY" - Ask: “Create an offer for Alpenhof, 4× NV-200, valid 30 days.”
Claude chat and Claude Desktop connect through sign-in with your Pretty PDF account, which is being enabled.
Connection status is not shown here yet.
Being enabledConnect with sign-in
ChatGPT connects through sign-in with your Pretty PDF account, which is being enabled. Until then, use the REST API or an agent that accepts an API key.
API keyConnect with an API key
- In Copilot Studio, add an MCP server as a tool for your agent.
- Paste your MCP address:
- Choose API key authentication, header name
Authorization, valueBearerfollowed by a space and a key from the list below. - Test the tool from the agent's test panel.
REST API
Create a key below and keep it in a secret store, never in source code or a web page. Send it in the X-API-Key header.
Markdown to PDF
curl -X POST https://api.prettypdfprinter.com/v1/render \
-H "X-API-Key: $PRETTY_PDF_KEY" \
-H "Content-Type: application/json" \
-d '{"content": "# Offer 2026-118\n\nThank you for your enquiry.",
"content_type": "markdown",
"profile_id": "YOUR-PROFILE-ID",
"locale": "de-AT",
"title": "Offer 2026-118",
"delivery": "pdf"}' \
-o offer.pdf
Word, Excel or PowerPoint to PDF
curl -X POST https://api.prettypdfprinter.com/v1/render/file \
-H "X-API-Key: $PRETTY_PDF_KEY" \
-F [email protected] \
-F profile_id=YOUR-PROFILE-ID \
-F locale=en-GB \
-F delivery=pdf \
-o datasheet.pdf
Set delivery to link to receive a JSON reply with a time-limited download address instead of the file. Find profile ids on the Document profiles page or with GET /v1/profiles.
Copy this key now. It is shown once and cannot be retrieved later. If you lose it, revoke it and create a new one.
For your own agents and systems: API key
No keys yet.
How access stays secure
· The address alone grants nothing. Every connection needs your sign-in or a key.
· Keys are scoped (render only vs admin) and revocable.
· Every render is logged by user and key. Content is not stored by default.
· Only the account manager can create admin keys.
Tools your agent gets: render_document convert_file render_from_template list_document_templates validate_content list_document_profiles whoami