MetorialDocs

Set up Spondyr in Metorial for Claude, ChatGPT and Cursor

Share Spondyr with your team in Claude, ChatGPT and Cursor through Metorial: API key & application token sign-in, 7 tools (4 read-only).

To give your team Spondyr in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Spondyr integration in a Metorial portal, and each person connects with an API key & application token. Agents can generate template-driven correspondence and deliver it across multiple channels including email, internet fax, U.S. postal mail, SMS, and batch file download. The integration has 7 tools, 4 read-only and 3 write, plus 2 triggers.

What you'll learn

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

Before you start

Sign-in method

MethodTypeWhat a person provides
API Key & Application TokenCustom credentialsapiKey and applicationToken

API Key & Application Token

To connect, a person enters these values:

  • apiKey: Your Spondyr API Key, found in the Spondyr dashboard
  • applicationToken: Your Spondyr Application Token, found in the Spondyr dashboard

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

Limit the tools

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

Choose who gets it

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

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

Employee: connect Spondyr

In the portal

Open Spondyr in the catalog

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

Authenticate

Under Quick setup, select Authenticate. In the setup window, enter your API key & application token (apiKey and applicationToken).

Confirm

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

With the CLI

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

catalog search prints the catalog item ID.

Add it to your AI client

metorial install adds your Spondyr 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 spondyr
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 list_templates and get_batch_status, and lose the 3 write tools, such as create_correspondence or deliver_correspondence.

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

metorial tools lists the 7 tools, minus any you rejected. list_transaction_types takes no input. It lists available transaction types and their associated event types configured in your Spondyr application.

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

Tools

Read-only tools (4)

  • get_correspondence_status: Check the processing and delivery status of a previously submitted correspondence request. Needs referenceId.
  • list_transaction_types: List available transaction types and their associated event types configured in your Spondyr application.
  • list_templates: List templates configured for a transaction type, including their event type, content type, recipients, conditions, and search filters.
  • get_batch_status: Check correspondence batch progress, processing totals, and item errors.

Write tools (3)

  • create_correspondence: Generate and optionally deliver correspondence through Spondyr. Needs transactionType, eventType and transactionData.
  • deliver_correspondence: Trigger delivery of a previously generated correspondence that was created with the **generateOnly** flag set to `true`. Needs referenceId.
  • create_correspondence_batch: Generate and optionally deliver multiple correspondence requests for one event type.

Triggers

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

  • correspondence_processed: Emits an event when a tracked correspondence has been processed successfully.
  • inbound_webhook

Next steps