MetorialDocs

Set up Oksign in Metorial for Claude, ChatGPT and Cursor

Share Oksign with your team in Claude, ChatGPT and Cursor through Metorial: OKSign API key sign-in, 27 tools (14 read-only).

To give your team Oksign in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Oksign integration in a Metorial portal, and each person connects with an OKSign API key. Agents can upload PDF or Word documents, define signature and form fields, and collect legally binding electronic signatures via eID, itsme, SMS, Smart-ID, or pen/scribble. The integration has 27 tools, 14 read-only, 8 write and 5 destructive, plus 3 triggers.

What you'll learn

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

Before you start

Sign-in method

MethodTypeWhat a person provides
OKSign API KeyCustom credentialsaccountNumber, authToken and orgToken

OKSign API Key

To connect, a person enters these values:

  • accountNumber: Your OKSign account number
  • authToken: UUID-style authentication token generated in your OKSign account
  • orgToken: Organizational token label (e.g. marketing, sales)

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

Limit the tools

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

Choose who gets it

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

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

Employee: connect Oksign

In the portal

Open Oksign in the catalog

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

Authenticate

Under Quick setup, select Authenticate. In the setup window, enter your OKSign API key (accountNumber, authToken and orgToken).

Confirm

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

With the CLI

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

catalog search prints the catalog item ID.

Add it to your AI client

metorial install adds your Oksign 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 oksign
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 14 read-only tools, such as get_briefcase and list_contacts, and lose the 8 write tools, such as configure_form or upload_document, and the 5 destructive tools, such as remove_contact or remove_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 oksign
metorial tools <integration-id>
metorial call <integration-id> list_contacts -d '{}'

metorial tools lists the 27 tools, minus any you rejected. list_contacts takes no input. It retrieves all contacts from your OKSign account.

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

Tools

Read-only tools (14)

  • get_account_info: Retrieve OKSign account information including credit balance, team members, and email templates.
  • get_form_descriptor: Retrieve the form descriptor (field configuration) for a document. Needs documentId.
  • list_contacts: Retrieve all contacts from your OKSign account.
  • check_document: Check if a document exists on the OKSign platform and retrieve its basic info including filename and whether it's a reusable template. Needs documentId.
  • get_editor_express: Retrieve configuration and details of an existing EditorExpress session. Needs editorExpressTokenId.
  • get_sign_express: Retrieve configuration and details of an existing SignExpress session. Needs signExpressTokenId.
  • get_document_metadata: Retrieve detailed metadata from a signed document, including signature details (who signed, when, authentication method), form field values, and document status. Needs signedDocumentId.
  • list_active_documents: Retrieve a list of documents that are currently active (pending signatures) on the OKSign platform.
  • get_linked_documents: Look up linked source and signed document ID pairs. Needs documentId.
  • get_briefcase: Retrieve configuration and details of an existing briefcase (document bundle). Needs briefcaseId.
  • get_audit_trail: Retrieve a downloadable PDF audit trail report for a source or signed document. Needs signedDocumentId.
  • calculate_signer_id: Calculate an OKSign signer ID from a person's name and email. Needs name and email.
  • download_document: Prepare a source or signed document as a downloadable PDF.
  • list_signed_documents: List signing events in a time range for documents uploaded through the API.

Write tools (8)

  • upsert_contacts: Add or update contacts in your OKSign account. Needs contacts.
  • send_notification: Send email and/or SMS notifications to signers informing them a document is ready for signing. Needs documentId.
  • create_editor_express: Launch an embedded OKSign document editor that allows users to interactively add and position signature and form fields on a document. Needs documentId.
  • create_sign_express: Create an embedded "Sign now" signing flow for face-to-face signing scenarios. Needs documentIds and signerId.
  • configure_form: Define signature and form fields on an uploaded document, configure signers, and receive signing URLs. Needs documentId, fields and signers.
  • create_briefcase: Bundle multiple documents together so signers can sign all of them using a single signing link. Needs documentIds.
  • update_token_config: Replace the callback URL, return URL, and webhook URL linked to the current organizational token (API key).
  • upload_document: Upload a PDF or Word document to OKSign for signing. Needs fileContentBase64, filename and contentType.

Destructive tools (5)

  • remove_sign_express: Delete a SignExpress session from the OKSign platform, invalidating its signing URL. Needs signExpressTokenId.
  • remove_editor_express: Delete an EditorExpress session from the OKSign platform. Needs editorExpressTokenId.
  • remove_contact: Remove a contact from your OKSign account by their exact name and email. Needs contactId.
  • remove_briefcase: Delete a briefcase (document bundle) from the OKSign platform. Needs briefcaseId.
  • remove_document: Remove a document from the OKSign platform. Needs documentId.

Triggers

Oksign has 3 triggers, which fire on events in Oksign:

  • document_signed: Triggers when a document is signed on OKSign.
  • inbound_webhook
  • notification_error: Triggers when an email or SMS notification fails to deliver.

Next steps