MetorialDocs

Set up Documenso in Metorial for Claude, ChatGPT and Cursor

Share Documenso with your team in Claude, ChatGPT and Cursor through Metorial: API key sign-in, 13 tools (4 read-only).

To give your team Documenso in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Documenso integration in a Metorial portal, and each person connects with an API key. Agents can create and manage document or template envelopes, PDF files, recipients and form fields. The integration has 13 tools, 4 read-only, 5 write and 4 destructive, plus 1 trigger.

What you'll learn

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

Before you start

Sign-in method

MethodTypeWhat a person provides
API KeyAPI tokentoken

API Key

To connect, a person enters:

  • token: Documenso API key (e.g. api_xxxxxxxxxxxxxxxx)

Setup settings

Setup also asks for:

  • baseUrl (optional): Base URL for the Documenso API. Override for self-hosted instances.

Admin: share Documenso 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 Documenso. 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 Documenso.

Choose who gets it

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

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

Employee: connect Documenso

In the portal

Open Documenso in the catalog

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

Authenticate

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

Confirm

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

With the CLI

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

catalog search prints the catalog item ID.

Add it to your AI client

metorial install adds your Documenso 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 documenso
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 4 read-only tools, such as get_envelope and get_audit_log, and lose the 5 write tools, such as use_template or create_envelope, and the 4 destructive tools, such as manage_fields or manage_folders.

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

metorial tools lists the 13 tools, minus any you rejected. find_envelopes takes no input. It searches and list envelopes (documents or templates) in Documenso.

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

Tools

Read-only tools (4)

  • get_audit_log: Retrieve the audit log for an envelope, showing all actions taken (creation, sends, opens, signatures, completions, etc.). Needs envelopeId.
  • get_envelope: Retrieve detailed information about a specific envelope including its recipients, status, and metadata. Needs envelopeId.
  • find_envelopes: Search and list envelopes (documents or templates) in Documenso.
  • download_envelope_file: Download an original, completed signed, or pending PDF item, an audit-log PDF, or a signing certificate for a document envelope.

Write tools (5)

  • distribute_envelope: Send an envelope to its recipients for signing. Needs envelopeId.
  • update_envelope: Update an existing envelope's title or metadata (subject, message, signing order, redirect URL, language, etc.). Needs envelopeId.
  • create_envelope: Create a new envelope (document or template) in Documenso. Needs title.
  • use_template: Generate a new document from an existing template. Needs templateId.
  • duplicate_envelope: Create a copy of an existing envelope. Needs envelopeId.

Destructive tools (4)

  • manage_fields: Add, update, or remove signature/form fields on an envelope. Needs envelopeId.
  • manage_recipients: Add, update, or remove recipients on an envelope. Needs envelopeId.
  • delete_envelope: Delete a document or template envelope through Documenso. Needs envelopeId.
  • manage_folders: List, create, update, or delete folders for organizing documents and templates. Needs action.

Triggers

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

  • document_event: Triggers when a document lifecycle event occurs: created, sent, opened, signed, completed, rejected, or cancelled.

Next steps