MetorialDocs

Set up Mailercloud in Metorial for Claude, ChatGPT and Cursor

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

To give your team Mailercloud in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Mailercloud integration in a Metorial portal, and each person connects with an API key. Agents can create and send email marketing campaigns and transactional emails. The integration has 13 tools, 6 read-only, 4 write and 3 destructive, plus 1 trigger.

What you'll learn

  • How an admin shares Mailercloud in a portal and how each person connects
  • What Mailercloud asks for when you connect, and where to find it
  • How to keep the 6 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 Mailercloud API key. Found under Account > Integrations > API Keys.

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

Choose who gets it

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

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

Employee: connect Mailercloud

In the portal

Open Mailercloud in the catalog

Sign in to your portal and open Mailercloud. 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 mailercloud
metorial setup <catalog-item-id>

catalog search prints the catalog item ID.

Add it to your AI client

metorial install adds your Mailercloud 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 mailercloud
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 6 read-only tools, such as get_contact and search_lists, and lose the 4 write tools, such as create_list or create_contact, and the 3 destructive tools, such as manage_webhook or update_contact.

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

metorial tools lists the 13 tools, minus any you rejected. get_account_plan takes no input. It retrieves account and subscription plan information from your Mailercloud account.

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

Tools

Read-only tools (6)

  • list_properties: Retrieve a page of contact properties (both standard and custom) from your Mailercloud account.
  • get_account_plan: Retrieve account and subscription plan information from your Mailercloud account.
  • search_lists: Search and retrieve contact lists from your Mailercloud account.
  • search_contacts: Search and retrieve contacts from a specific list in your Mailercloud account. Needs listId.
  • search_campaigns: Search email campaigns by name or status.
  • get_contact: Retrieve a contact by ID, including its standard and custom fields.

Write tools (4)

  • create_campaign: Create a new email campaign in your Mailercloud account. Needs name, subject, fromName and fromEmail.
  • create_contact: Add a new contact to a specified list in your Mailercloud account. Needs email and listId.
  • create_list: Create a new contact list (recipient list) in your Mailercloud account. Needs name.
  • create_property: Create a custom contact property for text, numbers, dates, or longer text.

Destructive tools (3)

  • update_contact: Update an existing contact's information in your Mailercloud account. Needs contactId.
  • manage_property: Update or delete a custom contact property in your Mailercloud account. Needs propertyId and action.
  • manage_webhook: Create, list, or delete webhooks in your Mailercloud account. Needs action.

Triggers

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

  • email_event: Triggers when an email event occurs, such as send, open, click, fail, spam, unsubscribe, or bounce.

Next steps