KosmoKrator

communication

Novu MCP Integration for Claude Agent SDK

Connect Novu to Claude Agent SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

7 functions 5 read 2 write API key auth

Connect Novu to Claude Agent SDK

Give Claude Agent SDK workflows access to KosmoKrator integrations through a local MCP server.

Add a KosmoKrator stdio MCP server to the Claude Agent SDK options. The gateway is local, scoped to this integration, and starts with --write=deny so Claude Agent SDK can inspect read-capable tools without receiving write access by default.

Novu MCP Config for Claude Agent SDK

Use a narrow integration list so the agent does not load unrelated tools.

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

Run the Gateway Manually

kosmokrator mcp:serve --integration=novu --write=deny

Why Use KosmoKrator Here

Scoped tools

Expose only Novu 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.

Novu Tools Visible to Claude Agent SDK

Claude Agent SDK sees stable MCP tool names generated from the Novu integration catalog.

MCP toolSource functionTypeDescription
integration__novu__novu_list_notifications novu.novu_list_notifications Read List notifications from Novu. Returns a paginated list of notifications, optionally filtered by channel (e.g., in_app, email, sms, chat, push).
integration__novu__novu_get_notification novu.novu_get_notification Read Get details of a specific notification in Novu by its ID. Returns the full notification object including status, channel data, and content.
integration__novu__novu_list_subscribers novu.novu_list_subscribers Read List subscribers from Novu. Returns a paginated list of all notification subscribers with their details.
integration__novu__novu_get_subscriber novu.novu_get_subscriber Read Get details of a specific subscriber in Novu by their ID. Returns the subscriber profile including email, phone, and preferences.
integration__novu__novu_create_subscriber novu.novu_create_subscriber Write Create a new subscriber in Novu. Requires an email address. Optionally include first name, last name, and phone number.
integration__novu__novu_trigger_event novu.novu_trigger_event Write Trigger a notification event in Novu. Sends a notification based on a workflow template to one or more subscribers. The "to" field can be a subscriber ID, email address, or an array of recipients.
integration__novu__novu_get_current_user novu.novu_get_current_user Read Get the currently authenticated Novu user. Returns user profile information including name, email, and organization details.

Related Novu Pages