Html2Pdf Connector for AI agents.
1 live capability
Create professional PDF documents from web URLs and HTML code.
Waiting for input…
Why people use Html2Pdf
Html2Pdf for Automated Document Generation
With this Connector, your agent handles the rendering logic for you. You just provide the URL or the HTML, and it spits out a polished file. You get consistent, high-quality documents every time without ever opening a browser tab.
What Vinkius changes
You get professional, customizable PDFs without managing any browser infrastructure.
Use it from Claude, ChatGPT, Cursor or another AI client you already have.
One account · 5,900+ Connectors
- Real-world use case 01
Invoice Generation
A user asks the agent to create a PDF invoice for a client using a specific HTML template.
- Real-world use case 02
Web Archiving
A researcher tells the agent to save a live article as a PDF and protect it with a password.
- Real-world use case 03
Report Exporting
An analyst asks the agent to turn a live dashboard URL into a landscape A4 PDF for a board meeting.
Complete set · 1capability
The complete Html2Pdf capability set.
These are the exact actions your AI can choose when you ask it to work with Html2Pdf.
01
1 capability in this set.
Part of 1 available through Html2Pdf.
- 01 Capability
Generate pdf
Converts a URL or HTML string into a PDF and returns it as a base64 string or via a webhook.
Set up in minutes
One URL. Then ask Html2Pdf to work.
Claude and ChatGPT only need the Connector URL. Copy it once, add it in settings, and use Html2Pdf from the conversation.
Choose your client
Live previewAdvanced clients IDE · CLI
Claude · Web + desktop
Connector URL · ready to paste
Streamable HTTPhttps://edge.vinkius.com/vk_preview_hqYnXrtHoxaxeAjnVe4IpLK7Mpj4ffymmSOGrfz5/mcp - Step 01
Open Connectors
In Claude Web or Claude Desktop, open Settings and choose Connectors.
- Step 02
Add the URL
Choose Add custom connector, name it Html2Pdf, and paste the URL above.
- Step 03
Turn it on in chat
Select +, open Connectors, and enable Html2Pdf for the conversation.
ChatGPT · Web + desktop
Connector URL · ready to paste
Streamable HTTPhttps://edge.vinkius.com/vk_preview_hqYnXrtHoxaxeAjnVe4IpLK7Mpj4ffymmSOGrfz5/mcp - Step 01
Open MCP settings
On desktop, open Settings and MCP servers. On web, open your workspace app or connector settings.
- Step 02
Add the URL
Choose Add server with Streamable HTTP, or create a custom MCP app, then paste the Html2Pdf URL.
- Step 03
Save and start
Save the connection and enable Html2Pdf in your conversation. Desktop may ask you to restart once.
Cursor · IDE configuration
Advanced setup
{
"mcpServers": {
"html2pdf": {
"url": "https://edge.vinkius.com/vk_preview_hqYnXrtHoxaxeAjnVe4IpLK7Mpj4ffymmSOGrfz5/mcp"
}
}
} - Step 01
Open MCP Settings
Press Cmd+Shift+P (macOS) or Ctrl+Shift+P (Windows/Linux) → search "MCP Settings"
- Step 02
Add the server config
Paste the JSON configuration above into the mcp.json file that opens
- Step 03
Save the file
Cursor will automatically detect the new Connector
- Step 04
Start using Html2Pdf
Open Agent mode in chat and ask: "Using Html2Pdf, help me...". 1 tools available
VS Code Copilot · IDE configuration
Advanced setup
{
"mcpServers": {
"html2pdf": {
"url": "https://edge.vinkius.com/vk_preview_hqYnXrtHoxaxeAjnVe4IpLK7Mpj4ffymmSOGrfz5/mcp"
}
}
} - Step 01
Create MCP config
Create a .vscode/mcp.json file in your project root
- Step 02
Add the server config
Paste the JSON configuration above
- Step 03
Enable Agent mode
Open GitHub Copilot Chat and switch to Agent mode using the dropdown
- Step 04
Start using Html2Pdf
Ask Copilot: "Using Html2Pdf, help me...". 1 tools available
Windsurf · IDE configuration
Advanced setup
{
"mcpServers": {
"html2pdf": {
"url": "https://edge.vinkius.com/vk_preview_hqYnXrtHoxaxeAjnVe4IpLK7Mpj4ffymmSOGrfz5/mcp"
}
}
} - Step 01
Open MCP Settings
Go to Settings → MCP Configuration or press Cmd+Shift+P and search "MCP"
- Step 02
Add the server
Paste the JSON configuration above into mcp_config.json
- Step 03
Save and reload
Windsurf will detect the new server automatically
- Step 04
Start using Html2Pdf
Open Cascade and ask: "Using Html2Pdf, help me...". 1 tools available
Cline · IDE configuration
Advanced setup
{
"mcpServers": {
"html2pdf": {
"url": "https://edge.vinkius.com/vk_preview_hqYnXrtHoxaxeAjnVe4IpLK7Mpj4ffymmSOGrfz5/mcp"
}
}
} - Step 01
Open Cline MCP Settings
Click the Connectors icon in the Cline sidebar panel
- Step 02
Add remote server
Click "Add Connector" and paste the configuration above
- Step 03
Enable the server
Toggle the server switch to ON
- Step 04
Start using Html2Pdf
Ask Cline: "Using Html2Pdf, help me...". 1 tools available
Claude Code · Terminal command
Advanced setup
claude mcp add html2pdf --transport http "https://edge.vinkius.com/vk_preview_hqYnXrtHoxaxeAjnVe4IpLK7Mpj4ffymmSOGrfz5/mcp" - Step 01
Install Claude Code
Run npm install -g @anthropic-ai/claude-code if not already installed
- Step 02
Add the Connector
Run the command above in your terminal
- Step 03
Verify the connection
Run claude mcp to list connected servers, or type /mcp inside a session
- Step 04
Start using Html2Pdf
Ask Claude: "Using Html2Pdf, show me...". 1 tools are ready
Where the request belongs
Work Html2Pdf can move forward.
This is for people who need to automate the save as PDF part of their jobs. It's for those who are tired of manual formatting and need a reliable way to turn digital content into shareable files.
Automation Developer
Building a system that automatically generates monthly PDF reports from a web dashboard.
Business Analyst
Converting complex internal web data into clean, shareable PDF summaries for stakeholders.
Content Marketer
Archiving blog posts or landing pages into portable PDF documents for distribution.
Build the capability set
Add more capabilities.
Each Connector adds new actions and data without changing how you work.
Browse ConnectorsPDFShift
Convert URLs or HTML to PDF and images. manage templates, track credits, and automate document generation via high-performance API.
Pdfcrowd
Convert HTML, web pages, and documents to PDF or images. Generate invoices and extract text from PDFs directly via AI.
ThePDFMaker
Transform HTML templates into pixel-perfect PDF documents with an API designed for invoices, reports, and branded output.
DocRaptor
Convert HTML to professional PDFs and Excel spreadsheets using the high-quality Prince XML engine.
PDF Munk
Automate PDF and image generation via PDF Munk. convert HTML/URL to PDF, merge documents, and compress files directly from any AI agent.
Restpack
Convert any URL or HTML into professional PDFs and high-fidelity screenshots directly from your AI agent using the Restpack API.
Bring your own AI
Change the model, client or framework. Keep Html2Pdf connected.
-
Claude -
ChatGPT -
Gemini -
Cursor -
VS Code -
Windsurf -
ZCode -
Cline -
Zed -
Continue -
Kiro -
Roo Code -
Zencoder -
Goose -
Void -
Augment Code -
Amp -
Qodo -
Tabnine -
Pieces -
Sourcegraph Cody -
JetBrains -
Warp -
Amazon Q -
Antigravity -
BoltAI -
Raycast -
Jan -
LM Studio -
AnythingLLM -
Open WebUI -
Msty -
Cherry Studio -
LibreChat -
TypingMind -
Chorus -
5ire -
n8n -
LangChain -
LlamaIndex -
CrewAI -
Vercel AI SDK
Before you connect
Questions about Html2Pdf.
The practical details behind the request, access and result.
Can Html2Pdf convert a live website into a PDF?
Yes, it can take any public URL and capture a high-quality snapshot of the page as a PDF.
Does Html2Pdf support custom page sizes like A4 or Letter?
Yes, you can specify the paper size and orientation like landscape during the generation process.
Can I protect the PDFs I create with Html2Pdf?
You can add user passwords and restrict actions like printing or copying to keep your documents secure.
How does Html2Pdf handle large files?
For large documents, it supports async callbacks so your agent doesn't have to wait around while the file processes.
Can I use Html2Pdf to create invoices from custom code?
Absolutely. You can send raw HTML strings to the Connector to generate custom documents like invoices or resumes.
Does Html2Pdf wait for JavaScript to load?
Yes, it supports a wait parameter to ensure that dynamic content is fully rendered before the PDF is captured.
Can I wait for JavaScript to finish before generating the PDF?
Yes! Use the waitFor parameter (up to 10 seconds) in the generate_pdf capability. This is ideal for pages that rely on async data loading or animations before they are ready to be captured.
Is it possible to add custom headers and footers to the document?
Absolutely. You can provide HTML strings for headerTemplate and footerTemplate to include page numbers, logos, or dates on every page of your generated PDF.
Can I protect the generated PDF with a password?
Yes. By setting the userPassword parameter, the server will trigger AES 128-bit encryption, requiring that password to open the document.
One connection away
Give your agent a direct line to Html2Pdf.
Connect Html2Pdf once. Keep it beside 5,900+ managed Connectors when the next task needs more.
Explore every Connector No credit card required · Free tier available