Skip to main content
Glama
Arsel MCP Server

Arsel MCP Server

Official
by Arsel-SA

Arsel MCP Server

An MCP server for Arsel. It lets AI agents such as Claude Code, Cursor and Claude Desktop read your contacts, lists, campaigns, campaign results, templates and message logs, build segments, draft and send campaigns, send transactional messages, and build automations for you to turn on.

It is a thin client over the Arsel API. Every tool is one API call made as you, on the organization you connect, so the agent sees exactly what you'd see through the API.

It can send. Send tools deliver transactional email, SMS, WhatsApp and push, send or schedule campaigns, and record events that start automations. Your client asks you to approve every send, and the agent is told to show you what will go out and to whom first. It cannot turn an automation on or off; you do that from the Arsel dashboard.

Requirements

  • An Arsel account that is an admin of the organization you want to connect.

Related MCP server: douyin-lead-workbench MCP Server

Setup

Add the server by its URL. Your client opens a browser window: sign in to Arsel, pick the organization and click Allow.

Claude (claude.ai and Claude Desktop): Settings → Connectors → Add custom connector → https://mcp.arsel.sa/mcp.

Claude Code:

claude mcp add --transport http arsel https://mcp.arsel.sa/mcp

Then run /mcp and choose Authenticate.

Cursor, VS Code and other clients: add https://mcp.arsel.sa/mcp as a remote (HTTP) server.

The connection has full access to that organization. An admin can see and disconnect it in the dashboard under Integration → Connected Apps.

Headless and local setup (API key)

Where nobody can sign in in a browser (CI, servers, scripts) or to run the server on your own machine, use an API key. Create one in the dashboard under API keys.

Node.js 22 or later is needed to run the server locally.

Claude Code

claude mcp add arsel -e ARSEL_API_KEY=be_xxxxxxxx -- npx -y @arsel.sa/mcp

Cursor

Add this to ~/.cursor/mcp.json, or to .cursor/mcp.json in a project:

{
  "mcpServers": {
    "arsel": {
      "command": "npx",
      "args": ["-y", "@arsel.sa/mcp"],
      "env": { "ARSEL_API_KEY": "be_xxxxxxxx" }
    }
  }
}

Claude Desktop

Open Settings → Developer → Edit Config and add the same mcpServers entry as for Cursor.

Remote (Streamable HTTP)

Clients that support remote servers can connect over HTTP and send the key as a Bearer token. They don't need Node.

claude mcp add --transport http arsel https://mcp.arsel.sa/mcp \
  --header "Authorization: Bearer be_xxxxxxxx"
{
  "mcpServers": {
    "arsel": {
      "url": "https://mcp.arsel.sa/mcp",
      "headers": { "Authorization": "Bearer be_xxxxxxxx" }
    }
  }
}

Tools

Area

Tools

Contacts

list-contacts get-contact create-contact update-contact

Lists

list-lists get-list create-list update-list add-contacts-to-list remove-contacts-from-list

Tags

list-tags get-tag create-tag update-tag add-tag-to-contacts remove-tag-from-contacts

Segments

list-segments get-segment create-segment update-segment

Data model

list-contact-properties get-contact-property create-contact-property update-contact-property list-events get-event create-event update-event

Email campaigns

list-email-campaigns get-email-campaign create-email-campaign update-email-campaign get-email-campaign-stats

SMS campaigns

list-sms-campaigns get-sms-campaign create-sms-campaign update-sms-campaign get-sms-campaign-stats

Push campaigns

list-push-campaigns get-push-campaign create-push-campaign update-push-campaign get-push-campaign-stats

Automations

list-automations get-automation create-automation update-automation clone-automation list-automation-runs get-automation-run

In-app campaigns

list-in-app-campaigns get-in-app-campaign create-in-app-campaign update-in-app-campaign clone-in-app-campaign get-in-app-campaign-stats

Templates

list-templates get-template create-template update-template list-gallery-categories list-gallery-templates get-gallery-template copy-gallery-template

WhatsApp templates

list-whatsapp-templates get-whatsapp-template create-whatsapp-template update-whatsapp-template

Message logs

list-emails get-email list-sms-messages get-sms-message list-whatsapp-messages get-whatsapp-message list-push-notifications get-push-notification

Push devices

list-contact-push-devices get-push-device-import

Account

list-email-domains get-email-domain create-email-domain verify-email-domain list-sms-senders get-usage

Sending

send-email send-sms send-whatsapp send-push send-email-campaign send-sms-campaign send-push-campaign cancel-email-campaign cancel-sms-campaign cancel-push-campaign activate-in-app-campaign send-event

There are no delete tools. Read tools are marked read-only, so clients can run them without asking you each time. Create, update and send tools ask for your approval first. Send tools are also marked as reaching outside Arsel, and a send that fails with a timeout or server error is reported as possibly delivered, so the agent checks the message log or campaign status instead of sending again.

A few writes take effect as soon as they run, with no draft to review afterwards: update-segment changes who the campaigns and automations using that segment reach, and create-whatsapp-template and update-whatsapp-template submit the template to Meta for review. The agent is told to confirm these with you before calling them.

