Arsel MCP Server
OfficialServer Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORT | No | HTTP port. Defaults to 8077. | |
| ARSEL_API_KEY | Yes | Your Arsel API key. Required for stdio mode (running locally). Create one in the dashboard under API keys. | |
| ARSEL_API_URL | No | Arsel API base URL. Defaults to https://api.arsel.sa/v1. | |
| ARSEL_AUTH_SERVER | No | OAuth authorization server. Defaults to https://api.arsel.sa. | |
| ARSEL_MCP_PUBLIC_URL | No | Public URL of this server; the OAuth token audience. Defaults to https://mcp.arsel.sa. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Arsel is a marketing engagement platform: email, SMS, WhatsApp, push and in-app messaging.
Every tool acts on one organization: the one the user connected, or the one that owns the API key.
List tools are cursor-paginated: while has_more is true, pass the last item id as after.
Campaigns created here are drafts until a send tool sends or schedules them. Every send reaches real people and cannot be undone: show the user what will go out and to whom, and send only on their explicit go-ahead.
Automations cannot be enabled or disabled here; the user does that from the Arsel dashboard.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list-contactsA | 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 Not for: counting a list, tag or segment (get-list, get-tag and get-segment return |
| get-contactA | Get one contact by id, with its custom properties and whether it is suppressed (unreachable because of a bounce, complaint or unsubscribe). |
| create-contactA | Create a contact. At least one of |
| update-contactA | Update a contact. Omitted fields are unchanged and
|
| list-listsA | 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. |
| get-listA | Get one contact list and its contact count. To see its members, call list-contacts with |
| create-listC | Create an empty contact list. |
| update-listB | Rename a contact list or change its description. |
| add-contacts-to-listA | Add contacts to a list, keeping their other memberships. This can start the organization's active automations, which may send messages. |
| remove-contacts-from-listA | Remove contacts from a list. The contacts themselves are kept. Confirm with the user first, naming the list. |
| list-tagsA | List tags with their contact counts. Don't read ids or timestamps back to the user unless they ask for them. |
| get-tagA | Get one tag and its contact count. To see who has it, call list-contacts with |
| create-tagC | Create a tag. |
| update-tagC | Rename a tag or change its description. |
| add-tag-to-contactsA | Add a tag to contacts. This can start the organization's active automations, which may send messages. |
| remove-tag-from-contactsA | Remove a tag from contacts. This can start the organization's active automations, which may send messages. |
| list-segmentsA | List segments with their rules and contact counts. Segments are dynamic audiences: a |
| get-segmentA | Get one segment: its |
| create-segmentA | Create a segment: a dynamic audience defined by rules, which campaigns target through 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. Choosing a rule.
Recent activity. Only Absence. Reaching people. A segment holds every contact its rules match, whatever their consent. Add a If the filter is refused, the error gives the path of each problem inside the tree (e.g. The segment comes back with |
| update-segmentA | Rename a segment, change its description or replace its rules. Omitted fields are unchanged.
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. Choosing a rule.
Recent activity. Only Absence. Reaching people. A segment holds every contact its rules match, whatever their consent. Add a If the filter is refused, the error gives the path of each problem inside the tree (e.g. |
| list-email-campaignsA | List email campaigns, optionally by name or status. Don't read ids or timestamps back to the user unless they ask for them. |
| get-email-campaignB | Get one email campaign: status, sender, subject, template, audience and schedule. |
| create-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 |
| update-email-campaignA | Update an email campaign. Only |
| get-email-campaign-statsA | 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. |
| list-sms-campaignsA | List SMS campaigns, optionally by name or status. Don't read ids or timestamps back to the user unless they ask for them. |
| get-sms-campaignA | Get one SMS campaign: status, content, sender, segment count and schedule. |
| create-sms-campaignA | Create an SMS campaign. The audience is the union of |
| update-sms-campaignA | Update an SMS campaign. Only |
| get-sms-campaign-statsA | 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. |
| list-push-campaignsB | List push notification campaigns, optionally by name or status. Don't read ids or timestamps back to the user unless they ask for them. |
| get-push-campaignA | Get one push campaign: status, notification content, targeting and schedule. |
| create-push-campaignA | Create a push notification campaign for the organization's app users. The audience is the union of |
| update-push-campaignA | Update a push campaign. Only |
| get-push-campaign-statsA | 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. |
| list-in-app-campaignsA | 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. |
| get-in-app-campaignB | Get one in-app campaign: status, layout, content, trigger and targeting. |
| create-in-app-campaignA | Create an in-app message campaign. The campaign is saved as a |
| update-in-app-campaignA | Update an in-app campaign. Unlike other channels an |
| clone-in-app-campaignA | Copy an in-app campaign into a new |
| get-in-app-campaign-statsA | 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. |
| list-automationsA | List automations, newest first, with their |
| get-automationA | Get one automation: its latest |
| create-automationA | Create an automation as a Shape. An automation is a graph. 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 Drafts may be unfinished. The automation comes back with |
| update-automationA | Rename an automation or replace its steps. Omitted fields are unchanged.
Shape. An automation is a graph. 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 Drafts may be unfinished. The automation comes back with |
| clone-automationA | Copy an automation’s latest steps into a new |
| list-automation-runsA | List the runs of an automation, newest first: one per contact entry, with its |
| get-automation-runA | Get one run: what started it and each step it went through, |
| list-templatesA | List the organization's own email templates. An email campaign uses one through its |
| get-templateA | Get one email template, including its HTML. |
| create-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. |
| update-templateB | Rename an email template or replace its HTML. |
| list-gallery-categoriesA | List the filters (types, seasons, features, industries) that list-gallery-templates accepts. |
| list-gallery-templatesA | Browse Arsel's gallery of ready-made email designs. Copy one into the organization with copy-gallery-template. |
| get-gallery-templateB | Get one gallery design, including its HTML. |
| copy-gallery-templateA | Copy a gallery design into the organization's templates, where it can be edited and used by campaigns. |
| list-whatsapp-templatesA | 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 |
| get-whatsapp-templateA | Get one WhatsApp template: its content, the |
| create-whatsapp-templateA | Create a WhatsApp template and submit it to Meta for review, in one call. WhatsApp only lets a business start a conversation with an 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.
The template comes back |
| update-whatsapp-templateA | Replace a WhatsApp template's content and resubmit it to Meta. The template returns to Only |
| list-contact-propertiesA | List the organization's custom contact fields: the keys a contact's |
| get-contact-propertyC | Get one custom contact field. |
| create-contact-propertyA | Define a custom contact field. |
| update-contact-propertyA | Change a custom field's display name, description or fallback value. Pass |
| list-eventsA | 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. |
| get-eventC | Get one event type. |
| create-eventB | Define an event type that apps can send and automations can react to. The name cannot be changed later. |
| update-eventA | Change an event type's description, schema or conversion setup. |
| list-emailsA | 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. |
| get-emailB | Get one transactional emails message with its delivery status. |
| list-sms-messagesA | 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. |
| get-sms-messageA | Get one transactional sms message with its delivery status. |
| list-whatsapp-messagesA | 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. |
| get-whatsapp-messageA | Get one transactional whatsapp message with its delivery status. |
| list-push-notificationsA | 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. |
| get-push-notificationB | Get one transactional push message with its delivery status. |
| list-contact-push-devicesA | List a contact's registered push devices, to check whether they can receive push notifications. |
| get-push-device-importA | Get the progress and per-row errors of a bulk push-device import. |
| send-emailA | 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 |
| send-smsA | 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. |
| send-whatsappA | Send one WhatsApp message from an |
| send-pushA | Send a push notification to one contact; every active device they registered receives it. Identify the contact with |
| send-email-campaignA | Send the email campaign now, or schedule it with |
| send-sms-campaignA | Send the SMS campaign now, or schedule it with |
| send-push-campaignA | Send the push campaign now, or schedule it with |
| cancel-email-campaignA | Cancel the email campaign if it is |
| cancel-sms-campaignA | Cancel the SMS campaign if it is |
| cancel-push-campaignA | Cancel the push campaign if it is |
| activate-in-app-campaignA | 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 ( |
| send-eventA | Record that a contact did something, e.g. |
| list-email-domainsA | List the organization's sending domains and their verification status. Any address at a |
| get-email-domainA | Get one sending domain with the DNS records to publish and the status of each as of the last check. The domain is |
| create-email-domainA | Register a domain to send email from and get the DNS records to publish at its DNS provider. The domain starts |
| verify-email-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 |
| list-sms-sendersA | List the organization's approved SMS sender names, the country each one sends to and what it is registered for. Use a |
| get-usageA | 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 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 96 tools
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.
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.
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.
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.