communication
Novu MCP Integration for LangGraph
Connect Novu to LangGraph through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Novu to LangGraph
Run KosmoKrator integration calls from LangGraph nodes while preserving local credentials and permissions.
Use a graph node that calls the KosmoKrator CLI for deterministic steps or an MCP client for dynamic tool selection. The gateway is local, scoped to this integration, and starts with
--write=deny so LangGraph can inspect read-capable tools without receiving write access by default.
Novu MCP Config for LangGraph
Headless CLI calls fit repeatable graph edges; MCP fits exploratory agent nodes.
{
"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 LangGraph
LangGraph 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. |