Skip to main content Announcing Tool Gateway MCP: the universal MCPRead the announcement
Live 63 Actions

OneSignal MCP Server
for AI Agents

Connect your AI agent to StackOne's OneSignal MCP server and give it 63 MCP tools out of the box. Auth, tool execution, and security all managed.

OneSignal logo
OneSignal MCP Server
Built by StackOne StackOne
DrataGPLocalyzeFlipMindtoolsScreenloop

Coverage

63 Agent Actions

Create, read, update, and delete across OneSignal — and extend your agent's capabilities with custom actions.

Authentication

Agent Tool Authentication

Per-user OAuth in one call. Your OneSignal MCP server gets session-scoped tokens with zero credentials stored on your infra.

Agent Auth →

Security

Agent Protection

Every OneSignal tool response scanned for prompt injection in milliseconds — 88.7% accuracy, all running on CPU.

Prompt Injection Defense →

Performance

Max Agent Context. Min Cost.

Free up to 96% of your agent's context window to enhance reasoning and reduce cost, on every OneSignal call.

Tools Discovery →

What is the OneSignal MCP Server?

A OneSignal MCP server lets AI agents read and write OneSignal data through the Model Context Protocol — Anthropic's open standard for connecting LLMs to external tools. StackOne's OneSignal MCP server ships with 63 pre-built actions, fully extensible via the Connector Builder — plus managed authentication, prompt injection defense, observability, and agent execution runtime. Connect it from MCP clients like Claude Desktop, Claude Code, Cursor, Goose, and VS Code, or from agent frameworks like OpenAI Agents SDK, LangChain, and Vercel AI SDK.

All OneSignal MCP Tools

Every action from OneSignal's API, ready for your agent. Create, read, update, and delete — scoped to exactly what you need.

API Keys

  • Create API Key

    Create a new app API key (Rich Authentication Token) for a OneSignal app, optionally restricted to an IP allowlist.

  • Update API Key

    Rename an existing app API key or change its IP allowlist settings, leaving its secret value unchanged.

  • Delete API Key

    Permanently revoke one app API key so it can no longer authenticate requests.

An Apps

  • Create An App

    Create a new OneSignal app, optionally configuring its Web, Android and iOS push credentials in the same call.

  • Update An App

    Update the name or the Web, Android and iOS push platform configuration of the configured OneSignal app.

View Journeys

  • View Journeys

    Retrieve a paginated list of journeys configured for a OneSignal app.

  • View Journey

    Retrieve the full configuration of a single journey by its UUID.

Journeys

  • Create Journey

    Create a new journey in draft state with an audience, optional scheduling and an initial node graph.

  • Update Journey

    Apply a full or partial update to a journey's top-level fields, including its state and node graph.

  • Delete Journey

    Permanently delete a journey by its UUID.

View Messages

  • View Messages

    Retrieve a collection of messages previously sent or scheduled for a OneSignal app.

  • View Message

    Retrieve the full definition and delivery counters of a single message.

View Segments

  • View Segments

    Retrieve the segments configured for a OneSignal app.

  • View Segment

    Retrieve a single segment's subscriber count and, optionally, its metadata and filter definition.

Segments

  • Create Segment

    Create a saved audience segment in a OneSignal app from a chain of tag, activity and location filters.

  • Update Segment

    Rename a segment and optionally replace its entire filter definition.

  • Delete Segment

    Permanently delete a segment definition from a OneSignal app.

Subscriptions

  • Update Subscription

    Update the properties of an existing OneSignal subscription addressed by its subscription ID.

  • Delete Subscription

    Permanently delete a OneSignal subscription by its subscription ID.

View Templates

  • View Templates

    Retrieve a paginated list of message templates configured for the OneSignal app.

  • View Template

    Retrieve the full details of a single message template by its template ID.

Templates

  • Create Template

    Create a reusable push, email or SMS message template on the OneSignal app.

  • Update Template

    Update the name or channel content of an existing message template.

  • Delete Template

    Permanently delete a message template from the OneSignal app by its template ID.

Users

  • Create User

    Create a OneSignal user with its identity, profile properties and channel subscriptions.

  • Update User

    Modify the properties of a OneSignal user, or apply incremental deltas, using a known alias pair.

  • Delete User

    Permanently delete a OneSignal user, with all of its properties, aliases and subscriptions, by alias pair.

