MetorialDocs

Set up DocRaptor in Metorial for Claude, ChatGPT and Cursor

Share DocRaptor with your team in Claude, ChatGPT and Cursor through Metorial: API key sign-in, 8 tools (3 read-only).

To give your team DocRaptor in Claude, ChatGPT, Cursor and other AI clients, an admin shares the DocRaptor integration in a Metorial portal, and each person connects with an API key. Agents can convert HTML, CSS, and JavaScript content into PDF and Excel (XLS/XLSX) documents. The integration has 8 tools, 3 read-only, 4 write and 1 destructive, plus 1 trigger.

What you'll learn

  • How an admin shares DocRaptor in a portal and how each person connects
  • What DocRaptor asks for when you connect, and where to find it
  • How to keep the 3 read-only tools and reject the other 5

Before you start

Sign-in method

MethodTypeWhat a person provides
API KeyAPI tokenapiKey

API Key

To connect, a person enters:

  • apiKey: Your DocRaptor API key, found on your account dashboard

Setup settings

Setup also asks for:

  • testMode (optional): When enabled, all documents are created in test mode (watermarked PDFs, limited Excel). Test documents do not count against monthly limits.

Admin: share DocRaptor in a portal

In the dashboard

Open Shared Resources

Open Workforce, choose the portal, and select Shared Resources under Access.

Share a new integration

Select Share a Resource, then New Integration, and choose DocRaptor. For how members connect, choose Each person connects so everyone enters their own API key, or Shared connection to enter one API key for everyone.

Limit the tools

Under Tool Filters, set the write and destructive groups to Reject if agents should only read from DocRaptor.

Choose who gets it

Add the access groups that should see DocRaptor. When a person asks for access from the portal, the request appears under Access Requests.

With the CLI

The CLI cannot create the per-user DocRaptor integration. Once it exists, check which groups have it:

metorial-admin portals access list <portal-id> --type provider_template --search docraptor

Employee: connect DocRaptor

In the portal

Open DocRaptor in the catalog

Sign in to your portal and open DocRaptor. The status reads Available.

Authenticate

Under Quick setup, select Authenticate. In the setup window, enter your API key (apiKey).

Confirm

The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.

With the CLI

metorial catalog search docraptor
metorial setup <catalog-item-id>

catalog search prints the catalog item ID.

Add it to your AI client

metorial install adds your DocRaptor connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.

metorial list docraptor
metorial client list
metorial install <client-identifier> <integration-id>

For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.

Make it read-only

Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 3 read-only tools, such as list_ips and list_documents, and lose the 4 write tools, such as create_document or create_async_document, and the destructive tool expire_hosted_document.

Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.

Check it worked

metorial list docraptor
metorial tools <integration-id>
metorial call <integration-id> list_ips -d '{}'

metorial tools lists the 8 tools, minus any you rejected. list_ips takes no input.

To see every input a tool takes, run metorial schema <integration-id> <tool-key>.

Tools

Read-only tools (3)

  • list_ips: Retrieves the current list of IP addresses used by DocRaptor to download external assets (CSS, images, etc.) during document conversion.
  • list_documents: Retrieves a paginated list of previously created documents with their metadata, including name, creation date, and test mode status.
  • check_async_status: Checks the status of an asynchronously created document. Needs statusId.

Write tools (4)

  • create_document: Synchronously converts HTML/CSS/JavaScript content into a PDF or Excel (XLS/XLSX) document. Needs documentType.
  • create_async_document: Queues a document for asynchronous background creation with an extended 600-second timeout. Needs documentType.
  • create_hosted_document: Converts HTML content into a document and publishes it at a publicly accessible, unbranded URL. Needs documentType.
  • create_hosted_async_document: Queues a large or complex document for asynchronous creation and public hosting.

Destructive tools (1)

  • expire_hosted_document: Manually expires a hosted document, making it immediately inaccessible at its public URL. Needs downloadId.

Triggers

DocRaptor has 1 trigger, which fire on events in DocRaptor:

  • inbound_webhook

Next steps