communication
Novu MCP Integration for OpenAI Agents SDK
Connect Novu to OpenAI Agents SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Novu to OpenAI Agents SDK
Attach KosmoKrator integration tools to OpenAI Agents SDK workflows through a local MCP gateway.
Start the KosmoKrator MCP gateway locally and point the OpenAI Agents SDK MCP tool at that process or wrapper. The gateway is local, scoped to this integration, and starts with
--write=deny so OpenAI Agents can inspect read-capable tools without receiving write access by default.
Novu MCP Config for OpenAI Agents SDK
Use headless JSON commands for CI-style execution and MCP for agent tool discovery.
{
"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
Expose only Novu instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
Novu Tools Visible to OpenAI Agents
OpenAI Agents sees stable MCP tool names generated from the Novu integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
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. |