Connect Docraptor to Claude, ChatGPT, Cursor, Claude Code, Codex, Gemini, GitHub Copilot and any other MCP client, for your whole team. Metorial adds security, governance, and tracing, and gives everyone one Magic MCP URL to connect.
Ask your agent in plain language. Each of these maps to a real tool on the server.
Use the create document tool in Docraptor
Use the list ip addresses tool in Docraptor
Use the list documents tool in Docraptor
Use the create async document tool in Docraptor
Use the create hosted document tool in Docraptor
Use the expire hosted document tool in Docraptor
Supported Tools
create_document
Create Document
Synchronously converts HTML/CSS/JavaScript content into a PDF or Excel (XLS/XLSX) document. Returns the generated document as a downloadable file. Content can be provided as inline HTML or by referencing a URL. For large or complex documents that may take longer than 60 seconds, use asynchronous document creation instead.
list_ips
List IP Addresses
Retrieves the current list of IP addresses used by DocRaptor to download external assets (CSS, images, etc.) during document conversion. Useful for configuring firewall whitelisting rules. Note that these IPs may change over time without notice.
list_documents
List Documents
Retrieves a paginated list of previously created documents with their metadata, including name, creation date, and test mode status. Results are ordered by creation date (most recent first). Note that DocRaptor does not store the actual generated documents — only metadata is returned.
create_async_document
Create Async Document
Queues a document for asynchronous background creation with an extended 600-second timeout. Returns a status ID that can be used to poll for completion. Ideal for large or complex documents that may exceed the 60-second synchronous timeout. Optionally accepts a callback URL to receive a POST notification when the document is ready.
create_hosted_document
Create Hosted Document
Converts HTML content into a document and publishes it at a publicly accessible, unbranded URL. The hosted document can be shared without requiring authentication. Supports configurable download limits and expiration dates. Useful for generating shareable reports, invoices, or other documents.
expire_hosted_document
Expire Hosted Document
Manually expires a hosted document, making it immediately inaccessible at its public URL. Use this to revoke access to a previously hosted document before its scheduled expiration date or download limit is reached.
check_async_status
Check Async Document Status
Checks the status of an asynchronously created document. Returns the current processing status and, when completed, a downloadable document and its download URL. Non-hosted async documents allow up to five downloads (once with the shortest data retention setting) and expire based on account retention. Hosted async documents follow their configured download limit and expiration, with unlimited downloads and hosting by default; test hosted documents allow five downloads and expire after one day.
create_hosted_async_document
Create Hosted Async Document
Queues a large or complex document for asynchronous creation and public hosting. Returns a status ID; check_async_status returns the shareable download URL when rendering completes. Hosted documents are a paid add-on.
Enable Docraptor in Metorial. In your Metorial portal, enable the Docraptor MCP server and sign in with the account that owns the data. Access stays governed by your team policies.
Add a custom connector. Open Customize, then Connectors. Select Add, then Custom, then Web.
Paste your Metorial MCP URL. Name it Metorial, paste your Magic MCP URL (<your-magic-mcp-url>) and continue.
Sign in. Select Add and sign in to load Docraptor tools.
Enable Docraptor in Metorial. In your Metorial portal, enable the Docraptor MCP server and sign in with the account that owns the data. Access stays governed by your team policies.
Add a custom MCP server. On ChatGPT web, open Plugins, select +, then Add custom MCP server.
Paste your Metorial MCP URL. Name it Metorial, paste your Magic MCP URL (<your-magic-mcp-url>), choose OAuth and accept the risk notice.
Create and install the plugin. Select Create as a plugin, install it and sign in to load Docraptor tools.
Enable Docraptor in Metorial. In your Metorial portal, enable the Docraptor MCP server and sign in with the account that owns the data. Access stays governed by your team policies.
Add Metorial to your MCP config. Use ~/.cursor/mcp.json for every project, or .cursor/mcp.json for one.
Sign in. Open Customize in the sidebar, find Metorial and sign in to load Docraptor tools.
{
"mcpServers":{
"metorial":{
"url":"<your-magic-mcp-url>"
}
}
}
Enable Docraptor in Metorial. In your Metorial portal, enable the Docraptor MCP server and sign in with the account that owns the data. Access stays governed by your team policies.
Add the server over HTTP. Add --scope user to use it in every project.
Sign in. Run /mcp, select Metorial and sign in to load Docraptor tools.
claude mcp add --transport http metorial <your-magic-mcp-url>
Enable Docraptor in Metorial. In your Metorial portal, enable the Docraptor MCP server and sign in with the account that owns the data. Access stays governed by your team policies.
Add the server and sign in. The Codex CLI, IDE extension and ChatGPT desktop app share this config.
Check the connection. Type /mcp in Codex to see Metorial and its Docraptor tools.
codex mcp add metorial --url <your-magic-mcp-url>
codex mcp login metorial
Run Docraptor through the Metorial gateway
One governed layer for every app your agents reach, not a separate connector per tool.
Give Docraptor and every other app to your whole team through one MCP gateway, behind your SSO.
Scope which teams and agents can use Docraptor tools with role-based access control, and trace every call.
Prefer to run it yourself? Metorial is open source and self-hostable.
Convert HTML, CSS, and JavaScript content into PDF and Excel (XLS/XLSX) documents. Generate PDFs from inline HTML or URLs with advanced layout features including mixed page sizes, headers/footers, footnotes, table of contents, and page numbers. Create accessible PDFs meeting WCAG 2.0 and Section 508 standards. Convert HTML forms into PDF forms. Apply PDF security with encryption, password protection, and print/copy restrictions. Generate Excel spreadsheets from HTML/XML content. Create documents asynchronously for large or complex jobs with status polling and callback notifications. Host generated documents synchronously or asynchronously at shareable URLs with configurable download limits and expiration dates. List previously created documents and retrieve DocRaptor IP addresses for firewall whitelisting.
Frequently asked questions
Common questions about connecting Docraptor to AI agents with Metorial.
How many tools does the Docraptor MCP server have?
The Docraptor MCP server exposes 8 tools, including Create Document, List IP Addresses, List Documents. Each one is governed and traced through Metorial.
Does the Docraptor MCP server support triggers?
Docraptor exposes tools your agents call on demand; it does not publish event triggers yet. Everything still runs through one governed MCP URL.
Which AI clients can use the Docraptor MCP server?
Any MCP client, including VS Code, Windsurf, Zed, OpenCode and Grok. Each one reaches the Docraptor MCP server through the same Metorial URL.
How do I give only some teams access to Docraptor?
Use role-based access control to decide which teams, users, and agents can use Docraptor and which of its tools they can call.
Can I self-host the Docraptor MCP server?
Yes. Metorial is open source, so you can run the Docraptor MCP server yourself or use the hosted gateway.
Connect Docraptor to production AI agents
See how Metorial gives your team governed access to Docraptor, with tracing and security controls built in.