KosmoKrator

communication

OneSignal MCP Integration for Generic MCP Clients

Connect OneSignal to Generic MCP Clients through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

7 functions 6 read 1 write API key auth

Connect OneSignal to Generic MCP Clients

Connect any stdio-compatible MCP client to local KosmoKrator integration tools.

Register kosmo mcp:serve as the command for a local stdio MCP server. The gateway is local, scoped to this integration, and starts with --write=deny so MCP clients can inspect read-capable tools without receiving write access by default.

OneSignal MCP Config for Generic MCP Clients

Start with read-only write policy and expand only for trusted projects.

{
  "mcpServers": {
    "kosmokrator-one-signal": {
      "type": "stdio",
      "command": "kosmo",
      "args": [
        "mcp:serve",
        "--integration=one-signal",
        "--write=deny"
      ]
    }
  }
}

Run the Gateway Manually

kosmokrator mcp:serve --integration=one-signal --write=deny

Why Use KosmoKrator Here

Scoped tools

Expose only OneSignal instead of a broad multi-service tool list.

Local credentials

Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.

Write policy

Start read-only, then opt into ask or allow for trusted workspaces.

OneSignal Tools Visible to MCP clients

MCP clients sees stable MCP tool names generated from the OneSignal integration catalog.

MCP toolSource functionTypeDescription
integration__one_signal__onesignal_list_notifications one-signal.onesignal_list_notifications Read List push notifications sent through OneSignal. Returns notification details including delivery stats, click counts, and outcomes. Use limit and offset for pagination.
integration__one_signal__onesignal_get_notification one-signal.onesignal_get_notification Read Get details of a specific OneSignal push notification by its ID. Returns full notification data including content, delivery stats, and targeting.
integration__one_signal__onesignal_create_notification one-signal.onesignal_create_notification Write Send a new push notification via OneSignal. Specify message contents (per language), optional headings, target segments, a click URL, and a custom data payload.
integration__one_signal__onesignal_list_devices one-signal.onesignal_list_devices Read List devices (players) registered in a OneSignal app. Returns device identifiers, platform, session counts, and tags. Use limit and offset for pagination.
integration__one_signal__onesignal_get_device one-signal.onesignal_get_device Read Get details of a specific OneSignal device (player) by its ID. Returns push token, platform, session data, tags, and more.
integration__one_signal__onesignal_list_apps one-signal.onesignal_list_apps Read List all OneSignal apps accessible with the configured REST API key. Returns app names, IDs, player counts, and configuration.
integration__one_signal__onesignal_get_current_app one-signal.onesignal_get_current_app Read Get details of a specific OneSignal app by its ID. Returns app configuration, player counts, and platform settings.

Related OneSignal Pages