OneSignal MCP server for AI agents

Live

OAUTH 2.1

CUSTOMER MESSAGING

Communication

OneSignal MCP gives your agent OneSignal's own MCP server through Scalekit: send messages, build and edit journeys, manage segments, templates, users, and subscriptions, and read email reputation, warm-up schedules, and message metrics.

  • Per-user credentials: each call uses the actual user's token, never a shared bot.
  • Encrypted per-tenant vault: AES-256, resolved at request time, never in LLM context.
  • Scoped before every call: pre-call scope check, 90-day SIEM-exportable audit chain.
OneSignal MCP
agent · Acme Q3
Run
Send a push to the Beta Testers segment announcing version 2.0.
S
onesignalmcp_send_message
810ms
Customer messaging agent
Sent the push notification to the Beta Testers segment and returned the message ID.
Sources: OneSignal segment, Beta Testers
onesignalmcp
1 message
18:29
Message Claude...

Tools your customer messaging agent reaches for on OneSignal MCP, scoped per user.

CALL ANY TOOL
54 tools for customer messaging in OneSignal MCP: send messages, build journeys, manage segments, templates, and users, and read email reputation, warm-up schedules, and metrics.
onesignalmcp_check_send_volume
Check send volume
Check whether an email send needs IP or domain warmup, given the sender domain and an estimated recipient count. Nothing is saved. Mainly a step in the email drafting flow rather than something users ask for directly: call it whenever the draft is email, before recommending a send or a schedule. It also answers the same question after the fact, when diagnosing a send that went badly. Pass the recipient count that send actually reached and the domain it went out on, and the advice tells you whether it was large enough relative to the domain's history to have needed a ramp. It takes a recipient count and a domain, no draft required. The email_deliverability skill owns that flow. Returns advice (none, recommended, required, or unspecified), factors explaining the verdict (exceeds_volume_threshold, exceeds_peak_30_day_recommendation), and baseline sending history for the domain (peak_daily_volume_30d, peak_date, contributing_app_count, where the app count covers every app sending on that domain). Preserve the returned advice in the final user-facing summary, including after adding a ramp to an existing draft. If advice is required, explicitly say warmup is required or necessary; saying only that the ramp matters or describing the risks is not enough. If advice is recommended, present it as a recommendation instead. The recommended schedule name describes the stages, not the strength of this verdict. For a small enough send the check short-circuits to advice: none with a zeroed baseline, without consulting sending history. The threshold is decided by the API, so do not guess at it or quote a number. In that case say the send is too small to need warmup, and do not present the zeroed baseline as the domain's real sending history. If the API returns HTTP 400 with Something went wrong, do not retry the identical request. Check get_email_domains for the selected domain. Only call it deactivated when that state is explicitly returned; otherwise report that the check failed and the warmup verdict and baseline are unavailable. Do not infer no sending history from this error or from empty provider reports. A successful recommended_warm_up_schedule response is an app-based proposal, not a replacement domain-volume verdict.
Parameters
Name
Type
Required
Description
app_id
string
Required
OneSignal App ID.
estimated_recipients
integer
Required
Estimated number of recipients for the send. Required.
sender_domain
string
Required
The actual sending domain, for example mail.example.com. Use a domain explicitly identified by the user and confirmed in get_email_domains, or the app's configured sending domain when available. A registered domain alone is not proof it is the default sender. If the sender is ambiguous, ask which domain. Do not infer it from a from address or silently substitute another domain. Check get_email_domains first: only state 2 (active) or 4 (manually_verified) is eligible for the domain-history lookup. State 1 (unverified) needs DNS verification; explain this prerequisite instead of running the check. State 3 (inactive) is deactivated. Do not treat a successful tiny-send check as proof of domain verification, because it skips the history lookup.
onesignalmcp_create_alias_by_subscription
Create alias by subscription
onesignalmcp_create_journey_draft
Create journey draft
onesignalmcp_create_segment
Create segment
onesignalmcp_create_template
Create template
onesignalmcp_delete_journey
Delete journey
onesignalmcp_duplicate_journey
Duplicate journey
onesignalmcp_export_audience_activity_csv
Export audience activity csv
onesignalmcp_get_active_warm_up_schedules
Get active warm up schedules
onesignalmcp_get_app_channel_availability
Get app channel availability
onesignalmcp_get_custom_events
Get custom events
onesignalmcp_get_email_reputation
Get email reputation
onesignalmcp_get_journey_schema
Get journey schema
onesignalmcp_get_provider_metrics
Get provider metrics
onesignalmcp_get_segment
Get segment
onesignalmcp_get_user_identity
Get user identity
onesignalmcp_list_apps
List apps
onesignalmcp_list_journeys
List journeys
onesignalmcp_list_segments
List segments
onesignalmcp_onesignal_config
Onesignal config
onesignalmcp_onesignal_reference_overview
Onesignal reference overview
onesignalmcp_read_skills
Read skills
onesignalmcp_recommended_warm_up_schedule
Recommended warm up schedule
onesignalmcp_start_live_activity
Start live activity
onesignalmcp_unsubscribe_email
Unsubscribe email
onesignalmcp_update_journey
Update journey
onesignalmcp_update_live_activity
Update live activity
onesignalmcp_update_subscription
Update subscription
onesignalmcp_update_template
Update template
onesignalmcp_view_outcomes
View outcomes

