MetorialDocs

Set up Mailsoftly in Metorial for Claude, ChatGPT and Cursor

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

To give your team Mailsoftly in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Mailsoftly integration in a Metorial portal, and each person connects with an API key. Agents can create, manage, and search contacts for email marketing campaigns. The integration has 14 tools, 7 read-only, 6 write and 1 destructive, plus 1 trigger.

What you'll learn

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

Before you start

Sign-in method

MethodTypeWhat a person provides
API KeyAPI tokenapiKey

API Key

To connect, a person enters:

  • apiKey: Your Mailsoftly API key. Found in your Mailsoftly account settings.

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

Choose who gets it

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

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

Employee: connect Mailsoftly

In the portal

Open Mailsoftly in the catalog

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

Authenticate

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

Confirm

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

With the CLI

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

catalog search prints the catalog item ID.

Add it to your AI client

metorial install adds your Mailsoftly 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 mailsoftly
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 7 read-only tools, such as get_contacts and list_senders, and lose the 6 write tools, such as manage_tags or manage_contact_lists, and the destructive tool send_email.

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

metorial tools lists the 14 tools, minus any you rejected. get_contacts takes no input.

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

Tools

Read-only tools (7)

  • get_email_campaigns: Retrieves a page of email campaigns for the firm, or checks the status of a specific email draft by its ID. - Omit **emailId** to list a page of email campaigns; use hasMore to continue. - Provide an **emailId** to fetch the status and readiness of a specific email draft.
  • get_contacts: Retrieves contacts from Mailsoftly.
  • search_contacts: Searches contacts in Mailsoftly by exact email, first name, or last name.
  • get_contact_fields: Retrieves all available contact fields for the firm, including standard and custom fields.
  • get_current_account: Identifies the connected Mailsoftly account and retrieves its plan limits, sending channels, and any sending restrictions.
  • get_campaign_statistics: Retrieves delivery and engagement counts and rates for a campaign, including opens, clicks, bounces, unsubscribes, and complaints.
  • list_senders: Lists the account's available campaign sender addresses and default sender.

Write tools (6)

  • create_email_campaign: Creates a new email campaign draft in Mailsoftly. Needs subject.
  • manage_contact_list_members: Add contacts to a contact list or retrieve a page of contacts in a list. - Provide **contactListId** alone to retrieve a page of contacts in that list; use hasMore to continue. - Provide **contactId** to add a single existing contact to the list. - Provide **contacts** array to add one or more contacts in bulk (contacts will be created if they don't exist). Needs contactListId.
  • add_custom_field_to_contact: Adds a custom field with a value to an existing contact. Needs contactId, fieldName and fieldValue.
  • create_or_update_contact: Creates a new contact or updates an existing one in Mailsoftly. Needs email.
  • manage_contact_lists: Create, retrieve, or list contact lists in Mailsoftly.
  • manage_tags: Retrieve all tags for the firm or assign tags to a contact. - Omit **contactId** to list all available tags. - Provide **contactId** with a single tag (**tagId** or **tagName**) to assign one tag. - Provide **contactId** with a **tagsToAssign** array to assign multiple tags at once.

Destructive tools (1)

  • send_email: Sends an existing email draft in Mailsoftly. Needs emailId.

Triggers

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

  • inbound_webhook

Next steps