communication
Novu MCP Integration for Vercel AI SDK
Connect Novu to Vercel AI SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Novu to Vercel AI SDK
Use KosmoKrator as a local integration gateway for Vercel AI SDK agents and scripts.
Create an MCP client that starts or connects to the KosmoKrator gateway for the selected integration. The gateway is local, scoped to this integration, and starts with
--write=deny so Vercel AI SDK can inspect read-capable tools without receiving write access by default.
Novu MCP Config for Vercel AI SDK
Prefer CLI JSON calls when a workflow only needs one deterministic integration operation.
{
"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 Vercel AI SDK
Vercel AI SDK 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. |