MetorialDocs

Set up Docupilot in Metorial for Claude, ChatGPT and Cursor

Share Docupilot with your team in Claude, ChatGPT and Cursor through Metorial: API key + secret sign-in, 22 tools (10 read-only).

To give your team Docupilot in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Docupilot integration in a Metorial portal, and each person connects with an API key + secret. Agents can automate document generation from templates by merging dynamic data into merge fields. The integration has 22 tools, 10 read-only, 8 write and 4 destructive, plus 2 triggers.

What you'll learn

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

Before you start

Sign-in method

MethodTypeWhat a person provides
API Key + SecretCustom credentialsapiKey, apiSecret and workspaceId

API Key + Secret

To connect, a person enters these values:

  • apiKey: API Key generated from Settings > API Settings
  • apiSecret: API Secret provided at key creation time
  • workspaceId: Workspace ID found on the Workspace details page in Settings

Admin: share Docupilot 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 Docupilot. For how members connect, choose Each person connects so everyone enters their own API key + secret, or Shared connection to enter one API key + secret for everyone.

Limit the tools

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

Choose who gets it

Add the access groups that should see Docupilot. 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 Docupilot integration. Once it exists, check which groups have it:

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

Employee: connect Docupilot

In the portal

Open Docupilot in the catalog

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

Authenticate

Under Quick setup, select Authenticate. In the setup window, enter your API key + secret (apiKey, apiSecret and workspaceId).

Confirm

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

With the CLI

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

catalog search prints the catalog item ID.

Add it to your AI client

metorial install adds your Docupilot 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 docupilot
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 10 read-only tools, such as get_delivery and get_template, and lose the 8 write tools, such as copy_template or create_folder, and the 4 destructive tools, such as delete_folder or cancel_envelope.

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 docupilot
metorial tools <integration-id>
metorial call <integration-id> list_folders -d '{}'

metorial tools lists the 22 tools, minus any you rejected. list_folders takes no input. It lists all template folders in your workspace.

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

Tools

Read-only tools (10)

  • list_content_blocks: List reusable content blocks from the content library.
  • get_envelope_details: Get detailed information about an eSignature envelope, including recipients, document details, and activity history. Needs envelopeId.
  • list_deliveries: List all delivery configurations for a template. Needs templateId.
  • get_delivery: Get the full configuration details of a specific delivery for a template. Needs templateId and deliveryId.
  • list_merge_history: List the history of generated documents (merge history).
  • get_template: Retrieve detailed information about a specific template including its merge field schema (tokens). Needs templateId.
  • list_envelopes: List eSignature envelopes.
  • list_templates: List document templates in your Docupilot workspace.
  • list_folders: List all template folders in your workspace.
  • get_current_user: Retrieve the user identity associated with the connected Docupilot API credentials.

Write tools (8)

  • generate_document: Generate a document from a template by merging data into it. Needs templateId and mergeData.
  • copy_template: Create a duplicate of an existing template. Needs templateId.
  • update_template: Update a template's metadata such as title, description, status, folder, or output preferences. Needs templateId.
  • create_template: Create a new document template in Docupilot. Needs title and outputType.
  • send_envelope_reminder: Send a reminder to recipients of a pending eSignature envelope, prompting them to complete signing. Needs envelopeId.
  • update_folder: Rename an existing folder. Needs folderId and name.
  • move_templates: Move one or more templates to a different folder. Needs templateIds and folderId.
  • create_folder: Create a new folder to organize templates. Needs name.

Destructive tools (4)

  • cancel_envelope: Void/cancel an eSignature envelope that is pending signing. Needs envelopeId.
  • delete_template: Move a template to trash. Needs templateId.
  • delete_folder: Delete a folder. Needs folderId.
  • delete_delivery: Delete a delivery configuration from a template. Needs templateId and deliveryId.

Triggers

Docupilot has 2 triggers, which fire on events in Docupilot:

  • document_generated: Triggers when a new document is generated from a template (merge history entry is created).
  • inbound_webhook

Next steps