Other (36)

  • Create Custom Events

    Record one or more custom events for OneSignal users to feed Journey triggers and analytics.

  • Create Inbox Broadcast Message

    Broadcast a message into the in-app inbox of the app's users.

  • Create Push Notification

    Send or schedule a push notification to app and web subscribers of a OneSignal app.

  • Create Email Message

    Send or schedule an email to the email subscriptions of a OneSignal app.

  • Create SMS Message

    Send or schedule an SMS or MMS message to the phone numbers of a OneSignal app.

  • Create Subscription By Alias

    Attach a new push, email or SMS subscription to an existing OneSignal user identified by an alias.

  • Create Alias (By Subscription)

    Create or update aliases on the user who owns a given OneSignal subscription.

  • Copy Template To Another App

    Duplicate a message template into another app in the same OneSignal organization.

  • Create Or Update Alias

    Add or update one or more aliases on a OneSignal user located by a known alias pair.

  • List Audit Logs

    Retrieve a paginated, time-scoped list of audit log events for a OneSignal organization.

  • Export Subscriptions CSV

    Start an asynchronous background job that generates a GZip-compressed CSV of the app's subscription records and returns a csv_file_url to download once the file is ready.

  • Export Audience Activity CSV

    Start an asynchronous background job that generates a compressed CSV of per-recipient delivery and engagement events for one message and returns a csv_file_url to download once the file is ready.

  • Get Message History

    Request a report of which subscriptions were sent or clicked a particular message.

  • Update Journey Node

    Apply a JSON Merge Patch to a single node inside a journey's node graph.

  • Update Live Activity

    Push a content update to a running iOS Live Activity, or end it.

  • Update Subscription By Token

    Update the properties of an existing OneSignal subscription addressed by its raw channel token.

  • Update Message State

    Update the read, opened or deleted state of one specific in-app inbox message for a OneSignal user.

  • Delete Alias

    Remove one alias label from a OneSignal user, located by a known alias pair, keeping the user intact.

  • View API Keys

    Retrieve the details of every app API key (Rich Authentication Token) registered against a OneSignal app.

  • Rotate API Key

    Issue a new secret for an existing app API key while keeping its token_id, name and IP allowlist unchanged.

  • View Apps

    Retrieve every OneSignal app belonging to the organization behind the Organization API Key.

  • View An App

    Retrieve the full metadata and push platform configuration of the configured OneSignal app.

  • View Broadcasts

    Retrieve the inbox broadcasts sent to an app's audience, each with its delivery stats.

  • View Journey Stats

    Retrieve entry, exit, node and branch level performance counters for a single journey.

  • Start Live Activity

    Remotely start an iOS Live Activity on targeted devices.

  • Cancel Message

    Stop a scheduled or currently outgoing message.

  • Estimate Notification Recipients

    Return the estimated recipient count for a set of targeting criteria without creating or sending a message.

  • Unsubscribe Email (With Token)

    Disable the email subscription tied to a sent message using its unsubscribe token.

  • View Outcomes

    Retrieve aggregated outcome metrics attributed back to the messages that drove them.

  • View User Identity (By Subscription)

    Retrieve every alias bound to the user who owns a given OneSignal subscription.

  • Transfer Subscription

    Move a known OneSignal subscription, addressed by its subscription_id, to a different user within the same app.

  • View User Broadcasts

    List the in-app inbox broadcasts delivered to a single OneSignal user, located by an alias pair.

  • View User Unread Message Count

    Retrieve the number of unread in-app inbox messages for a single OneSignal user.

  • Bulk Update Or Delete Message State

    Update the read, opened or deleted state of many of a user's in-app inbox messages at once, across a range bounded by last_message_id.

  • View User

    Retrieve a single OneSignal user, including aliases, properties and subscriptions, by a known alias pair.

  • View User Identity

    Retrieve every alias attached to a OneSignal user, located by any one known alias pair.

OneSignal AI Agent Use Cases

Connect your AI agent to OneSignal and help your team scale the marketing operations they run by hand today.

Lead Nurture Sequences

Use StackOne to connect your AI agent to your marketing automation, CRM, and email tools to automate lead nurture email sequences.

View
HubSpotSalesforceActiveCampaignKlaviyoSendGridMailchimpLemlistGmail
Campaign Performance Reports

Use StackOne to connect your AI agent to your marketing automation, email, and analytics platforms to automate campaign performance reporting.

View
HubSpotMailchimpActiveCampaignKlaviyoSalesforceBrazeSendGridMarketo
Content Repurposing