For more tools, view docs.

Build your Agent
Same auth pattern across LangChain, OpenAI, Anthropic, and Google ADK.
Python · LlamaIndex
import { ScalekitClient } from "@scalekit-sdk/node";
import { createReactAgent } from "@langchain/langgraph/prebuilt";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

// OneSignal tools scoped to this user
const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["onesignalmcp"], toolNames: [
    "onesignalmcp_send_message",
    "onesignalmcp_list_segments",
    "onesignalmcp_get_email_reputation"] },
  pageSize: 100,
});

const agent = createReactAgent({ llm, tools });
await agent.invoke({ messages: [{ role: "user", content: "Show my email reputation, list my segments, and send a push to the Beta Testers segment" }] });
import OpenAI from "openai";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const openai = new OpenAI();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["onesignalmcp"] }, pageSize: 100,
});

const res = await openai.chat.completions.create({
  model: "gpt-5",
  messages: [{ role: "user", content: "Show my email reputation, list my segments, and send a push to the Beta Testers segment" }],
  tools,
});

// Execute the tool call with the user's vaulted OneSignal OAuth token
await sk.tools.executeTool(res.choices[0].message.tool_calls[0], "user_123");
import Anthropic from "@anthropic-ai/sdk";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const anthropic = new Anthropic();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["onesignalmcp"] }, pageSize: 100,
});

const msg = await anthropic.messages.create({
  model: "claude-sonnet-5",
  max_tokens: 1024,
  messages: [{ role: "user", content: "Show my email reputation, list my segments, and send a push to the Beta Testers segment" }],
  tools,
});

// Tool call runs with the user's vaulted OneSignal OAuth token
await sk.tools.executeTool(msg.content, "user_123");
import { Agent } from "@google/adk/agents";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["onesignalmcp"] }, pageSize: 100,
});

const agent = new Agent({
  name: "customer_messaging_agent",
  model: "gemini-2.5-pro",
  instruction: "OneSignal tools scoped to this user",
  tools,
});

