MetorialDocs

Set up EmailOctopus in Metorial for Claude, ChatGPT and Cursor

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

To give your team EmailOctopus in Claude, ChatGPT, Cursor and other AI clients, an admin shares the EmailOctopus integration in a Metorial portal, and each person connects with an API key. Agents can manage email marketing lists, contacts, campaigns, and automations. The integration has 18 tools, 7 read-only and 11 destructive, plus 1 trigger.

What you'll learn

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

Before you start

Sign-in method

MethodTypeWhat a person provides
API KeyAPI tokentoken

API Key

To connect, a person enters:

  • token: EmailOctopus API key. Generate one in your account settings under Integrations & APIs.

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

Choose who gets it

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

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

Employee: connect EmailOctopus

In the portal

Open EmailOctopus in the catalog

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

Authenticate

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

Confirm

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

With the CLI

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

catalog search prints the catalog item ID.

Add it to your AI client

metorial install adds your EmailOctopus 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 emailoctopus
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_list and list_lists, and lose the 11 destructive tools, such as create_list or delete_list.

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

metorial tools lists the 18 tools, minus any you rejected. list_lists takes no input. It retrieves all contact lists in the account.

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

Tools

Read-only tools (7)

  • get_campaign: Retrieve details of a specific campaign including status, subject, sender info, target lists, and HTML content. Needs campaignId.
  • list_campaigns: Retrieve all email campaigns.
  • get_campaign_report: Retrieve performance reports for a sent campaign. Needs campaignId and reportType.
  • list_lists: Retrieve all contact lists in the account.
  • get_list: Retrieve details of a specific contact list by its ID. Needs listId.
  • get_contact: Retrieve a specific contact from a list by contact ID or MD5 hash of their lowercase email address. Needs listId and contactId.
  • list_contacts: Retrieve contacts from a list. Needs listId.

Destructive tools (11)

  • manage_fields: Create, update, or delete custom fields on a contact list. Needs listId, action and tag.
  • create_contact: Add a new contact to a list with an email address, optional custom field values, tags, and subscription status. Needs listId and emailAddress.
  • batch_update_contacts: Update multiple contacts in a single request. Needs listId and contacts.
  • delete_contact: Permanently remove a contact from a list. Needs listId and contactId.
  • update_list: Update an existing contact list's name. Needs listId and name.
  • trigger_automation: Start an automation sequence for a specific contact. Needs automationId and contactId.
  • upsert_contact: Create a contact if it doesn't exist, or update it if it does (matched by email address). Needs listId and emailAddress.
  • manage_tags: Create, rename, delete, or list tags on a contact list. Needs listId and action.
  • delete_list: Permanently delete a contact list and all its contacts, custom fields, and tags. Needs listId.
  • update_contact: Update an existing contact's email address, custom field values, tags, or subscription status. Needs listId and contactId.
  • create_list: Create a new contact list. Needs name.

Triggers

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

  • contact_event: Fires when a contact is created, updated, deleted, bounced, clicked, complained, opened, or unsubscribed.

Next steps