PushEngage
v1.2.0Send push notifications, build audiences, and view campaign analytics from PushEngage.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
pushengage_auth_login Log in to PushEngage
Opens a browser window to the PushEngage dashboard. After you click Authorize, an access token is stored locally and used for subsequent calls; the expiry is shown in the result. Requires a browser on the local machine. In headless or SSH environments the authorization URL is printed to the terminal so it can be opened manually.
pushengage_auth_status Check authentication and site status
Returns the current login state: authenticated (bool), expires_at (token expiry ISO string), current_site_id, api_url, dashboard_url, and client_name. Use this to check whether pushengage_auth_login is needed before making other calls.
pushengage_auth_logout Log out
Revokes the current PushEngage session on the server and deletes the locally stored token. After this call, all site-scoped tools require pushengage_auth_login before they can be used again.
pushengage_list_sites List sites
Lists PushEngage sites the authenticated user can access. Returns site_id, site_name, site_url, and site_status. Also returns current_site_id so the assistant can see which site is already active without calling pushengage_auth_status. When the user asks to send a notification linking to their site's homepage, use site_url as the notification's url field.
pushengage_select_site Select current site
Sets the current site used by all site-scoped tools (pushengage_send_notification, pushengage_list_segments, pushengage_get_analytics_summary, pushengage_list_drip_campaigns, etc.) when no site_id is provided. Persists across MCP restarts. Call pushengage_list_sites first to get a valid site_id.
| Parameter | Type | Description |
|---|---|---|
site_id * | integer | PushEngage site_id from pushengage_list_sites |
pushengage_get_site_details Get site details
Returns the current site's details, matching the dashboard's Site Details page: name, URL, image, timezone, geolocation toggle, and the "Powered By PushEngage" branding toggle.
| Parameter | Type | Description |
|---|---|---|
site_id | integer | Override the currently selected site. |
pushengage_update_site_details Update site details
Updates the current site's details. Pass only the fields you want to change: site_name (Site Name), site_url (Site URL), timezone (Website Time Zone, an IANA name), enable_geolocation (Enable Geolocation), and/or remove_powered_by_pushengage (Remove "Powered By PushEngage", which needs a paid plan). Provide at least one field. Returns the updated site details.
| Parameter | Type | Description |
|---|---|---|
enable_geolocation | boolean | Enable Geolocation. Personalizes notifications based on the subscriber's location and timezone. |
remove_powered_by_pushengage | boolean | Remove "Powered By PushEngage" branding from notifications. Requires a paid (white-label) plan; the API rejects it otherwise. |
site_id | integer | Override the currently selected site. |
site_name | string | Site Name. 3-150 characters. |
site_url | string | Site URL. A full http(s) URL, e.g. https://example.com. |
timezone | string | Website Time Zone as an IANA name, e.g. "America/New_York" or "Asia/Kolkata". |
pushengage_get_campaign_defaults Get campaign defaults
Returns the current site's campaign default settings: utm_parameters (enabled + source/medium/campaign/term/content), fallback_notification (title/message/url), fallback_attributes (city/country), and default_expiry (broken into total_seconds + days/hours/minutes). These are the defaults applied to push campaigns, matching the dashboard's Campaign Defaults page.
| Parameter | Type | Description |
|---|---|---|
site_id | integer | Override the currently selected site. |
pushengage_update_campaign_defaults Update campaign defaults
Updates one or more of the current site's campaign default settings. Pass only the groups and fields you want to change: utm_parameters, fallback_notification, fallback_attributes, and/or default_expiry. The tool reads the current values and merges your changes, so partial edits are fine (e.g. change just utm_parameters.source, or set default_expiry to {days:7}). default_expiry is given as days/hours/minutes (omitted components count as 0; total must be between 1 minute and 28 days). When utm_parameters.enabled is true, source/medium/campaign must be non-empty after the merge. Provide at least…
| Parameter | Type | Description |
|---|---|---|
default_expiry | object | Default notification expiry. Set as days/hours/minutes; omitted components count as 0. Total must be between 1 minute and 28 days. |
fallback_attributes | object | Fallback subscriber city/country used when the browser can't resolve them. |
fallback_notification | object | Notification shown if the browser cannot fetch the sent notification. Title, message, and URL are all required by the API, so any you omit are kept from the current values. |
site_id | integer | Override the currently selected site. |
utm_parameters | object | UTM defaults appended to campaign URLs. Provide only the fields you want to change. |
pushengage_get_service_worker_settings Get service worker settings
Returns the current site's Service Worker Settings (from the Advanced Settings page), using the dashboard labels: enable_service_worker_registration ("Enable the service worker registration from PushEngage"), enable_service_worker_in_subfolder ("Enable addition of service worker in another sub-folder"), and service_worker_file_path ("Path for service worker file").
| Parameter | Type | Description |
|---|---|---|
site_id | integer | Override the currently selected site. |
pushengage_update_service_worker_settings Update service worker settings
Updates the current site's Service Worker Settings. Pass only the fields you want to change: enable_service_worker_registration, enable_service_worker_in_subfolder, and/or service_worker_file_path. The tool reads the current values and merges your changes. When enable_service_worker_registration is true, service_worker_file_path must be non-empty after the merge. Provide at least one field. Returns the updated settings.
| Parameter | Type | Description |
|---|---|---|
enable_service_worker_in_subfolder | boolean | Enable addition of service worker in another sub-folder. |
enable_service_worker_registration | boolean | Enable the service worker registration from PushEngage. Disable it only if your site already registers its own service worker. When true, service_worker_file_path is required. |
service_worker_file_path | string | Path for service worker file. Required when the service worker registration is enabled. |
site_id | integer | Override the currently selected site. |
pushengage_list_segments List segments
Lists segments on the current site, paginated (response includes `has_more`). Each item carries segment_id, name, current subscriber count, status, and any URL matching criteria.
| Parameter | Type | Description |
|---|---|---|
limit | integer | How many segments to return in this page. Min 1, max 100, default 10. To browse past the first 100, increase `page` instead of asking for a larger limit. |
name_contains | string | Optional case-insensitive substring filter on segment_name. |
page | integer | Page number (1-indexed) for paginating beyond the first batch. e.g. with limit=100 the second page (segments 101–200) is page=2. |
site_id | integer | Override the currently selected site. |
pushengage_create_segment Create a segment
Creates a new segment on the current site. Required: segment_name. Optionally pass segment_criteria with URL `include` and/or `exclude` rules to define what subscribers belong to the segment — each rule is `{ rule: "start" | "exact" | "contains", value: "<url>" }`. By default, segment criteria are evaluated only when a visitor subscribes to push notifications. Set add_segment_on_page_load=true (Segment on Page Visit) to evaluate those criteria on every page visit instead, so segment membership can change as subscribers browse the site. Only include segment_criteria and add_segment_on_page_lo…
| Parameter | Type | Description |
|---|---|---|
segment_name * | string | Segment display name. 1–150 characters. |
add_segment_on_page_load | boolean | Segment on Page Visit. By default (false), segment criteria (such as URL rules) are evaluated only when a visitor subscribes to push notifications. Set to true to evaluate those criteria on every page… |
segment_criteria | object | URL-based include/exclude rules that decide which subscribers belong to this segment. Omit to create a name-only segment that the user populates later via the dashboard or workflows. When provided, at… |
site_id | integer | Override the currently selected site. |
pushengage_list_attributes List subscriber attributes
Lists subscriber attributes (custom keys set on subscribers via the JS SDK) on the current site, paginated (response includes `has_more`). Use this to discover attribute `key` values before constructing an audience-group filter rule with field="attributes".
| Parameter | Type | Description |
|---|---|---|
key_contains | string | Optional substring filter on the attribute `key`. Maps to API `key_like`. Use this when looking up an attribute by name (e.g. searching for "plan" to find the "plan" attribute key). |
limit | integer | How many attributes to return in this page. Min 1, max 100, default 10. To browse past the first 100, increase `page` instead of asking for a larger limit. |
page | integer | Page number (1-indexed) for paginating beyond the first batch. |
site_id | integer | Override the currently selected site. |
pushengage_create_attribute Create a subscriber attribute
Creates a new subscriber attribute on the current site. Required: `name` (human-readable label, e.g. "Customer Plan") and `key` (machine identifier, e.g. "plan"). The `key` must start with a letter and contain only letters, numbers, hyphens, and underscores. The created `key` becomes a usable value for audience-group rules with field="attributes" (the rule's `key` property). PushEngage caps each site at 50 attributes; the API returns 422 if the limit is exceeded.
| Parameter | Type | Description |
|---|---|---|
key * | string | The machine identifier used in the JavaScript SDK and in audience-group rules. Must start with a letter and only contain letters, numbers, hyphens, and underscores. Max 64 chars. e.g. "plan", "signup_… |
name * | string | Human-readable attribute name shown in the dashboard. 1–128 chars. e.g. "Customer Plan", "Sign-up Source". |
site_id | integer | Override the currently selected site. |
pushengage_list_audience_filter_values List values for custom-audience filter fields
Lists the location and device values recorded on this site, with how many active subscribers carry each one. These are the values a `subscriber_filter` rule can use for the country, state, city, device and device_type fields — the "Custom Audience" targeting on the send tools and pushengage_create_audience_group. Call this BEFORE writing a rule on any of those five fields. Locations are display names taken from the subscribers themselves, not ISO codes, and they differ per site — "US", "USA" and "United States" are not interchangeable, and a guessed spelling produces a notification that sa…
| Parameter | Type | Description |
|---|---|---|
fields | array | Which filter fields to list values for. Each name is a `field` you can use in a subscriber_filter rule. "country", "state" and "city" are the subscriber locations recorded on this site — display nam… |
limit | integer | How many values to return PER field, ordered by subscriber count descending. Min 1, max 500, default 50. A site can have thousands of cities, so this caps the response; each field reports `total_value… |
site_id | integer | Override the currently selected site. |
value_contains | string | Optional case-insensitive substring filter on the value names, applied across every requested field. Use it to check one value ("do I have subscribers in Pune?") instead of pulling the whole list. |
pushengage_list_audience_groups List audience groups
Lists audience groups on the current site, paginated (response includes `has_more`). Use this to look up audience-group IDs when the user references a group by name; those IDs are what pushengage_send_notification / pushengage_send_ab_notification accept in their `audience_groups` field.
| Parameter | Type | Description |
|---|---|---|
limit | integer | How many audience groups to return in this page. Min 1, max 100, default 10. To browse past the first 100, increase `page` instead of asking for a larger limit. |
name_contains | string | Optional substring filter on the audience-group name. Maps to API `name_like`. |
page | integer | Page number (1-indexed) for paginating beyond the first batch. e.g. with limit=100 the second page (101–200) is page=2. |
site_id | integer | Override the currently selected site. |
pushengage_create_audience_group Create an audience group
Creates a new audience group on the current site. Required: `name` and `filter`. The `filter` is a subscriber-filter expression — { op: "or" (the only supported value), value: 2-D array of rule groups }. Each rule is { field, op, value?, key? }. Rules WITHIN a group are AND-ed; groups in `value` are OR-ed, so conditions that must all hold go in ONE group. See the inputSchema field descriptions for the supported `field` and `op` enums. Common patterns: "Mobile subscribers" → filter={ op: "or", value: [[{ field: "device", op: "in", value: ["mobile"] }]] }. "Subscribed in the last 7 days" →…
| Parameter | Type | Description |
|---|---|---|
filter * | object | Required. The subscriber-filter expression that decides which subscribers belong to this group. Use SubscriberFilterSchema: an outer op ("or"/"and") + a 2-D `value` array (groups of AND-ed rules). Eac… |
name * | string | Audience-group display name. 1–150 chars. |
description | string | Optional human-readable description, up to 256 chars. |
site_id | integer | Override the currently selected site. |
pushengage_list_notifications List notifications
Lists push notifications on the current site, newest first, paginated (response includes `has_more`). Use this to discover notification IDs and review past or upcoming sends. Set include_analytics=true only when the user asks for stats — it costs an extra lookup and adds rolled-up counts and goal conversions to each row. Each item carries content, status, targeting criteria, and delivery stats; the criteria.audience_groups ids are reusable as the send tools' audience_groups input, and absent criteria means the notification went to all subscribers.
| Parameter | Type | Description |
|---|---|---|
exclude_tags | array | Exclude notifications carrying any of these tags (up to 5). |
include_analytics | boolean | When true, merge in full delivery analytics (A/B variant totals and subscriber-timezone child sends roll up into the parent row) and goal conversions (goal_count/goal_value per row). Costs extra looku… |
limit | integer | How many notifications to return in this page. Min 1, max 100, default 10. To browse past the first 100, increase `page` instead of asking for a larger limit. |
page | integer | Page number (1-indexed) for paginating beyond the first batch. |
sent_after | string | Only notifications sent on or after this date (YYYY-MM-DD, site timezone). Must be 2017-07-01 or later, and must be paired with sent_before. |
sent_before | string | Only notifications sent on or before this date (YYYY-MM-DD, site timezone). Must be paired with sent_after and be on or after it. |
site_id | integer | Override the currently selected site |
status | string | Filter by status, matching the dashboard tabs: "sent" (includes currently sending), "scheduled" (includes active and paused recurring notifications), "draft" (includes archived). "all" (default) retur… |
tags | array | Only notifications carrying at least one of these tags (up to 5). |
pushengage_send_notification Send a push notification
Creates and sends a push notification on the current site. Required fields: title, message, url. Do not add optional fields (tags, image_url, utm_params, audience_groups, actions, etc.) unless the user explicitly asks for them — for example, do not infer tags from the notification topic. Delivery modes (mutually exclusive — pick AT MOST one): (a) status="schedule" + schedule_date for a one-shot scheduled send; (b) pass recurring_schedule { days, times, start_date, end_date } for a recurring/repeating notification — leave status at "sent" (default) to activate the recurrence, or use "draf…
pushengage_send_ab_notification Send an A/B push notification
Creates an A/B notification on the current site with two variants (variant_a and variant_b). Required: variant_a (title, message, url) and variant_b (title, message, url). By default (intelligent_ab_test omitted) both variants ship as-is to the audience — no automatic winner picking. Pass intelligent_ab_test to enable intelligent / auto-winner mode: each variant is sent to sent_limit_percentage% of subscribers, and after winner_delay_minutes the higher-CTR variant is automatically delivered to the remaining audience (up to sent_limit total). Only include intelligent_ab_test when the user exp…
pushengage_update_notification Edit a notification
Edits an existing draft, scheduled or recurring notification. Pass notification_id plus ONLY the fields to change — everything else is carried over from the notification as it stands. Use this instead of pushengage_send_notification when the user wants to fix or adjust something already created ("change the title", "move it to 9am", "target a different segment"); use pushengage_send_notification to create something new. Cannot edit a notification that has already been sent or is sending, an RSS auto-push notification, or any part of an A/B test (editing one through the API breaks the test, s…
pushengage_delete_notification Delete a notification
Deletes a draft, scheduled or recurring notification, cancelling it if it had not gone out yet. A notification that has already been sent CANNOT be deleted — its delivery record is kept — and neither can an RSS auto-push notification. Deleting the PARENT of an A/B test removes the whole test including its other variant; a single variant cannot be deleted on its own, and neither can a drip, triggered or single-timezone notification. For a subscriber-timezone send this also removes the per timezone notifications that have not been delivered. This cancels a pending send, so confirm with the u…
| Parameter | Type | Description |
|---|---|---|
notification_id * | integer | The notification to act on. Get it from pushengage_list_notifications, or from the notification_id a send tool returned. |
site_id | integer | Override the currently selected site |
pushengage_resend_notification Resend a sent notification
Sends an already-sent notification again, exactly as stored — the content cannot be changed on the way out, because the API re-reads the notification itself. Resending creates a NEW notification: the response reports its id, with the original as `resent_from`. Only works on a notification that has already been sent. To send a draft or a scheduled one now, use pushengage_update_notification with status="sent"; to send a changed copy, use pushengage_duplicate_notification. Subscriber-timezone sends cannot be resent, nor can a single A/B variant or a drip or triggered campaign notification. Eac…
| Parameter | Type | Description |
|---|---|---|
notification_id * | integer | The notification to act on. Get it from pushengage_list_notifications, or from the notification_id a send tool returned. |
site_id | integer | Override the currently selected site |
pushengage_duplicate_notification Duplicate a notification
Creates a NEW notification from an existing one, reusing its content, image, audience and UTM parameters. Pass any field to change it in the copy. Works from a notification in any state, including one already sent or deleted — nothing about the original is modified, so copying a deleted one recovers its content. This is the way to "send that again but with a different title", where pushengage_resend_notification would send the original unchanged. The copy is saved as a DRAFT unless you pass status="sent" (dispatches immediately) or status="schedule" with a schedule_date. This differs from th…
pushengage_get_analytics_summary Get all-time analytics totals
Returns the current site's all-time, site-wide totals: subscribers (current active count), notifications sent, views, clicks, and goal conversions/value. Not bounded by any date range — for trends over a period use pushengage_get_analytics_timeseries instead.
| Parameter | Type | Description |
|---|---|---|
site_id | integer | Override the currently selected site. |
pushengage_get_analytics_timeseries Get analytics over a date range
Returns a time series of the current site's analytics between start_date and end_date, bucketed by group_by. Each point has subscribers gained, notifications sent, views, clicks, ctr, and unsubscribes for that bucket. Use this for trends or metrics over a period; for all-time totals use pushengage_get_analytics_summary instead.
| Parameter | Type | Description |
|---|---|---|
end_date * | string | End of the range (inclusive). Format: YYYY-MM-DD. Must be on or after start_date. |
start_date * | string | Start of the range (inclusive). Format: YYYY-MM-DD. |
group_by | string | How to bucket the series: one point per day, week, or month. |
site_id | integer | Override the currently selected site. |
pushengage_list_drip_campaigns List drip campaigns
Lists the drip autoresponder campaigns on the current site, paginated (response includes `has_more`). Optionally filter by status (default "all" = every status), mirroring the dashboard filter tabs. Set include_analytics=true only when the user asks for stats/performance (it costs an extra analytics lookup per page). Each item then also carries an analytics object: sent, seen, clicked, ctr, goal_count, goal_value.
| Parameter | Type | Description |
|---|---|---|
include_analytics | boolean | When true, include per-campaign analytics (sent/seen/clicked/CTR and goal count/value). Costs an extra analytics lookup, so only set it when the user asks for stats/performance. |
limit | integer | How many to return per page. Min 1, max 100, default 10. |
page | integer | Page number (1-indexed). |
site_id | integer | Override the currently selected site. |
status | string | Filter by status. "all" (default) returns every status. |
pushengage_list_triggered_campaigns List triggered campaigns
Lists the triggered campaigns (Price Drop / Inventory Alert / Cart Abandonment / etc.) on the current site, paginated (response includes `has_more`). Optionally filter by status (default "all" = every status), mirroring the dashboard filter tabs. Set include_analytics=true only when the user asks for stats/performance (it costs an extra analytics lookup per page). Each item then also carries an analytics object: sent, seen, clicked, ctr, goal_count, goal_value.
| Parameter | Type | Description |
|---|---|---|
include_analytics | boolean | When true, include per-campaign analytics (sent/seen/clicked/CTR and goal count/value). Costs an extra analytics lookup, so only set it when the user asks for stats/performance. |
limit | integer | How many to return per page. Min 1, max 100, default 10. |
page | integer | Page number (1-indexed). |
site_id | integer | Override the currently selected site. |
status | string | Filter by status. "all" (default) returns every status. |
pushengage_list_rss_campaigns List RSS auto push campaigns
Lists the RSS auto push campaigns on the current site, paginated (response includes `has_more`). Each item includes the feed_url. Optionally filter by status (default "all" = every status), mirroring the dashboard filter tabs.
| Parameter | Type | Description |
|---|---|---|
limit | integer | How many to return per page. Min 1, max 100, default 10. |
page | integer | Page number (1-indexed). |
site_id | integer | Override the currently selected site. |
status | string | Filter by status. "all" (default) returns every status. |
pushengage_list_workflows List workflow automations
Lists the workflow automations on the current site, paginated (response includes `has_more`). Optionally filter by status (default "all" = every status), mirroring the dashboard filter tabs. Set include_analytics=true only when the user asks for stats/performance (it costs an extra analytics lookup per page). Each item then also carries an analytics object: entered, active, completed, failed (user counts), goal_count, goal_value.
| Parameter | Type | Description |
|---|---|---|
include_analytics | boolean | When true, include per-workflow analytics (entered/active/completed/failed users and goal count/value). Costs an extra analytics lookup; only set it when the user asks for stats. |
limit | integer | How many to return per page. Min 1, max 100, default 10. |
page | integer | Page number (1-indexed). |
site_id | integer | Override the currently selected site. |
status | string | Filter by status. "all" (default) returns every status. |
pushengage_list_chat_widgets List chat widgets
Lists the chat widgets on the current site, paginated (response includes `has_more`). A chat widget is the floating button that surfaces support channels (WhatsApp, Messenger, Email, etc.) on the site. Each item carries the configured channels, target devices, business-hours restriction, and a country/page targeting summary.
| Parameter | Type | Description |
|---|---|---|
limit | integer | How many chat widgets to return in this page. Min 1, max 100, default 10. To browse past the first 100, increase `page` instead of asking for a larger limit. |
name_contains | string | Optional case-insensitive substring filter on the widget name. |
page | integer | Page number (1-indexed) for paginating beyond the first batch. |
site_id | integer | Override the currently selected site. |
status | string | Filter by status. "all" (default) returns every status. |