MetorialDocs

Set up Lemlist in Metorial for Claude, ChatGPT and Cursor

Share Lemlist with your team in Claude, ChatGPT and Cursor through Metorial: API key sign-in, 17 tools (10 read-only).

To give your team Lemlist in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Lemlist integration in a Metorial portal, and each person connects with an API key. Agents can manage outreach campaigns and their leads, inspect campaign sequences and statistics, read activity history and team credits, discover database filters and search for people, and manage current variable or contact opt-outs. The integration has 17 tools, 10 read-only, 1 write and 6 destructive, plus 1 trigger.

What you'll learn

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

Before you start

Sign-in method

MethodTypeWhat a person provides
API KeyAPI tokentoken

API Key

To connect, a person enters:

  • token: Your Lemlist API key. Found in Settings > Integrations in the Lemlist app.

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

Choose who gets it

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

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

Employee: connect Lemlist

In the portal

Open Lemlist in the catalog

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

catalog search prints the catalog item ID.

Add it to your AI client

metorial install adds your Lemlist 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 lemlist
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 10 read-only tools, such as get_lead and get_campaign, and lose the write tool create_campaign, and the 6 destructive tools, such as delete_lead or update_lead.

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

metorial tools lists the 17 tools, minus any you rejected. get_team_info takes no input. It identifies the team authenticated by this API key and retrieve its member IDs, creation metadata and available credit balance.

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

Tools

Read-only tools (10)

  • list_campaigns: Retrieve a list of outreach campaigns.
  • list_campaign_leads: Retrieve the list of leads enrolled in a specific campaign. Needs campaignId.
  • get_campaign_stats: Retrieve detailed performance statistics for a campaign within a date range. Needs campaignId, startDate and endDate.
  • get_lead: Look up a lead by email address across all campaigns. Needs email.
  • get_activities: Retrieve activity logs for campaigns and leads.
  • get_campaign: Retrieve detailed information about a specific campaign including its configuration, sequence, schedule, senders, and error state. Needs campaignId.
  • search_people_database: Search the Lemlist people database to find prospects by criteria such as job title, company, location, industry, and technologies.
  • get_team_info: Identify the team authenticated by this API key and retrieve its member IDs, creation metadata and available credit balance.
  • get_campaign_sequences: Read the main and conditional sequences of a campaign, including step IDs, ordering, delays in days, message content and branch sub-sequence IDs.
  • get_database_filters: Discover valid database filter IDs, meanings, input types, accepted values and numeric ranges before searching for people.

Write tools (1)

  • create_campaign: Create an outreach campaign with an empty sequence and a default schedule. Needs name.

Destructive tools (6)

  • delete_lead: Unsubscribe a lead from its campaign by default, or permanently remove that campaign lead when permanentlyDelete is true. Needs campaignId and leadId.
  • add_lead_to_campaign: Add a new lead to a specific campaign. Needs campaignId.
  • update_campaign: Update settings for an existing campaign. Needs campaignId.
  • manage_unsubscribes: DEPRECATED — use `manage_subscriptions` instead. Needs action.
  • update_lead: Update a lead's information within a campaign. Needs campaignId and leadId.
  • manage_subscriptions: Check, add or remove current multichannel opt-outs, or list unsubscribed variables.

Triggers

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

  • activity_event: Triggers when an activity event occurs in Lemlist, including email events (sent, opened, clicked, replied, bounced), LinkedIn events (invite sent, replied), phone events, campaign lifecycle events, and enrichment events.

Next steps