
Docapi
Turns document generation into native AI operations. Exposes PDF creation, screenshot capture, and document rendering as MCP tools that any compatible agent can call directly. Useful when you need your AI assistant to produce formatted outputs beyond plain text, like generating reports, capturing web page screenshots, or creating printable documents on demand. The stdio transport means it runs as a local process, so document generation happens on your machine without external API dependencies. Reach for this when you want Claude or other MCP clients to handle the full pipeline from content creation to formatted delivery.
- tools
- 5
- auth
- Secret needed
- transport
- STDIO
- env var
- 1
- last updated
- Mar 18, 2026
Tools
5 toolsPublic tool metadata for what this MCP can expose to an agent.
docapi_generate_pdfConvert HTML to a PDF using DocAPI's headless Chromium renderer. Full CSS support: Flexbox, Grid, custom fonts, gradients, shadows. Args: - html (string): HTML to render. Inline styles and <style> tags work. Google Fonts URLs supported. - format ('A4' | 'Letter' | 'Legal' | 'T...5 params
Convert HTML to a PDF using DocAPI's headless Chromium renderer. Full CSS support: Flexbox, Grid, custom fonts, gradients, shadows. Args: - html (string): HTML to render. Inline styles and <style> tags work. Google Fonts URLs supported. - format ('A4' | 'Letter' | 'Legal' | 'T...
formatstringA4 · Letter · Legal · Tabloiddefault: A4htmlstringlandscapebooleanmargin_inchesnumberprint_backgroundbooleandocapi_capture_screenshotScreenshot a URL or render HTML and capture it as an image. Returns the image inline so you can view it immediately. Common uses: Open Graph images (1200×630), social cards, page thumbnails, template previews. Args: - url (string, optional): A live URL to screenshot. Provide u...5 params
Screenshot a URL or render HTML and capture it as an image. Returns the image inline so you can view it immediately. Common uses: Open Graph images (1200×630), social cards, page thumbnails, template previews. Args: - url (string, optional): A live URL to screenshot. Provide u...
formatstringpng · jpegdefault: pngheightintegerhtmlstringurlstringwidthintegerdocapi_check_creditsCheck remaining API credits and USDC top-up address for agent accounts. Only applicable to agent accounts (registered via docapi_register_agent). Human subscription accounts use monthly plan limits instead. Returns: { credits, usdc_address, rate, suggested_topup_usdc }
Check remaining API credits and USDC top-up address for agent accounts. Only applicable to agent accounts (registered via docapi_register_agent). Human subscription accounts use monthly plan limits instead. Returns: { credits, usdc_address, rate, suggested_topup_usdc }
No parameter schema in public metadata yet.
docapi_register_agentRegister a new DocAPI agent account programmatically. Returns an API key and USDC address — no email, no dashboard, no human step required. Use this when building software that needs PDF or screenshot generation. After registering, embed the api_key in the software and wire up...1 params
Register a new DocAPI agent account programmatically. Returns an API key and USDC address — no email, no dashboard, no human step required. Use this when building software that needs PDF or screenshot generation. After registering, embed the api_key in the software and wire up...
notify_emailstringdocapi_generate_invoiceGenerate a professionally formatted invoice PDF from structured data. Returns a base64-encoded PDF. Args: - from_name (string): Sender's name or business name - from_email (string, optional): Sender's email - from_address (string, optional): Sender's address (\n for line break...15 params
Generate a professionally formatted invoice PDF from structured data. Returns a base64-encoded PDF. Args: - from_name (string): Sender's name or business name - from_email (string, optional): Sender's email - from_address (string, optional): Sender's address (\n for line break...
currency_symbolstringdatestringdue_datestringfrom_addressstringfrom_emailstringfrom_namestringfrom_phonestringinvoice_numberstringline_itemsarraylogo_urlstringnotesstringtax_percentnumberto_addressstringto_emailstringto_namestringSponsors
Configuration
DOCAPI_API_KEY*secretYour DocAPI API key from docapi.co
Readme
MCP Registry
The MCP registry provides MCP clients with a list of MCP servers, like an app store for MCP servers.
📤 Publish my MCP server | ⚡️ Live API docs | 👀 Ecosystem vision | 📖 Full documentation
Development Status
2025-10-24 update: The Registry API has entered an API freeze (v0.1) 🎉. For the next month or more, the API will remain stable with no breaking changes, allowing integrators to confidently implement support. This freeze applies to v0.1 while development continues on v0. We'll use this period to validate the API in real-world integrations and gather feedback to shape v1 for general availability. Thank you to everyone for your contributions and patience—your involvement has been key to getting us here!
Details
- Repository
- github.com/doc-api-llc/docapi-mcp
- Category
- AI & LLM Tools
- Package
@docapi/mcp- Transport
- STDIO
- Auth
- Required
- Registry
- MCP registry, active