Security

  • One organization per connection. The API scopes every call to the organization you connected or that owns the key, and the server holds no data of its own.

  • Rate limits are the API's own limits for your organization. When one is hit, the agent is told how long to wait.

  • Remote mode keeps no sessions. Each request is handled with the credential it carries and then forgotten.

  • OAuth access tokens last 15 minutes and are tied to this server; disconnecting an app in the dashboard stops it on its next request.

  • Treat your API key like a password. Give the agent a key you can revoke from the dashboard at any time.

Running the server yourself

ARSEL_API_KEY=be_xxxxxxxx npx @arsel.sa/mcp        # stdio, for one user
npx @arsel.sa/mcp --http --port 8077               # HTTP; clients sign in with OAuth or send a key

Option

Default

--key

$ARSEL_API_KEY

API key for stdio mode

--http

off

Serve Streamable HTTP at /mcp instead of stdio

--port

$PORT or 8077

HTTP port

--host

127.0.0.1

Bind address. Use 0.0.0.0 behind a load balancer

--allowed-hosts

Comma-separated Host names to accept, e.g. mcp.example.com

--api-url

$ARSEL_API_URL or https://api.arsel.sa/v1

Arsel API base URL

--public-url

$ARSEL_MCP_PUBLIC_URL or https://mcp.arsel.sa

Public URL of this server; the OAuth token audience

--auth-server

$ARSEL_AUTH_SERVER or https://api.arsel.sa

OAuth authorization server

On 127.0.0.1 the server rejects foreign Host and Origin headers, which blocks DNS rebinding. When you bind to 0.0.0.0 behind a proxy, set --allowed-hosts. GET /health answers 200 for load-balancer checks. The repo includes a Dockerfile for this mode.

Development

npm install
npm run typecheck
npm test
npm run build
npm run inspector      # try the tools in the MCP Inspector

tests/contract.test.ts checks every tool against openapi/arsel-api.json: the operation exists, and the tool's parameters, required fields and enums match the API. npm run openapi:update refreshes the snapshot from the live API, and the test then shows any drift.

License

MIT

Available Tools

96 tools
activate-in-app-campaignActivate In-App CampaignA
Destructive

Make an in-app campaign live: devices pick it up on their next app open and show it to its audience. Call get-in-app-campaign first and tell the user its content and audience (list_ids, tag_ids, segment_ids). Before calling it, wait for their go-ahead. It stays live until the user pauses or ends it in the Arsel dashboard.

Inputs: id (required).

add-contacts-to-listAdd Contacts to ListA

Add contacts to a list, keeping their other memberships. This can start the organization's active automations, which may send messages.

Inputs: id (required), contact_ids (required).

add-tag-to-contactsTag ContactsA

Add a tag to contacts. This can start the organization's active automations, which may send messages.

Inputs: id (required), contact_ids (required).

cancel-email-campaignCancel Email CampaignA
Destructive

Cancel the email campaign if it is scheduled, queued or sending. Messages already delivered stay delivered. Confirm with the user first, naming the campaign.

Inputs: id (required).

cancel-push-campaignCancel Push CampaignA
Destructive

Cancel the push campaign if it is scheduled, queued or sending. Messages already delivered stay delivered. Confirm with the user first, naming the campaign.

Inputs: id (required).

cancel-sms-campaignCancel SMS CampaignA
Destructive

Cancel the SMS campaign if it is scheduled, queued or sending. Messages already delivered stay delivered. Confirm with the user first, naming the campaign.

Inputs: id (required).

clone-automationClone AutomationA

Copy an automation’s latest steps into a new draft named “Copy of …”.

Inputs: id (required).

clone-in-app-campaignClone In-App CampaignA

Copy an in-app campaign into a new draft, e.g. to rework a live or ended one without touching it.

Inputs: id (required).

create-automationCreate AutomationA

Create an automation as a draft: a journey each contact who matches the trigger goes through. Send steps and connections to build it, or only name for an empty draft. This server cannot enable or disable an automation: once issues is empty, the user turns it on from the Arsel dashboard. Saving steps messages nobody.

Shape. An automation is a graph. steps holds every step, the trigger included (key trigger), and connections link them by key. A step leaves by default, except a condition (condition_met, condition_not_met) and a wait_for_event (event_received, timeout). A branch with no connection ends the run. Every step must be reachable from the trigger, no connection may lead back to an earlier step, and branches that split must rejoin at one step or not at all. At most 100 steps.

Look up what the steps name before writing them. Tags from list-tags, lists from list-lists, segments from list-segments, email templates from list-templates, sending domains from list-email-domains, SMS senders from list-sms-senders, WhatsApp templates from list-whatsapp-templates, custom properties from list-contact-properties, events from list-events, campaigns from the channel's campaign list tool.

Conditions and waits take a filter in the segment rule format. To react to a message this automation sent, use a message_engagement rule with target_type: automation_step and the send step's key as target_id; that step must always run before.

Drafts may be unfinished. The automation comes back with issues, each naming a step_key and the config path still missing or wrong. Fix them with update-automation. A graph that breaks a rule of the shape above is refused and nothing is saved.

Inputs: name (required), steps, connections.

create-contactCreate ContactA

Create a contact. At least one of email, phone_number or external_id is required. Custom fields go in properties, keyed by the field keys list-contact-properties returns. This can start the organization's active automations, which may send messages.

Inputs: email, list_ids, last_name, first_name, +3 more.

