MetorialDocs

Set up DocuSign in Metorial for Claude, ChatGPT and Cursor

Share DocuSign with your team in Claude, ChatGPT and Cursor through Metorial: OAuth sign-in, 13 tools (8 read-only).

To give your team DocuSign in Claude, ChatGPT, Cursor and other AI clients, an admin shares the DocuSign integration in a Metorial portal, and each person signs in to DocuSign with their own account. Agents can send, sign, and manage documents and agreements electronically. The integration has 13 tools, 8 read-only, 3 write and 2 destructive, plus 1 trigger.

What you'll learn

  • How an admin shares DocuSign in a portal and how each person connects
  • The 9 OAuth scopes DocuSign can request, and what each one allows
  • How to keep the 8 read-only tools and reject the other 5

Before you start

Sign-in methods

MethodTypeWhat a person provides
Production (default)OAuthSigns in to DocuSign
DemoOAuthSigns in to DocuSign

The portal and metorial setup use Production unless someone picks another method.

Production

People sign in to DocuSign and approve the scopes you allow. The integration can request:

ScopeNameWhat it allows
signatureSignatureAccess to the eSignature REST API for sending, signing, and managing envelopes
extendedExtendedExtends refresh token lifetime for long-lived integrations
openidOpenIDOpenID Connect profile access for user information
click.manageClick ManageManage clickwrap agreements via the Click API
click.sendClick SendSend clickwrap agreements via the Click API
organization_readOrganization ReadRead organization and admin data via the Admin API
rooms_readRooms ReadRead access to Rooms API for real estate transactions
rooms_writeRooms WriteWrite access to Rooms API for real estate transactions
impersonationImpersonationRequired for JWT Grant to act on behalf of a user

Demo

It requests the same scopes as Production.

Use your own DocuSign OAuth app

With your own OAuth app, people see your company's name on the DocuSign consent screen, and the client ID and secret belong to you.

Start the credentials in Metorial

In the dashboard, select Settings, then Organization Settings. Under Integrations and MCP, select Provider Auth, then Create Auth Credentials. Choose DocuSign and copy the Redirect URI.

Register the app with DocuSign

Create an OAuth app or client in DocuSign and add the redirect URI from Metorial as its redirect or callback URL. The vendor documents this in OAuth documentation.

Finish in Metorial

Copy the app's client ID and client secret. Back in Metorial, enter a Name, the Client ID and the Client Secret, review Scopes, and select Create. Then pick these credentials for the DocuSign integration.

Admin: share DocuSign 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 DocuSign. Under Auth Method, keep Production or pick another. For how members connect, choose Each person connects, so everyone signs in to DocuSign as themselves.

Limit the tools

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

Choose who gets it

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

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

Employee: connect DocuSign

In the portal

Open DocuSign in the catalog

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

Authenticate

Under Quick setup, select Authenticate. A DocuSign sign-in tab opens. Sign in and approve the permissions listed.

Confirm

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

With the CLI

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

catalog search prints the catalog item ID. metorial setup uses Production. To connect with Demo instead, find its ID with metorial catalog get <catalog-item-id> and add --auth-method <auth-method-id>.

Add it to your AI client

metorial install adds your DocuSign 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 docusign
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 8 read-only tools, such as get_envelope and get_template, and lose the 3 write tools, such as send_envelope or create_sender_view, and the 2 destructive tools, such as void_envelope or delete_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 docusign
metorial tools <integration-id>
metorial call <integration-id> list_envelopes -d '{}'

metorial tools lists the 13 tools, minus any you rejected. list_envelopes takes no input.

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

Tools

Read-only tools (8)

  • create_embedded_signing_url: Generates a URL for embedded signing, allowing a recipient to sign documents directly within your application. Needs envelopeId, email, userName, clientUserId and returnUrl.
  • list_envelopes: Searches and lists DocuSign envelopes with flexible filtering by date range, status, text, and more.
  • get_envelope_recipients: Retrieves all recipients for a DocuSign envelope, including their status, signing order, and optionally their tab (form field) data. Needs envelopeId.
  • list_templates: Lists and searches DocuSign templates available in the account.
  • download_document: Downloads a document from a DocuSign envelope as an attachment. Needs envelopeId.
  • get_envelope: Retrieves detailed information about a specific DocuSign envelope, including its status, sender, recipients, and documents. Needs envelopeId.
  • get_template: Retrieves the definition of a DocuSign template, including its subject, documents, and placeholder recipient roles for envelope creation. Needs templateId.
  • get_envelope_audit_events: Retrieves DocuSign audit events for a specific envelope, including envelope lifecycle and recipient activity records used for compliance review. Needs envelopeId.

Write tools (3)

  • send_envelope: Creates and sends a DocuSign envelope with documents for electronic signature. Needs emailSubject, documents and signers.
  • send_envelope_from_template: Creates and sends a DocuSign envelope using a pre-existing template. Needs templateId and templateRoles.
  • create_sender_view: Generates a URL for the embedded DocuSign sender view, allowing a user to prepare, tag, and send a draft envelope in your application. Needs envelopeId and returnUrl.

Destructive tools (2)

  • void_envelope: Voids (cancels) a DocuSign envelope that has been sent but not yet completed. Needs envelopeId and voidedReason.
  • delete_envelope: Moves a DocuSign envelope to Deleted Items by moving it from its current folder to the recyclebin folder. Needs envelopeId.

Triggers

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

  • envelope_events: Triggers when DocuSign envelope or recipient status changes.

Next steps