What is MCP?
The Model Context Protocol (MCP) is an open standard that lets AI assistants interact with external tools and services. Think of it as a USB port for AI — plug in any compatible tool and your AI assistant can use it instantly.
TongoRender's MCP Server gives your AI assistant the ability to generate PDFs, render images, and capture screenshots — all through natural language. Ask Cursor to "generate an invoice PDF" and it just works.
Plug & Play
Add the MCP server URL and start generating documents instantly
AI-Native
Your AI understands HTML, templates, and rendering options natively
Multi-Agent Ready
Perfect for agentic workflows that need to produce documents
Set Up in 30 Seconds
Choose your AI assistant and follow the setup guide
{
"mcpServers": {
"tongorender": {
"url": "https://tongorender.io/mcp/tongorender",
"transport": "http"
}
}
}That's it. Restart your IDE and start generating documents with AI.
What You Can Ask Your AI
Real prompts that work out of the box with TongoRender MCP
"Generate a PDF invoice for order #1042 with 3 line items totaling $299"
→ AI creates HTML, calls render-pdf, returns download link
"Take a screenshot of https://competitor.com in dark mode, full page"
→ AI calls render-screenshot with dark_mode:true, full_page:true
"Create an OG image for my blog post "Building with AI Agents""
→ AI designs HTML card, calls render-image at 1200x630
"List all available templates and render the invoice template with this data"
→ AI calls list-templates, picks the best match, renders with your data
"Generate a weekly report PDF from our dashboard data with charts"
→ AI creates HTML with inline SVG charts, renders A4 landscape PDF
"Screenshot our staging site at 3 viewport sizes for QA review"
→ AI makes 3 render-screenshot calls: 375px, 768px, 1440px
5 MCP Tools Available
Each tool is auto-discovered by your AI assistant
render-pdf— Convert HTML to PDFParams: html, format, landscape, margins, header/footer
render-image— Render HTML as PNG/JPEG/WebPParams: html, format, width, height, quality, pixel_ratio
render-screenshot— Screenshot a live URLParams: url, format, full_page, dark_mode, block_ads
list-templates— Browse available templatesParams: category (optional)
render-template— Render template with dataParams: slug, data, output_type
Built for Multi-Agent Workflows
TongoRender's MCP Server is designed for agentic architectures. Whether you're building with Claude Agent SDK, LangChain, CrewAI, or custom orchestrators — any agent that speaks MCP can generate documents.
Agent 1 (Data Collection)
→ Fetches order data from your database
→ Passes structured data to Agent 2
Agent 2 (Document Generation via TongoRender MCP)
→ Calls render-template with invoice data
→ Gets back a signed PDF URL
Agent 3 (Distribution)
→ Sends PDF via email to customer
→ Archives in S3 for compliance
All orchestrated by your supervisor agent.
TongoRender handles step 2 — the hard part.Claude Agent SDK
Build Python/TS agents that render documents via MCP
LangChain / LangGraph
Add TongoRender as a tool in your agent chains
CrewAI
Give your crew members document generation capabilities
Custom Orchestrators
Any system that speaks HTTP can use TongoRender MCP
Why Developers Choose TongoRender for AI Integration
As AI coding assistants become the default development environment, the tools they can access become critical infrastructure. TongoRender's MCP Server turns document generation from a complex integration task into a natural language request.
Unlike traditional PDF APIs that require you to construct HTTP requests manually, TongoRender's MCP integration lets your AI assistant handle the entire workflow. Describe what you need in plain English — "generate a receipt PDF for this order" — and the AI handles HTML creation, API calls, and file delivery automatically.
For teams building autonomous AI agents, TongoRender provides the document generation primitive. Your agents can produce invoices, reports, certificates, social media graphics, and screenshots without any human intervention. The MCP protocol ensures reliable tool discovery and invocation across any compatible AI framework.
Whether you're using Cursor for daily development, Claude Code for CLI-based AI workflows, or Windsurf for collaborative AI coding — TongoRender integrates in one line of JSON configuration. No SDK installation, no API key management in your prompts, no boilerplate. Just add the MCP server URL and start asking your AI to generate documents.