DocRaptor for AI agents

DocRaptor converts HTML into PDF and Excel files through an API, letting applications generate print-ready documents from web content such as invoices, reports, and statements. Connect it once through Arc0, and your agent, or Claude, ChatGPT and Cursor, can use it through one MCP endpoint, limited to what each user approved.

Developer toolsAPI keyMCP + RESTdocraptor.com
AUDIT LOG · DOCRAPTORPOLICY: acme-support
09:41:07 · claude · u_8f2read
docraptor.list_ips_json
List IPs (JSON)✓ allowed · 212ms
09:41:08 · claude · u_8f2read
docraptor.get_async_doc
Download Async Document✓ allowed · 164ms
09:41:09 · claude · u_8f2write
docraptor.create_doc
Create Document✓ approved · approved by user
EVERY DOCRAPTOR CALL, ON THE RECORD
01 · USE CASES

What agents do in DocRaptor.

01

Generate a PDF from HTML

Create a document from an HTML template so an invoice or report can be emailed as a PDF.

02

Check an async document's status

Poll the status of an asynchronously generated document before notifying the requester it is ready.

03

Review recent documents generated

List recently generated documents as a read-only check when tracing down a rendering issue.

02 · ACTIONS

10 DocRaptor actions, graded by risk.

Every DocRaptor action is tagged read, write or destructive, so one policy covers the whole app and new actions inherit the right default.

read

6

Look things up. Allowed by default.

  • docraptor.get_async_doc
    Download Async Document
  • docraptor.list_ips_json
    List IPs (JSON)
  • docraptor.list_ips_text
    List IPs (Text)
  • docraptor.list_documents_xml
    List Documents (XML)
  • docraptor.list_documents_json
    List Documents (JSON)
  • docraptor.get_async_doc_status
    Get Async Document Status

write

4

Create and change things. Allow, or ask the user first.

  • docraptor.create_doc
    Create Document
  • docraptor.create_async_doc
    Create Async Document
  • docraptor.create_hosted_async_doc
    Create Hosted Async Document
  • docraptor.create_document_from_referrer
    Create Document from Referrer

destructive

0

Delete, cancel or archive. Ask first, or deny outright.

  • No destructive actions.
03 · HOW IT WORKS

DocRaptor in three steps.

  1. 01Your users connect DocRaptorThey add their DocRaptor api key on Arc0 Connect, under your brand. It goes straight into the vault.
  2. 02You set the rulesReads run, and writes like “create Document” can wait for the user to approve.
  3. 03Any agent can actYour agent calls DocRaptor through the Arc0 SDK or MCP, and so can Claude, ChatGPT and Cursor. Every call lands on the audit log.
POLICY.TS
await arc0.policies.set('docraptor', {
  read: 'allow',
  write: 'ask',        // create_doc
  destructive: 'deny',  
})

# Claude Code: the same connection, one URL
$ claude mcp add --transport http arc0 \
    https://mcp.arc0.ai/u/u_8f2
04 · AUTH AND DATA

How DocRaptor connects.

Users add their DocRaptor api key on Arc0 Connect. It is encrypted in the vault, never shown to the model, and each user can rotate or revoke it at any time.

The same DocRaptor connection serves your agent over MCP and your own backend over REST and the proxy, so a user connects once. How Arc0 handles credentials →

AUTH
API key
CREDENTIALS
Per-tenant encrypted vault
MODEL SEES
Results only, never credentials
AUDIT LOG
Every call, on every plan
05 · WORKS WITH

Use DocRaptor from any agent.

Claude
ChatGPT
Cursor
Codex
VS Code
OpenAI Agents SDK
Claude Agent SDK
Vercel AI SDK
Mastra
LangGraph
07 · FAQ

DocRaptor and Arc0, answered.

Q01

Can I use DocRaptor with Claude, ChatGPT or Cursor?

Yes. Connect DocRaptor to Arc0 once, then add your Arc0 MCP URL to Claude, ChatGPT, Cursor, Claude Code or any other remote-MCP client. Each assistant only gets the DocRaptor actions you allow.

Q02

How do users connect DocRaptor?

Users add their DocRaptor api key on Arc0 Connect. It is encrypted in the vault, never shown to the model, and each user can rotate or revoke it at any time.

Q03

Which DocRaptor actions can my agent take?

10 in total: 6 read, 4 write and 0 destructive, such as “create Document”. Your policies decide which of them each agent may call.

Q04

Can I make my agent read-only in DocRaptor?

Yes. Allow read actions and deny writes in the DocRaptor policy. Your agent can still look things up, and any write it attempts is blocked and logged.

Q05

Can my own backend call DocRaptor too?

Yes. The same DocRaptor connection is available over REST and through the Arc0 proxy, so your product and your agent share one connection per user.

Get started

Plug DocRaptor into your agent.

Your users connect DocRaptor once, under your brand. Your agent gets 10 actions behind your policies, with every call on the record.

Free to build · MCP + REST · Audit log on every plan