doc-api-llc avatar

Docapi

doc-api-llc/docapi-mcp

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 tools

Public 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...

Parameters* required
formatstring
Paper format (default: A4)one of A4 · Letter · Legal · Tabloiddefault: A4
htmlstring
HTML content to convert to PDF
landscapeboolean
Landscape orientation (default: portrait)default: false
margin_inchesnumber
Page margin in inches 0–4 (default: 0.5)default: 0.5
print_backgroundboolean
Include background colors and images (default: true)default: true
docapi_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...

Parameters* required
formatstring
Image format (default: png)one of png · jpegdefault: png
heightinteger
Viewport height in pixels (default: 630)default: 630
htmlstring
HTML to render and screenshot. Provide url OR html, not both.
urlstring
Live URL to screenshot (e.g. https://example.com). Provide url OR html, not both.
widthinteger
Viewport width in pixels (default: 1200)default: 1200
docapi_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...

Parameters* required
notify_emailstring
Optional operator email for low-balance alerts (one email per 24h when credits fall below 50)
docapi_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...

Parameters* required
currency_symbolstring
Currency symbol (default: $)default: $
datestring
Invoice date (e.g. 'January 1, 2026'). Defaults to today.
due_datestring
Payment due date
from_addressstring
Sender's address (use \n for line breaks)
from_emailstring
Sender's email address
from_namestring
Sender's name or business name
from_phonestring
Sender's phone number
invoice_numberstring
Invoice number (e.g. INV-001)
line_itemsarray
Line items: description, quantity, unit_price
logo_urlstring
URL of a logo image to display in the invoice header
notesstring
Additional notes shown at the bottom of the invoice
tax_percentnumber
Tax percentage to apply to subtotal (e.g. 10 for 10%)
to_addressstring
Recipient's address (use \n for line breaks)
to_emailstring
Recipient's email address
to_namestring
Recipient's name or business name

Sponsors

Configuration

DOCAPI_API_KEY*secret

Your 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!


View the full README on GitHub

Details

Repository
github.com/doc-api-llc/docapi-mcp
Category
AI & LLM Tools
Package
@docapi/mcp
Transport
STDIO
Auth
Required
Registry
MCP registry, active

Related AI & LLM Tools MCP servers

View all
1dylancourtney584 avatarSlingHookdylancourtney584/slinghook-cliInspect, debug and replay captured webhooks (Stripe, GitHub, Shopify) from your AI agent.0stars
2fieldcure avatarEssentialsfieldcure/fieldcure-mcp-essentialsEssential MCP server: HTTP, web search, downloads, Wolfram|Alpha, shell, JS, file I/O, memory.0stars
3gammell53 avatarClawworkgammell53/clawwork-mcpAI agent project management — task boards, progress tracking, and cost reporting.0stars
4garitalab5 avatarGarita MCPgaritalab5/garita-mcp-server30 security tools + the Vigia agent to audit MCP servers before you connect.0stars
5agentbase1 avatarOpenClaw Agent Instruction Registryagentbase1/mcp-serverSearch and retrieve agent instruction files: system prompts, skills, workflows, and safety filters.0stars
6j0hanz avatarCode Review Analystj0hanz/code-review-analyst-mcpGemini-powered MCP server for code review analysis.0stars