Skip to main content
Glama

Novu MCP Server

Official
by novuhq

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

  1. Install dependencies:
npm install
  1. Build the project:
npm run build
  1. Start the MCP server:
npm start

For development, you can use:

npm run dev

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 subscribers
  • broadcast_event: Send a notification to all subscribers
  • cancel_triggered_event: Cancel a triggered notification

Notifications

  • get_notifications: List notifications with pagination
  • get_notification_stats: Get notification statistics

Subscribers

  • get_subscribers: List subscribers with pagination
  • create_subscriber: Create a new subscriber
  • update_subscriber: Update subscriber details
  • delete_subscriber: Remove a subscriber

Topics

  • get_topics: List all topics
  • create_topic: Create a new topic
  • delete_topic: Delete an existing topic
  • add_subscribers_to_topic: Add subscribers to a topic
  • remove_subscribers_from_topic: Remove subscribers from a topic

Example Usage

To trigger a notification:

{ "type": "execute", "payload": { "operation": "trigger_event", "params": { "name": "welcome-email", "to": "subscriber-id", "payload": { "name": "John Doe", "company": "Acme Inc" } } } }

To create a subscriber:

{ "type": "execute", "payload": { "operation": "create_subscriber", "params": { "subscriberId": "unique-id", "email": "john@example.com", "firstName": "John", "lastName": "Doe" } } }

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.

-
security - not tested
F
license - not found
-
quality - not tested

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.

Enables AI agents to interact with Novu's notification system, facilitating operations like sending notifications, managing subscribers, and organizing topics.

  1. Setup
    1. Configuration
      1. Available Operations
        1. Events
        2. Notifications
        3. Subscribers
        4. Topics
      2. Example Usage
        1. Development

          Related MCP Servers

          • -
            security
            A
            license
            -
            quality
            A Model Context Protocol implementation that enables AI agents to send notifications through Pushover.net, supporting message customization with various parameters like priority, sound, and URL.
            Last updated -
            20
            25
            TypeScript
            MIT License
          • -
            security
            F
            license
            -
            quality
            Integrates with the AgentCraft framework to enable secure communication and data exchange between AI agents, supporting both premade and custom enterprise AI agents.
            Last updated -
            1
            Python
            • Apple
            • Linux
          • -
            security
            F
            license
            -
            quality
            A modular, scalable news aggregation backend that provides a unified interface to TheNewsAPI for retrieving current and historical news articles with advanced filtering capabilities, designed specifically for consumption by AI agents.
            Last updated -
            4
          • -
            security
            A
            license
            -
            quality
            Provides audio playback functionality for AI agents, allowing them to play notification sounds when coding tasks are completed.
            Last updated -
            1
            Python
            MIT License
            • Apple

          View all related MCP servers

          MCP directory API

          We provide all the information about MCP servers via our MCP API.

          curl -X GET 'https://glama.ai/api/mcp/v1/servers/novuhq/smithery-mcp'

          If you have feedback or need assistance with the MCP directory API, please join our Discord server