What is MCP?
Model Context Protocol (MCP) is an open standard, originally created by Anthropic, for connecting AI applications to external systems. It is now supported by major AI clients including Claude, Cursor, GitHub Copilot, ChatGPT, and OpenAI Codex. OneSignal MCP Server lets any of these clients run OneSignal actions without switching dashboard pages.Why use OneSignal MCP Server
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 AI client
Common use cases
You can ask your AI client 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
- List apps you can access, or look up custom event definitions
- Export subscribers or audience activity to CSV
Set up OneSignal MCP Server
You can usually complete setup in about 5 minutes. Every supported client connects to the same URL and authenticates with your OneSignal account via OAuth. OneSignal is listed in the Claude connectors directory, the Cursor Marketplace, and the OpenAI / ChatGPT plugins marketplace. In those clients you install OneSignal from the client’s own directory or marketplace, and sign-in starts automatically — there is no server URL to paste. Other MCP-compatible clients can connect using the same OneSignal sign-in flow.Connection details
All MCP clients connect to OneSignal’s hosted MCP endpoint:Supported clients
Prerequisites
- A OneSignal account with access to the apps you want to manage
- Permission to authorize OneSignal through the browser-based OAuth flow
- An AI client that either:
- Installs OneSignal from the Claude connectors directory, the Cursor Marketplace, or the OpenAI plugin directory, or
- Supports remote MCP servers with OneSignal sign-in
Configure your AI client
Pick the section for your AI client and follow the steps.Cursor
Install OneSignal from the official Cursor Marketplace. This is the recommended path for Cursor.Open the OneSignal plugin listing
Install the plugin
Authenticate with OneSignal
Use OneSignal in Agent chat
onesignal_health or listing your apps.mcp.json setup is not required when you install from the marketplace. If you prefer to configure it by hand, point Cursor at https://api.onesignal.com/mcp/oauth.ChatGPT and Codex (OpenAI)
Install OneSignal from the official OpenAI / ChatGPT plugins marketplace. This is the recommended path for ChatGPT and Codex.Open the plugins directory
Install OneSignal
Authorize OneSignal
Use OneSignal in a new chat
@OneSignal), and try a read-only prompt such as checking server health or listing apps you can access.Claude (Claude Desktop, claude.ai, and mobile)
Install OneSignal from the Claude connectors directory. This is the recommended path for Claude, and it requires no server URL or OAuth credentials.Open the connectors directory
Add OneSignal
Sign in to OneSignal
Use OneSignal in a new chat
Manual setup with a custom connector
Manual setup with a custom connector
claude_desktop_config.json, which is only for local stdio servers.- Open Settings > Connectors and click Add custom connector.
-
Provide:
- Name:
OneSignal - Remote MCP server URL:
https://api.onesignal.com/mcp/oauth
- Name:
- Leave OAuth Client ID and OAuth Client Secret under Advanced settings blank. OneSignal registers your client automatically, so filling these fields causes the connection to fail.
- Click Add (or Connect), then complete the OneSignal sign-in and consent flow in your browser.
Claude Code
Add OneSignal MCP Server
Authenticate from inside Claude Code
claude, then type /mcp to open the MCP panel. Select onesignal, then choose Authenticate to open OneSignal’s sign-in page in your browser.Approve access
claude mcp list or run /mcp inside Claude Code to view the tool count.
Any other MCP client
Clients without an official OneSignal listing can connect if they support remote MCP servers and OneSignal sign-in.Add the OneSignal MCP URL to your client's config
https://api.onesignal.com/mcp/oauth. For GitHub Copilot in VS Code, use .vscode/mcp.json in your workspace to share with your team, or run MCP: Open User Configuration from the Command Palette to install for your user profile:Authenticate when prompted
Confirm the tools loaded
onesignal_health.Verify the connection
After setup, start a new chat and ask your AI client:Manage and revoke access
Every AI client you connect appears in your OneSignal account settings under Connected apps. From there you can:- Review which AI clients have access and when they were authorized
- Revoke a client’s access at any time, which revokes the tokens granted to that client
Troubleshooting
If a request fails unexpectedly, try the following in order:- Re-authenticate. Open your client’s plugin or MCP settings and reconnect OneSignal, then start a new chat.
- Check the server URL. Confirm it is exactly
https://api.onesignal.com/mcp/oauthwith no extra paths or trailing characters. - Confirm app access. Make sure the signed-in OneSignal account can access the app you’re asking about.
- Restart the AI client and start a new chat session. This resolves most transient connection and session issues.
MCP tool capabilities
OneSignal MCP Server currently supports 34 tools across 9 categories.Apps (1 tool)
Messaging (3 tools)
Users and subscriptions (12 tools)
Templates (4 tools)
Segments (4 tools)
Live Activities (2 tools)
Exports (2 tools)
Custom events (2 tools)
Analytics and utility (4 tools)
Safety and guardrails
OneSignal MCP Server includes built-in protections for high-impact actions.send_message protections
send_messageis marked as a high-impact action, so compatible AI clients may ask for confirmation before running it- Targeting is validated before send (only one targeting method at a time, and filters are capped)
- Inputs are validated before execution, including identifiers and contact fields such as email addresses and phone numbers
Additional controls
- Access is controlled per app and can be enabled or disabled by OneSignal
- Tool calls are rate limited to help prevent runaway tool loops
- The MCP server does not store your customer data (subscribers, messages, exports)
- You can revoke any connected AI client from Connected apps in your account settings
Known limitations
- Your connection follows the signed-in user’s account permissions and can access multiple apps
- During open beta, app access may require enablement before non-utility tools are available
- Clients that only support local
stdioMCP servers cannot connect
FAQ
What AI clients can I use with OneSignal MCP Server?
Any MCP-compatible client that supports remote servers and OneSignal sign-in can connect. OneSignal is listed in the Claude connectors directory, the Cursor Marketplace, and the OpenAI / ChatGPT plugins marketplace; other compatible clients connect directly with the MCP URL.Do I need a REST API key?
No. All supported connections use OneSignal OAuth. You sign in through your browser and approve access — there is no API key to copy, store, or rotate in your AI client config.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.Can AI send notifications without my approval?
send_message is marked as a high-impact action, and compatible AI clients may ask for confirmation before running it. Always review send requests before approving them in your AI client.
Is customer data stored by the MCP server?
No. OneSignal MCP Server does not store your customer data (subscribers, messages, or exports). Your connection is an OAuth grant tied to your OneSignal account, which you can revoke at any time from Connected apps.How do I use MCP with multiple OneSignal apps?
One connection can access the apps your OneSignal account is allowed to manage. Uselist_apps when you need to discover app IDs. You do not need a separate configuration per app.
Related pages
REST API overview
Create message API
send_message and other messaging tools.