create-contact-propertyCreate Contact PropertyA

Define a custom contact field. field_key and data_type cannot be changed later.

Inputs: field_key (required), display_name (required), data_type, description, +1 more.

create-email-campaignCreate Email CampaignA

Create an email campaign. Every field is optional, so a draft can be built up step by step. The audience is the union of list_ids, tag_ids and segment_ids. Find lists with list-lists, tags with list-tags and segments with list-segments. The campaign is saved as a draft; nothing goes out until it is sent with the matching send tool or from the Arsel dashboard.

Inputs: from, name, subject, tag_ids, +6 more.

create-email-domainRegister Email Sending DomainA

Register a domain to send email from and get the DNS records to publish at its DNS provider. The domain starts pending and cannot send until it is verified. This server cannot change DNS: give the user every record exactly as returned (type, name and value), saying which are required, then call verify-email-domain once they have published them. Registering a domain the organization already has returns its current state, and only one domain can be registered at a time.

Inputs: name (required).

create-eventCreate EventB

Define an event type that apps can send and automations can react to. The name cannot be changed later.

Inputs: name (required), schema, conversion, description.

create-in-app-campaignCreate In-App CampaignA

Create an in-app message campaign. The campaign is saved as a draft; nothing goes out until it is sent with the matching send tool or from the Arsel dashboard.

Inputs: name (required), layout (required), content (required), trigger (required), +11 more.

create-listCreate Contact ListC

Create an empty contact list.

Inputs: name (required), description.

create-push-campaignCreate Push CampaignA

Create a push notification campaign for the organization's app users. The audience is the union of list_ids, tag_ids and segment_ids. Find lists with list-lists, tags with list-tags and segments with list-segments. The campaign is saved as a draft; nothing goes out until it is sent with the matching send tool or from the Arsel dashboard.

Inputs: body (required), name (required), title (required), tag_ids, +14 more.

create-segmentCreate SegmentA

Create a segment: a dynamic audience defined by rules, which campaigns target through segment_ids. Its members are recomputed regularly, and again before a campaign sends to it.

Look up what the rules will name before writing them. Property keys come from list-contact-properties, event names and their fields from list-events, list and tag ids from list-lists and list-tags, and campaign ids from the channel's campaign list tool. A filter naming a property or an event field the organization has not defined is refused.

Shape. filter is a tree whose root is always a group. A group joins its conditions with and or or, and a condition is a rule or another group, so "A and (B or C)" is an and group holding A and an or group of B and C. A filter needs at least one rule and holds at most 100, in groups nested at most 10 deep.

Choosing a rule.

  • Who they are, or a custom property: attribute.

  • The lists they are in or the tags they carry: list_membership, tag.

  • Whether a channel can reach them (subscribed, deliverable): channel_status.

  • How often they engaged with messages, optionally in a recent window: engagement_count.

  • When they last engaged, or that they never did: last_engagement.

  • What they did with one specific campaign or automation: message_engagement.

  • What they did in the app, site or store: event.

Recent activity. Only engagement_count and event take a rolling time_window. Dates in attribute and last_engagement are fixed and do not move with time, so "opened an email in the last 30 days" is an engagement_count of at least 1 with a 30-day window, not a last_engagement date.

Absence. negate: true on list_membership, tag, message_engagement or event matches the contacts the rule would leave out, and last_engagement with does_not_exist matches contacts who never did the action. "Ordered before, but not in the last 90 days" is an and group of a plain event rule and the same rule with a 90-day window and negate: true.

Reaching people. A segment holds every contact its rules match, whatever their consent. Add a channel_status rule when it should hold only contacts a channel can message.

If the filter is refused, the error gives the path of each problem inside the tree (e.g. conditions.1.operator). Fix those and call again.

The segment comes back with status: processing while its members are computed in the background. Call get-segment until it is ready, then tell the user its contact_count. Creating a segment messages nobody.

Inputs: name (required), filter (required), description.

create-sms-campaignCreate SMS CampaignA

Create an SMS campaign. The audience is the union of list_ids, tag_ids and segment_ids. Find lists with list-lists, tags with list-tags and segments with list-segments. The campaign is saved as a draft; nothing goes out until it is sent with the matching send tool or from the Arsel dashboard.

Inputs: name (required), from, content, tag_ids, +3 more.

create-tagCreate TagC

Create a tag.

Inputs: name (required), description.

create-templateCreate TemplateA

Create an email template from HTML. The HTML is sanitized and an unsubscribe link is added automatically. To start from a professionally designed layout instead, use copy-gallery-template.

Inputs: html (required), name (required).

create-whatsapp-templateCreate WhatsApp TemplateA
Destructive

Create a WhatsApp template and submit it to Meta for review, in one call. WhatsApp only lets a business start a conversation with an approved template.

The template goes to Meta as written and this server cannot withdraw it, so before calling you MUST show the user the exact content and get their go-ahead. The organization needs a connected WhatsApp Business account, which is set up in the Arsel dashboard.

marketing and utility templates take components. authentication templates take authentication instead, and no components.

The template comes back pending. Review usually takes minutes and can take up to 48 hours, so check on it later with get-whatsapp-template rather than polling. Name and language identify a template: repeating a create that already succeeded is refused.

Inputs: name (required), category (required), language (required), components, +1 more.