await agent.run("Show my email reputation, list my segments, and send a push to the Beta Testers segment");
Try these prompts
Copy any prompt into your agent. Each maps directly to a OneSignal MCP tool. Click to copy, paste into your agent, done.
Messages and templates
Copy the prompt
Copied
Send a push to the Beta Testers segment announcing version 2.0.
Copy the prompt
Copied
List my message templates.
Copy the prompt
Copied
Create a template for the weekly digest email.
Journeys and segments
Copy the prompt
Copied
List my journeys and show stats for the onboarding one.
Copy the prompt
Copied
Create a draft journey for trial users.
Copy the prompt
Copied
Create a segment of users who opened the app this week.
Email health and reporting
Copy the prompt
Copied
Show my email reputation.
Copy the prompt
Copied
Does this email send need a warm-up?
Copy the prompt
Copied
Show the outcomes for my last message.
SEE HOW AUTH WORKS
Each user signs in to OneSignal MCP once, and Scalekit stores and refreshes their tokens. Credentials stay vaulted, every call is scope checked, and every action is logged.
1
Authorize
Your user connects
OneSignal MCP
once. We tie it to their identity and the access they approved, with no shared bot account and no org-wide access
Who:
user ‘A’
when:
Once per user
access:
Limited to user
2
Store
Their
OneSignal MCP
credential lives in a vault scoped to them. User A's data is never reachable by an agent acting for user B, even on the same connection
vault:
encrypted
scope:
per-user
tenants:
isolated
3
Resolve
When your agent calls a
OneSignal MCP
tool, we fetch the right credential server-side. It never touches your agent, never appears in the LLM context, never shows up in your logs
speed:
~40ms
check:
before every call
seen by:
nobody
4
Audit
Every
OneSignal MCP
tool call is logged: who triggered it, which tool ran, what came back. 90 days of history, tied to the user who authorized it
history:
90 days
export:
SIEM-ready
logged:
every call
Test other agents
See the same per-user auth pattern across other communication connectors.
GTM and RevOps Teams
Outbound prospecting agent
Searches Apollo for prospects matching your ICP, scores and ranks them, drafts personalized outreach in Gmail, and logs every send to Google Sheets. Mail goes out as the rep, not from a shared inbox.
Test other agents
See the same per-user auth pattern across other communication connectors.
SALES
Outbound prospecting agent
Search Apollo for ICP matches, rank them, draft personalised Gmail outreach, and log every send to Google Sheets.
Why Scalekit
Secure your agent's access. Connectors ship in minutes
01.
Shared tokens break per-user analytics
A shared OneSignal MCP token looks fine in a demo. In production every message send looks like one service account, and you cannot tell which user triggered it. Scalekit resolves the credential of the actual user who triggered the agent, never a shared bot.
// shared token
audit → bot_service_account

// scalekit
audit → user_abc ✓
02.
Authentication is not authorization
03.
Multi-tenancy is architectural
04.
OneSignal MCP today. Ten connectors tomorrow.
“Our agents act across Salesforce, Gong, Google Drive, and more, on behalf of every customer. Scalekit behind the scenes meant we can keep adding tools without ever rebuilding how credentials or tool calling work.”
Venu Madhav Kattagoni
Head of Engineering / Von
FAQs
Frequently Asked Questions
Does the agent access OneSignal MCP as the user or through a shared service account?
As the user. Each user signs in to OneSignal MCP once, and Scalekit stores and refreshes their tokens. Messages, journey edits, and audience changes the agent makes are attributed to that user in your audit trail, not a shared service account.
Where is the OneSignal OAuth token stored?
In Scalekit's managed AES-256 token vault, namespaced per tenant. Refresh is automatic. Revocation is a single dashboard action. Credentials never appear in prompts, logs, or LLM context.
Can I limit what the agent does in OneSignal MCP?
Yes. Filter by tool name in listScopedTools to expose only what you want, for example the get, list, and view tools without onesignalmcp_send_message or onesignalmcp_delete_journey, which permanently deletes a journey. Of the 54 tools, 29 read, 10 write, and 15 are destructive. Scalekit also enforces scope checks before every API call.
What happens when a user revokes OneSignal MCP access?
The connection is invalidated on the next tool call. Subsequent requests for that user fail closed with a clear error. Other users in the tenant remain unaffected. The event is logged for audit.
How does the agent plan an email warm-up?
onesignalmcp_check_send_volume checks whether an email send needs IP or domain warm-up for a sender domain and recipient count. onesignalmcp_recommended_warm_up_schedule returns a staged schedule, and onesignalmcp_get_active_warm_up_schedules lists the warm-up ramps already running for the app. None of the three saves anything.
Start in your coding agent
Up and running in one command
Install the Scalekit skill in your editor of choice. Connector, auth, tools, prompt, all wired up
Claude Code REPL
/plugin marketplace add scalekit-inc/claude-code-authstack
/plugin install agentkit@scalekit-auth-stack
Cursor Code REPL
# ~/.cursor/mcp.json
{
""mcpServers"": {
""onesignalmcp"": {
""url"": ""https://mcp.scalekit.com/onesignalmcp"",
""headers"": { ""Authorization"": ""Bearer $SCALEKIT_TOKEN"" }
}
}
}
Codex Code REPL
# ~/.codex/config.toml
[mcp_servers.onesignalmcp]
url = ""https://mcp.scalekit.com/onesignalmcp""
auth_env = ""SCALEKIT_TOKEN""
Copilot Code REPL
# .vscode/mcp.json
{
""servers"": {
""onesignalmcp"": {
""url"": ""https://mcp.scalekit.com/onesignalmcp"",
""type"": ""http""
}
}
}