OneSignal MCP Server lets MCP-compatible AI assistants run OneSignal actions directly — look up a user, check delivery stats, send a test message, or export subscribers — without leaving your editor or AI client.Documentation Index
Fetch the complete documentation index at: https://documentation.onesignal.com/llms.txt
Use this file to discover all available pages before exploring further.
What is MCP?
Model Context Protocol (MCP) is an open-source standard for connecting AI applications to external systems. OneSignal MCP Server lets MCP-compatible assistants run OneSignal actions without switching dashboard pages.What can I do with this?
You can complete common OneSignal workflows faster with natural-language prompts.- Run multi-step tasks in one request, like finding a user, checking subscriptions, and sending a test message
- Reduce onboarding friction for teams that are new to the dashboard or REST API
- Manage day-to-day campaign and user operations directly in your editor or AI client
Common use cases
You can ask your AI assistant to:- Send a message to a specific segment
- Look up a user and list all subscriptions
- Check delivery metrics for a recent message
- Create a segment from audience filters
- Create a user and attach email, SMS, or push subscriptions
- Export subscribers or audience activity to CSV
Set up the OneSignal MCP server
You can usually complete setup in about 5 minutes.Prerequisites
You need:- A OneSignal App ID from Settings > Keys & IDs, or from the URL when you’re logged into the OneSignal dashboard
- A OneSignal REST API key from Settings > Keys & IDs
- A supported MCP client (see options below)
Connection details
Every client connects to the same server URL:app_id. If you manage multiple OneSignal apps, create one MCP configuration per app.
Configure your AI client
Pick the tab that matches the type of client you use, then follow the steps for your specific app.- Chatbots (Claude)
- Coding tools (Claude Code, Codex, Copilot, Cursor)
Claude (Claude Desktop and Claude.ai)
Add the OneSignal MCP server through Claude’s Connectors UI. Remote MCP servers cannot be added throughclaude_desktop_config.json — that file is only for local stdio servers.Open Connectors settings
In Claude Desktop, open Settings > Connectors. On claude.ai, open Settings > Connectors in the web app.
Add a custom connector
Click Add custom connector and provide:
- Name:
OneSignal - Remote MCP server URL:
https://server.smithery.ai/onesignal/onesignal
Enter your OneSignal credentials
A Connect OneSignal dialog opens. Enter your:
- App ID — your OneSignal App ID
- API Key — your OneSignal REST API key
Verify the connection
After setup, start a new chat and ask your assistant:ok, your connection is working.
Troubleshooting
If a request fails unexpectedly, try the following in order:- Confirm the API key value you provided on the Connect OneSignal page is the secret value shown when you created the key — not the
Key ID. - Re-check that the server URL is exactly
https://server.smithery.ai/onesignal/onesignalwith no extra paths or trailing characters. - Re-authenticate the server from your client’s MCP panel (
/mcpin Claude Code, Settings > MCP & Integrations in Cursor, MCP view in VS Code, orcodex mcp login onesignalfor Codex). - Restart the MCP client and start a new chat session. This resolves most transient connection and session issues.
MCP tool capabilities
OneSignal MCP Server currently supports 31 tools across 7 categories.Messaging (3 tools)
| Action | Tool |
|---|---|
| Send a push notification, email, or SMS/RCS | send_message |
| List recent notifications | list_messages |
| View notification details and delivery stats | view_message |
Users and subscriptions (12 tools)
| Action | Tool |
|---|---|
| Look up a user by alias | view_user |
| Get a user’s identity aliases | get_user_identity |
| Get identity by subscription ID | get_user_identity_by_subscription |
| Create a new user with properties | create_user |
| Update user properties (tags, language, and more) | update_user |
| Add or update identity aliases | create_or_update_alias |
| Add aliases via subscription ID | create_alias_by_subscription |
| Add a push, email, or SMS subscription | create_subscription |
| Update an existing subscription | update_subscription |
| Update a subscription by token | update_subscription_by_token |
| Unsubscribe an email address | unsubscribe_email |
| Transfer a subscription to a different user | transfer_subscription |
Templates (4 tools)
| Action | Tool |
|---|---|
| List templates | list_templates |
| View a template | get_template |
| Create a template | create_template |
| Update a template | update_template |
Segments (4 tools)
| Action | Tool |
|---|---|
| List segments | list_segments |
| View a segment and filters | get_segment |
| Create a segment | create_segment |
| Update a segment | update_segment |
Live Activities (2 tools)
| Action | Tool |
|---|---|
| Start an iOS Live Activity | start_live_activity |
| Update or end a Live Activity | update_live_activity |
Exports (2 tools)
| Action | Tool |
|---|---|
| Export subscriptions to CSV | export_subscriptions_csv |
| Export notification audience activity to CSV | export_audience_activity_csv |
Analytics and utility (4 tools)
| Action | Tool |
|---|---|
| View outcome analytics | view_outcomes |
| Check server health | onesignal_health |
| View server configuration | onesignal_config |
| View a reference overview of all tools | onesignal_reference_overview |
Safety and guardrails
OneSignal MCP Server includes built-in protections for high-impact actions.send_message protections
- AI clients treat
send_messageas a high-impact action and ask for confirmation before execution send_messagehas a lower rate limit (30 requests per minute) than other tools- Targeting is validated before send (single targeting method, capped filters, recipient limits)
- Inputs are validated before execution, including identifiers and contact fields
Additional controls
- Access is controlled per app and can be enabled or disabled by OneSignal
- Per-session rate limits help prevent runaway tool loops
- The MCP server is stateless and does not store customer data
Known limitations
- One MCP configuration supports one OneSignal app (
app_id) - Sessions expire after inactivity and automatically re-establish on the next request
- During open beta, app access may require enablement before non-utility tools are available
FAQ
What AI clients can I use with OneSignal MCP Server?
You can use Claude Desktop, Claude.ai, Claude Code, OpenAI Codex, GitHub Copilot in VS Code, Cursor, and any other MCP-compatible client that supports remote Streamable HTTP servers.Does OneSignal MCP Server cost extra?
The MCP server is free. MCP tool calls still count against your normal OneSignal API usage limits, and your AI client may have separate usage costs.Why does my Key ID not work as api_key?
Key ID is an identifier, not the secret API key value. MCP setup requires the REST API key value that is shown one time when the key is created. If you no longer have that value, create a new API key and use that key value in your MCP configuration.
Can AI send notifications without my approval?
No.send_message is flagged as a high-impact action, and compatible MCP clients ask for confirmation before running it.
Is customer data stored by the MCP server?
No. OneSignal MCP Server is stateless and does not store your customer data.How do I use MCP with multiple OneSignal apps?
Create one MCP server configuration per app. Each configuration uses its ownapp_id and api_key.