Use StackOne to connect your AI agent to your document stores, email platforms, and messaging tools to automate content repurposing and distribution.

View
Google DriveConfluenceNotionMailchimpSendGridSlackGmailMicrosoft Teams

Set Up Your OneSignal MCP Server in Minutes

One endpoint. Any framework. Your agent is talking to OneSignal in under 10 lines of code.

Agent Frameworks

Claude Desktop
{
  "mcpServers": {
    "stackone": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote@latest",
        "https://api.stackone.com/mcp?x-account-id=<account_id>",
        "--header",
        "Authorization: Basic <YOUR_BASE64_TOKEN>"
      ]
    }
  }
}

Check More Marketing Automation MCP Servers

Klaviyo

172+ actions

Keap

158+ actions

Zoho CRM

136+ actions

Intercom

113+ actions

SendGrid

110+ actions

Braze

98+ actions

Mailchimp

91+ actions

OneSignal MCP Server FAQ

Does StackOne have a OneSignal MCP server?
Yes. StackOne offers a hosted OneSignal MCP server with 63 pre-built actions, and every action is tested and QA'd by StackOne. Connect it to Claude, Cursor, and any other MCP client, or to any agent framework through the AI Action SDK. It ships with managed agent authentication, prompt injection defense, and tool discovery with server-side execution that preserve your agent's context window and keep reasoning performance.
OneSignal MCP server vs direct API integration — what's the difference?
A OneSignal MCP server and direct API integration serve different use cases. Direct API integration is for software-to-software — backend code calling OneSignal. A OneSignal MCP server is for AI agents — MCP clients like Claude and Cursor, plus framework agents built with OpenAI, LangChain, or Vercel AI — discovering and calling OneSignal at runtime. StackOne provides both.
How does OneSignal authentication work for AI agents?
OneSignal authentication for AI agents works through a StackOne Connect Session. Create one via the dashboard or the SDK — you get an auth link and ready-to-paste config for Claude Desktop, Cursor, and other MCP clients. Your user authenticates their own OneSignal account; StackOne handles token exchange, storage, and refresh. Credentials never reach the LLM, and each user is isolated via origin_owner_id.
Are OneSignal MCP tools vulnerable to prompt injection?
Yes — OneSignal MCP tools can be vulnerable to indirect prompt injection. Any tool that reads user-written content — documents, messages, tickets, records, or free-text fields — is a potential vector. StackOne Defender scans every tool response before it enters the agent's context — regex patterns in ~1ms, then a MiniLM classifier in ~4ms. 88.7% accuracy, CPU-only.
What is the context bloat of a OneSignal agent and how do I avoid it?
Context bloat happens when OneSignal tool schemas and API responses eat your OneSignal agent's memory, preventing it from reasoning effectively. A single OneSignal query can return a massive JSON response, and connecting multiple tools compounds the problem. Tools Discovery and Code Mode reduce context bloat — loading only relevant tools per query and keeping raw responses out of the agent's context.
Can I limit which actions my OneSignal agent can access?
Yes — you can limit which actions your OneSignal agent can access directly from the StackOne dashboard. Toggle actions on or off, or restrict them to specific accounts, with no code changes to your agent. Session tokens can be scoped to exact actions so if one leaks, exposure stays contained.
Can I create custom agent actions for my OneSignal MCP server?
Yes — you can create custom agent actions for your OneSignal MCP server using Connector Builder. It's an integration agent your coding assistant (Claude Code, Cursor, or Copilot) can invoke to research OneSignal's API, generate production-ready connector YAML, test against the live API, and validate before you ship.
When should I NOT use a OneSignal MCP server?
Skip a OneSignal MCP server if your integration is purely software-to-software — direct OneSignal API integration is simpler when no AI agent is involved. For deterministic, compliance-critical operations (financial transactions, regulatory reporting), direct API gives you predictable behavior without agent-driven decision-making. MCP shines when AI agents need to dynamically discover and call OneSignal actions at runtime.
What AI frameworks and AI clients does the StackOne OneSignal MCP server support?
The StackOne OneSignal MCP server supports both. MCP clients (paste-and-go apps): Claude Desktop, Claude Code, Cursor, VS Code, Goose. Agent frameworks (code SDKs you build with): OpenAI Agents SDK, Anthropic, Vercel AI, Google ADK, CrewAI, Pydantic AI, LangChain, LangGraph, Azure AI Foundry.

Put your AI agents to work

All the tools you need to build and scale AI agent integrations, with best-in-class connectivity, execution, and security.