get-automationGet AutomationA
Read-onlyIdempotent

Get one automation: its latest steps and connections, in the format create-automation and update-automation accept, and the issues left before it can be enabled.

Inputs: id (required).

get-automation-runGet Automation RunA
Read-onlyIdempotent

Get one run: what started it and each step it went through, completed, skipped (with the reason a message was not sent, e.g. no_email or suppressed) or failed. Use it to explain why a contact did or did not get a message.

Inputs: id (required), run_id (required).

get-contactGet ContactA
Read-onlyIdempotent

Get one contact by id, with its custom properties and whether it is suppressed (unreachable because of a bounce, complaint or unsubscribe).

Inputs: id (required).

get-contact-propertyGet Contact PropertyC
Read-onlyIdempotent

Get one custom contact field.

Inputs: id (required).

get-emailGet Transactional EmailsB
Read-onlyIdempotent

Get one transactional emails message with its delivery status.

Inputs: id (required).

get-email-campaignGet Email CampaignB
Read-onlyIdempotent

Get one email campaign: status, sender, subject, template, audience and schedule.

Inputs: id (required).

get-email-campaign-statsGet Email Campaign StatsA
Read-onlyIdempotent

Get how one email campaign performed: sent, delivered and bounced counts, opens and clicks (total and unique), unsubscribes, spam complaints, their rates, clicks per link, and the conversions and revenue attributed to it. Rates are fractions from 0 to 1, so 0.25 is 25%, and null while there is nothing to divide by. Totals cover the whole life of the campaign and are recounted periodically (every 15 minutes for email), so a campaign sent minutes ago can still read 0: check again later rather than reporting that nothing was delivered.

Inputs: id (required).

get-email-domainGet Email Sending DomainA
Read-onlyIdempotent

Get one sending domain with the DNS records to publish and the status of each as of the last check. The domain is verified once every required record is; the other records are recommended for deliverability. To check the records again now, call verify-email-domain.

Inputs: id (required).

get-eventGet EventC
Read-onlyIdempotent

Get one event type.

Inputs: id (required).

get-in-app-campaignGet In-App CampaignB
Read-onlyIdempotent

Get one in-app campaign: status, layout, content, trigger and targeting.

Inputs: id (required).

get-in-app-campaign-statsGet In-App Campaign StatsA
Read-onlyIdempotent

Get how one in-app campaign performed: impressions, clicks, dismissals, expirations and devices reached. Nothing is sent on this channel, so there are no delivery or failure counts. Rates are fractions from 0 to 1, so 0.25 is 25%, and null while there is nothing to divide by. Totals cover the whole life of the campaign and are recounted periodically (every 15 minutes for email), so a campaign sent minutes ago can still read 0: check again later rather than reporting that nothing was delivered.

Inputs: id (required).

get-listGet Contact ListA
Read-onlyIdempotent

Get one contact list and its contact count. To see its members, call list-contacts with list_id.

Inputs: id (required).

get-push-campaignGet Push CampaignA
Read-onlyIdempotent

Get one push campaign: status, notification content, targeting and schedule.

Inputs: id (required).

get-push-campaign-statsGet Push Campaign StatsA
Read-onlyIdempotent

Get how one push campaign performed: recipients and devices, delivered, displayed, opened, clicked and dismissed counts, failures, and the conversions and revenue attributed to it. delivered means the push service accepted the notification, not that it arrived; confirmed is the part a device reported receiving. Rates are fractions from 0 to 1, so 0.25 is 25%, and null while there is nothing to divide by. Totals cover the whole life of the campaign and are recounted periodically (every 15 minutes for email), so a campaign sent minutes ago can still read 0: check again later rather than reporting that nothing was delivered.

Inputs: id (required).

get-push-device-importGet Push Device ImportA
Read-onlyIdempotent

Get the progress and per-row errors of a bulk push-device import.

Inputs: import_job_id (required).

get-push-notificationGet Transactional PushB
Read-onlyIdempotent

Get one transactional push message with its delivery status.

Inputs: id (required).

get-segmentGet SegmentA
Read-onlyIdempotent

Get one segment: its status, its last contact count and its filter, in the format create-segment and update-segment accept. To see its members, call list-contacts with segment_id.

Inputs: id (required).

get-sms-campaignGet SMS CampaignA
Read-onlyIdempotent

Get one SMS campaign: status, content, sender, segment count and schedule.

Inputs: id (required).

get-sms-campaign-statsGet SMS Campaign StatsA
Read-onlyIdempotent

Get how one SMS campaign performed: recipients, a count per delivery status (delivered, undelivered, failed, blocked, rejected, expired, pending), clicks, and the conversions and revenue attributed to it. clicks leaves out link scanners, which are counted in bot_clicks. Rates are fractions from 0 to 1, so 0.25 is 25%, and null while there is nothing to divide by. Totals cover the whole life of the campaign and are recounted periodically (every 15 minutes for email), so a campaign sent minutes ago can still read 0: check again later rather than reporting that nothing was delivered.

Inputs: id (required).

get-sms-messageGet Transactional SMSA
Read-onlyIdempotent

Get one transactional sms message with its delivery status.

Inputs: id (required).

get-tagGet TagA
Read-onlyIdempotent

Get one tag and its contact count. To see who has it, call list-contacts with tag_id.

