Novu MCP Implementation
This is a TypeScript implementation of a Model Context Protocol (MCP) server for Novu, allowing AI agents to interact with Novu's notification infrastructure.
Setup
- Install dependencies:
- Build the project:
- Start the MCP server:
For development, you can use:
Configuration
The MCP server requires a Novu API key to be configured in smithery.yml
. You can obtain an API key from your Novu dashboard.
Available Operations
The MCP server supports the following Novu operations:
Events
trigger_event
: Send a notification to specific subscribersbroadcast_event
: Send a notification to all subscriberscancel_triggered_event
: Cancel a triggered notification
Notifications
get_notifications
: List notifications with paginationget_notification_stats
: Get notification statistics
Subscribers
get_subscribers
: List subscribers with paginationcreate_subscriber
: Create a new subscriberupdate_subscriber
: Update subscriber detailsdelete_subscriber
: Remove a subscriber
Topics
get_topics
: List all topicscreate_topic
: Create a new topicdelete_topic
: Delete an existing topicadd_subscribers_to_topic
: Add subscribers to a topicremove_subscribers_from_topic
: Remove subscribers from a topic
Example Usage
To trigger a notification:
To create a subscriber:
Development
The source code is written in TypeScript and follows modern development practices. The main implementation is in src/index.ts
, with Novu-specific logic in src/novu-service.ts
.
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
使 AI 代理能够与 Novu 的通知系统进行交互,从而促进发送通知、管理订阅者和组织主题等操作。
Related Resources
Related MCP Servers
- -securityAlicense-qualityProvides audio playback functionality for AI agents, allowing them to play notification sounds when coding tasks are completed.Last updated -1PythonMIT License
- -securityFlicense-qualityProvides social media functionality for AI agents, enabling them to login with unique handles, read filtered posts, and create posts or replies within team-based discussions.Last updated -3TypeScript
- -securityAlicense-qualityEnables AI assistants to interact with New Relic monitoring and observability data through programmatic access to New Relic APIs. Supports APM management, NRQL queries, alert policies, synthetic monitoring, dashboards, infrastructure monitoring, and deployment tracking.Last updated -1PythonMIT License
- AsecurityAlicenseAqualityEnables AI agents to interact with Notion workspaces through the Notion API. Supports reading, writing, commenting, and managing Notion pages and databases with optimized token consumption for AI agents.Last updated -198,199MIT License