OneSignal

OneSignal

Let your AI work with OneSignal: review sent push, email and SMS messages with their delivery results and outcomes, look up segments, users and templates, and send or schedule messages, cancel them, create segments and update user tags after you confirm.

7 天免费 · 无需信用卡 · EU 托管

问 OneSignal 任何事

通过 AnythingMCP 对 OneSignal 试一个真实提示 — Claude 调用工具并返回答案。在你的消息上按 Enter 即可在 Cloud 安装。

在 Cloud 上安装 OneSignal
OneSignal · 通过 MCP 实时
分享
Opus 4.7

Claude 是 AI,可能会出错。请核对回答。

2 分钟设置

  1. 1在 cloud.anythingmcp.com 开始免费试用。
  2. 2在连接器商店点击 OneSignal。提示时粘贴凭据。
  3. 3生成 MCP API 密钥,将 AI 客户端指向生成的 MCP URL。
立即安装 OneSignal

OneSignal 指南

面向主流 AI 客户端的逐步设置。

配置 OneSignal

直接来自连接器定义:在哪里获取凭据、需要哪些权限,以及该适配器调用的是哪个 API。 由连接器作者以英文提供。

OneSignal

This connector works with one OneSignal app (push notifications, email, SMS and in-app messaging) through the OneSignal REST API with an App API key: the app, its messages and delivery results, outcomes, segments, users and templates; it can send push, email and SMS, cancel scheduled messages, create segments and update user tags.

Setup (about 3 minutes)

  1. In OneSignal open the app, then Settings, Keys & IDs. Copy the App ID (a UUID) into ONESIGNAL_APP_ID.
  2. On the same page click Add Key (App API keys), give it a name and create it. The value starts with os_v2_app_ and is shown only once: paste it into ONESIGNAL_APP_API_KEY. The key works only for this app; for another app, install the connector again with that app's ID and key.
  3. Install. The connector sends the key as Authorization: Key <key>.

The key acts for the whole app, not for one person: whoever uses this connector sees its users and can send to its audience if the send tools are on. Share the MCP server only with people allowed to do that.

How to work

  1. Check the setup: onesignal_view_app (name, subscription counts).
  2. Results: onesignal_list_messages, onesignal_view_message (with outcomes on request), onesignal_view_outcomes for app-wide clicks, confirmed deliveries, sessions and custom outcomes, and onesignal_export_message_history for a CSV of who received or clicked a message (POST, but only reads).
  3. Audience: onesignal_list_segments and onesignal_view_user (by external_id or another alias).
  4. Content: onesignal_list_templates and onesignal_view_template.
  5. Sending: onesignal_send_push, onesignal_send_email and onesignal_send_sms send real messages. Target segments by name (included_segments, e.g. "Subscribed Users") or users by alias (include_aliases with target_channel). Show the content, the audience and the time first and call only after the user confirms; for a segment or more than one recipient wait for an explicit "yes, send". Use send_after to schedule and onesignal_cancel_message to stop a scheduled message.
  6. Other writes, each only after the user confirms: onesignal_create_segment and onesignal_update_user (tags, language, timezone, country).
  7. onesignal_delete_user deletes a user for good and is installed switched off; an administrator turns it on deliberately.

A send answers with the message id; an empty id means nobody matched the targeting (the errors list says why, for example "All included players are not subscribed").

Common errors

  • 401 "Access denied": the key is wrong, deleted or rotated, or belongs to another app than ONESIGNAL_APP_ID.
  • 400 "Failed to parse app_id": the App ID is not a valid UUID; copy it from Keys & IDs.
  • 400 on a send: content or targeting is invalid, e.g. no English content, or segments combined with aliases.
  • 403: the key is restricted (IP allowlist) or the plan does not include the feature.
  • 429: OneSignal's rate limit is reached; wait and retry.

Out of scope here: organization-level endpoints (all apps, creating apps, API key management, audit logs), subscriptions and aliases management, Live Activities, inbox messages, journeys, CSV exports of all subscriptions and custom events.

你的 AI 距离 OneSignal 仅两次点击。

安装连接器、粘贴凭据、向 AI 提问。7 天免费,无需信用卡。