Inputs: id (required).

get-templateGet TemplateA
Read-onlyIdempotent

Get one email template, including its HTML.

Inputs: id (required).

get-usageGet UsageA
Read-onlyIdempotent

Get this month's usage against the organization's plan limits: emails, SMS credits, WhatsApp, push and in-app messages, automation runs and contacts. The period is the UTC calendar month, not the billing cycle. A limit of null means the plan sets no limit. contacts is the current total, not a monthly count.

Inputs: no named parameters.

get-whatsapp-messageGet Transactional WhatsAppA
Read-onlyIdempotent

Get one transactional whatsapp message with its delivery status.

Inputs: id (required).

get-whatsapp-templateGet WhatsApp TemplateA
Read-onlyIdempotent

Get one WhatsApp template: its content, the parameters a send must fill, its approval status and, when Meta rejected it, the rejection_reason. pending is under review by Meta, and paused and disabled are applied by Meta for low quality. category can differ from what was submitted, because Meta recategorizes templates and the category sets the price per message.

Inputs: id (required).

list-automation-runsList Automation RunsA
Read-onlyIdempotent

List the runs of an automation, newest first: one per contact entry, with its status, the step it is on and why it failed. Don't read ids or timestamps back to the user unless they ask for them.

Inputs: id (required), after, limit, before, +2 more.

list-automationsList AutomationsA
Read-onlyIdempotent

List automations, newest first, with their status: draft until first enabled, then enabled or disabled. Don't read ids or timestamps back to the user unless they ask for them.

Inputs: after, limit, before, status.

list-contact-propertiesList Contact PropertiesA
Read-onlyIdempotent

List the organization's custom contact fields: the keys a contact's properties can hold, also usable as merge tags in messages. Don't read ids or timestamps back to the user unless they ask for them.

Inputs: after, limit, before, search.

list-contact-push-devicesList Contact Push DevicesA
Read-onlyIdempotent

List a contact's registered push devices, to check whether they can receive push notifications.

Inputs: contact_id (required), after, limit, before, +2 more.

list-contactsList ContactsA
Read-onlyIdempotent

Purpose: List contacts, or look one person up.

Use when: the user asks "is X a contact?", "who is in this list?", "who has this tag?", "who is in this segment?". Pass an exact email, phone_number or external_id to find one person, or list_id / tag_id / segment_id to see an audience.

Not for: counting a list, tag or segment (get-list, get-tag and get-segment return contact_count). Don't read ids or timestamps back to the user unless they ask for them.

Inputs: after, email, limit, before, +5 more.

list-email-campaignsList Email CampaignsA
Read-onlyIdempotent

List email campaigns, optionally by name or status. Don't read ids or timestamps back to the user unless they ask for them.

Inputs: after, limit, before, search, +1 more.

list-email-domainsList Email Sending DomainsA
Read-onlyIdempotent

List the organization's sending domains and their verification status. Any address at a verified domain can be an email campaign's from. Register a new one with create-email-domain. Don't read ids or timestamps back to the user unless they ask for them.

Inputs: after, limit, before.

list-emailsList Transactional EmailsA
Read-onlyIdempotent

List transactional emails with their delivery status. Transactional messages are the one-off sends an application makes through the API (receipts, one-time passwords), not campaigns. Don't read ids or timestamps back to the user unless they ask for them.

Inputs: after, limit, before.

list-eventsList EventsA
Read-onlyIdempotent

List the event types the organization tracks from its apps (e.g. order.completed), with their payload schemas and conversion setup. Don't read ids or timestamps back to the user unless they ask for them.

Inputs: after, limit, before, search.

list-in-app-campaignsList In-App CampaignsA
Read-onlyIdempotent

List in-app message campaigns (messages shown inside the organization's app or website), optionally by name or status. Don't read ids or timestamps back to the user unless they ask for them.

Inputs: after, limit, before, search, +1 more.

list-listsList Contact ListsA
Read-onlyIdempotent

List contact lists with their contact counts. Lists are static audiences that campaigns target. Don't read ids or timestamps back to the user unless they ask for them.

Inputs: after, limit, before, search.

list-push-campaignsList Push CampaignsB
Read-onlyIdempotent

List push notification campaigns, optionally by name or status. Don't read ids or timestamps back to the user unless they ask for them.

Inputs: after, limit, before, search, +1 more.

list-push-notificationsList Transactional PushA
Read-onlyIdempotent

List transactional push with their delivery status. Transactional messages are the one-off sends an application makes through the API (receipts, one-time passwords), not campaigns. Don't read ids or timestamps back to the user unless they ask for them.

Inputs: after, limit, before.

list-segmentsList SegmentsA
Read-onlyIdempotent

List segments with their rules and contact counts. Segments are dynamic audiences: a filter of rules decides who is in, and campaigns target them through segment_ids. status is processing while the members are being computed and ready after. contact_count is as of counted_at, and null while the segment is processing. Don't read ids or timestamps back to the user unless they ask for them.

Inputs: after, limit, before, search.

list-sms-campaignsList SMS CampaignsA
Read-onlyIdempotent

List SMS campaigns, optionally by name or status. Don't read ids or timestamps back to the user unless they ask for them.

Inputs: after, limit, before, search, +1 more.

list-sms-messagesList Transactional SMSA
Read-onlyIdempotent

List transactional sms with their delivery status. Transactional messages are the one-off sends an application makes through the API (receipts, one-time passwords), not campaigns. Don't read ids or timestamps back to the user unless they ask for them.

Inputs: after, limit, before.

list-sms-sendersList SMS SendersA
Read-onlyIdempotent

List the organization's approved SMS sender names, the country each one sends to and what it is registered for. Use a sender_name as an SMS campaign's from; campaigns need a sender whose purposes include marketing. Don't read ids or timestamps back to the user unless they ask for them.

Inputs: after, limit, before.

list-tagsList TagsA
Read-onlyIdempotent

List tags with their contact counts. Don't read ids or timestamps back to the user unless they ask for them.

Inputs: after, limit, before, search.

list-templatesList TemplatesA
Read-onlyIdempotent

List the organization's own email templates. An email campaign uses one through its template_id. Don't read ids or timestamps back to the user unless they ask for them.

Inputs: after, limit, before, search.

list-whatsapp-messagesList Transactional WhatsAppA
Read-onlyIdempotent

List transactional whatsapp with their delivery status. Transactional messages are the one-off sends an application makes through the API (receipts, one-time passwords), not campaigns. Don't read ids or timestamps back to the user unless they ask for them.

Inputs: after, limit, before.

list-whatsapp-templatesList WhatsApp TemplatesA
Read-onlyIdempotent

List the organization's WhatsApp message templates with their approval status, newest first, whether they were created here, in the dashboard or imported from Meta. WhatsApp only lets a business start a conversation with an approved template. parameters names the placeholders a send must fill. Don't read ids or timestamps back to the user unless they ask for them.

Inputs: name, after, limit, before, +2 more.

remove-contacts-from-listRemove Contacts from ListA
Destructive

Remove contacts from a list. The contacts themselves are kept. Confirm with the user first, naming the list.

Inputs: id (required), contact_ids (required).

remove-tag-from-contactsUntag ContactsA
Destructive

Remove a tag from contacts. This can start the organization's active automations, which may send messages.

Inputs: id (required), contact_ids (required).

send-emailSend EmailA
Destructive

Send a transactional email: a one-off message such as a receipt, an order update or a password reset, not a marketing campaign. Give the content as html and/or text with a subject, or as a template_id from list-templates. Up to 50 recipients across to, cc and bcc; one malformed address rejects the whole request. This reaches real people, and a message that has gone out cannot be recalled. Before calling it, show the user what will go out and to whom, and wait for their go-ahead. See what was sent with list-emails.

Inputs: to (required), from (required), from_name (required), cc, +9 more.

send-email-campaignSend Email CampaignA
Destructive

Send the email campaign now, or schedule it with scheduled_at. It goes to every subscribed contact in its lists, tags and segments. The campaign must be a draft or scheduled with every required field set. Call get-email-campaign first and show the user its content. Tell the user the audience: if you set it in this conversation, name those lists, tags and segments and their sizes (get-list, get-segment). The campaign's own record doesn't include its audience, so otherwise ask the user to confirm it in the Arsel dashboard. This reaches real people, and a message that has gone out cannot be recalled. Before calling it, show the user what will go out and to whom, and wait for their go-ahead. A scheduled, queued or sending campaign can be stopped with cancel-email-campaign.

Inputs: id (required), scheduled_at.

send-eventSend EventA
Destructive

Record that a contact did something, e.g. order.completed. The event must be defined (list-events) and data must match its schema. Enabled automations triggered by this event run for the contact and may message them, and a contact that doesn't exist yet is created. Before calling it, check list-automations for enabled automations with this trigger, tell the user what they will do, and wait for their go-ahead.

Inputs: data (required), event (required), email, timestamp, +3 more.

send-pushSend Push NotificationA
Destructive

Send a push notification to one contact; every active device they registered receives it. Identify the contact with contact_id alone, or with any of external_id, email and phone_number. Contacts who turned push off are skipped. This reaches real people, and a message that has gone out cannot be recalled. Before calling it, show the user what will go out and to whom, and wait for their go-ahead. See what was sent with list-push-notifications.

Inputs: body (required), title (required), email, category, +11 more.

send-push-campaignSend Push CampaignA
Destructive

Send the push campaign now, or schedule it with scheduled_at. It goes to its audience's app users who allow push; the rest are skipped. The campaign must be a draft or scheduled with every required field set. Call get-push-campaign first and show the user its content. Tell the user the audience: if you set it in this conversation, name those lists, tags and segments and their sizes (get-list, get-segment). The campaign's own record doesn't include its audience, so otherwise ask the user to confirm it in the Arsel dashboard. This reaches real people, and a message that has gone out cannot be recalled. Before calling it, show the user what will go out and to whom, and wait for their go-ahead. A scheduled, queued or sending campaign can be stopped with cancel-push-campaign.

Inputs: id (required), scheduled_at.

send-smsSend SMSA
Destructive

Send a transactional SMS, such as a one-time code or a delivery update, to up to 100 numbers in one country. Each number is billed per part: 70 characters for Arabic or emoji text, 160 for Latin. This reaches real people, and a message that has gone out cannot be recalled. Before calling it, show the user what will go out and to whom, and wait for their go-ahead. See what was sent with list-sms-messages.

Inputs: to (required), from (required), content (required), category, +1 more.

send-sms-campaignSend SMS CampaignA
Destructive

Send the SMS campaign now, or schedule it with scheduled_at. It goes to every subscribed contact in its lists, tags and segments. The campaign must be a draft or scheduled with every required field set. Call get-sms-campaign first and show the user its content. Tell the user the audience: if you set it in this conversation, name those lists, tags and segments and their sizes (get-list, get-segment). The campaign's own record doesn't include its audience, so otherwise ask the user to confirm it in the Arsel dashboard. Every recipient is billed for each part of the message, so tell the user how many parts it is (num_segments on the campaign). This reaches real people, and a message that has gone out cannot be recalled. Before calling it, show the user what will go out and to whom, and wait for their go-ahead. A scheduled, queued or sending campaign can be stopped with cancel-sms-campaign.

Inputs: id (required), scheduled_at.

send-whatsappSend WhatsApp MessageA
Destructive

Send one WhatsApp message from an approved template; WhatsApp allows no free text to start a conversation. Find templates and the parameters each needs with list-whatsapp-templates and get-whatsapp-template. Each message is charged to the organization's WhatsApp balance. This reaches real people, and a message that has gone out cannot be recalled. Before calling it, show the user what will go out and to whom, and wait for their go-ahead. See what was sent with list-whatsapp-messages.

Inputs: to (required), template_name (required), language, parameters.

update-automationUpdate AutomationA
Destructive

Rename an automation or replace its steps. Omitted fields are unchanged.

steps with connections REPLACE the whole graph: read it with get-automation, edit it and send all of it back, keeping each step's key. The steps of an enabled automation cannot be replaced: tell the user to disable it in the Arsel dashboard first, or build the change on a copy from clone-automation. The steps of a disabled one take effect when the user enables it again, so confirm with the user first, naming the automation. This server cannot enable or disable an automation: once issues is empty, the user turns it on from the Arsel dashboard. Saving steps messages nobody.

Shape. An automation is a graph. steps holds every step, the trigger included (key trigger), and connections link them by key. A step leaves by default, except a condition (condition_met, condition_not_met) and a wait_for_event (event_received, timeout). A branch with no connection ends the run. Every step must be reachable from the trigger, no connection may lead back to an earlier step, and branches that split must rejoin at one step or not at all. At most 100 steps.

Look up what the steps name before writing them. Tags from list-tags, lists from list-lists, segments from list-segments, email templates from list-templates, sending domains from list-email-domains, SMS senders from list-sms-senders, WhatsApp templates from list-whatsapp-templates, custom properties from list-contact-properties, events from list-events, campaigns from the channel's campaign list tool.

Conditions and waits take a filter in the segment rule format. To react to a message this automation sent, use a message_engagement rule with target_type: automation_step and the send step's key as target_id; that step must always run before.

Drafts may be unfinished. The automation comes back with issues, each naming a step_key and the config path still missing or wrong. Fix them with update-automation. A graph that breaks a rule of the shape above is refused and nothing is saved.

Inputs: id (required), name, steps, connections.

update-contactUpdate ContactA
Destructive

Update a contact. Omitted fields are unchanged and null clears one, but the contact must keep an email, phone number or external id.

list_ids REPLACES the contact's list memberships: an empty array removes it from every list. To add without removing, use add-contacts-to-list. This can start the organization's active automations, which may send messages.

Inputs: id (required), email, list_ids, last_name, +4 more.

update-contact-propertyUpdate Contact PropertyA
Destructive

Change a custom field's display name, description or fallback value. Pass null to clear the last two.

Inputs: id (required), description, display_name, fallback_value.

update-email-campaignUpdate Email CampaignA
Destructive

Update an email campaign. Only draft and scheduled campaigns can be edited. Editing a scheduled campaign changes what goes out at its scheduled time, so confirm with the user first. Omitted fields are unchanged.

Inputs: id (required), from, name, subject, +7 more.

update-eventUpdate EventA
Destructive

Change an event type's description, schema or conversion setup. schema replaces the whole field list.

Inputs: id (required), schema, conversion, description.

update-in-app-campaignUpdate In-App CampaignA
Destructive

Update an in-app campaign. Unlike other channels an active campaign is editable, and devices show the change on their next fetch: before editing a live campaign you MUST confirm with the user. ended and archived campaigns cannot be edited. Omitted fields are unchanged.

Inputs: id (required), name, layout, buttons, +12 more.

update-listUpdate Contact ListB
Destructive

Rename a contact list or change its description.

Inputs: id (required), name, description.

update-push-campaignUpdate Push CampaignA
Destructive

Update a push campaign. Only draft and scheduled campaigns can be edited. Editing a scheduled campaign changes what goes out at its scheduled time, so confirm with the user first. Omitted fields are unchanged.

Inputs: id (required), body, name, title, +15 more.

update-segmentUpdate SegmentA
Destructive

Rename a segment, change its description or replace its rules. Omitted fields are unchanged.

filter REPLACES the whole rule tree: to change one rule, read the tree with get-segment, edit it and send all of it back. New rules change who the campaigns and automations using the segment reach, scheduled campaigns included, so before sending filter you MUST confirm with the user, naming the segment. The members are then recomputed in the background, and status is processing until they are.

Look up what the rules will name before writing them. Property keys come from list-contact-properties, event names and their fields from list-events, list and tag ids from list-lists and list-tags, and campaign ids from the channel's campaign list tool. A filter naming a property or an event field the organization has not defined is refused.

Shape. filter is a tree whose root is always a group. A group joins its conditions with and or or, and a condition is a rule or another group, so "A and (B or C)" is an and group holding A and an or group of B and C. A filter needs at least one rule and holds at most 100, in groups nested at most 10 deep.

Choosing a rule.

  • Who they are, or a custom property: attribute.

  • The lists they are in or the tags they carry: list_membership, tag.

  • Whether a channel can reach them (subscribed, deliverable): channel_status.

  • How often they engaged with messages, optionally in a recent window: engagement_count.

  • When they last engaged, or that they never did: last_engagement.

  • What they did with one specific campaign or automation: message_engagement.

  • What they did in the app, site or store: event.

Recent activity. Only engagement_count and event take a rolling time_window. Dates in attribute and last_engagement are fixed and do not move with time, so "opened an email in the last 30 days" is an engagement_count of at least 1 with a 30-day window, not a last_engagement date.

Absence. negate: true on list_membership, tag, message_engagement or event matches the contacts the rule would leave out, and last_engagement with does_not_exist matches contacts who never did the action. "Ordered before, but not in the last 90 days" is an and group of a plain event rule and the same rule with a 90-day window and negate: true.

Reaching people. A segment holds every contact its rules match, whatever their consent. Add a channel_status rule when it should hold only contacts a channel can message.

If the filter is refused, the error gives the path of each problem inside the tree (e.g. conditions.1.operator). Fix those and call again.

Inputs: id (required), name, filter, description.

update-sms-campaignUpdate SMS CampaignA
Destructive

Update an SMS campaign. Only draft and scheduled campaigns can be edited. Editing a scheduled campaign changes what goes out at its scheduled time, so confirm with the user first. Omitted fields are unchanged.

Inputs: id (required), from, name, content, +4 more.

update-tagUpdate TagC
Destructive

Rename a tag or change its description.

Inputs: id (required), name, description.

update-templateUpdate TemplateB
Destructive

Rename an email template or replace its HTML.

Inputs: id (required), html, name.

update-whatsapp-templateUpdate WhatsApp TemplateA
Destructive

Replace a WhatsApp template's content and resubmit it to Meta. components is the whole new content, not a patch: read the current one with get-whatsapp-template first. Name, language and category cannot be changed.

The template returns to pending, and only approved templates can be sent, so editing an approved template takes it out of use until Meta approves it again. Meta also limits edits of an approved template to one per 24 hours and ten per 30 days. Before calling you MUST show the user the new content and confirm.

Only approved and rejected templates can be edited. Authentication templates and templates adopted from Meta's library cannot.

Inputs: id (required), components (required).

verify-email-domainVerify Email Sending DomainA

Check a sending domain's DNS records now, instead of waiting for the periodic check, and return the result. A record published minutes ago can still read pending while DNS catches up: tell the user and try again later rather than calling in a loop.

Inputs: id (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 96 tools

    Disambiguation4/5

    Despite 96 tools, the surface is organized by channel and by verb, so an agent can generally tell send-email (transactional) from send-email-campaign (marketing) and list-templates from list-gallery-templates. The few risky pairs — update-contact's list_ids replacing memberships vs add-contacts-to-list, and the parallel create/get/update/send families per channel — are called out explicitly in the descriptions, so misselection is unlikely but not impossible.

    Naming Consistency4/5

    Nearly everything follows kebab-case verb_noun with the channel slotted in (create-sms-campaign, get-push-campaign-stats, cancel-email-campaign), which is predictable and lets agents infer missing siblings. Minor deviations exist, e.g. add-contacts-to-list / remove-tag-from-contacts (prepositional forms) and copy-gallery-template / activate-in-app-campaign, which break the strict channel-resource ordering.

    Tool Count2/5

    96 tools is far beyond a comfortable surface; even though the four messaging channels legitimately multiply each operation, much of the count comes from symmetric but low-value repetition (five near-identical *-campaign-stats tools, five send-* vs five send-*-campaign). An agent must scan a very large catalog to find the right variant, raising selection cost considerably.

    Completeness4/5

    Coverage of the core lifecycle is strong: contacts, lists, tags, segments, campaigns per channel, automations, templates, domains, senders, events, transactional sends and usage all have create/get/list/update paths, and documented limitations (automations cannot be enabled here) are explicit. The notable gap is deletion/archival — no delete for contacts, lists, tags, segments, templates, properties, events or WhatsApp templates — plus no in-app pause/cancel counterpart to cancel-*-campaign.

    Maintenance

    ActivityActive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables AI assistants to build and manage Genesys Cloud resources such as queues, skills, users, wrap-up codes, Architect flows, and outbound campaign cadences, while deliberately preventing deletes and leaving campaigns off until humans start them.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Lets AI clients read segments, campaigns, messages, templates, and analytics and create draft campaigns and segments with explicit approval, without send, schedule, or delete tools.
      98 npm
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Lets AI agents connect a user's database, draft marketing campaigns in their brand, preview emails, and send tests while the user retains final send control.
      48 npm
      MIT