Novu MCP 実装
これは Novu のモデル コンテキスト プロトコル (MCP) サーバーの TypeScript 実装であり、AI エージェントが Novu の通知インフラストラクチャと対話できるようにします。
設定
- 依存関係をインストールします:
- プロジェクトをビルドします。
- MCP サーバーを起動します。
開発には以下を使用できます:
構成
MCPサーバーを使用するには、 smithery.yml
でNovu APIキーを設定する必要があります。APIキーはNovuダッシュボードから取得できます。
利用可能な操作
MCP サーバーは次の Novu 操作をサポートしています。
イベント
trigger_event
: 特定の購読者に通知を送信するbroadcast_event
: すべての購読者に通知を送信するcancel_triggered_event
: トリガーされた通知をキャンセルする
通知
get_notifications
: ページ区切り付きの通知を一覧表示するget_notification_stats
: 通知統計を取得する
購読者
get_subscribers
: ページ区切りで購読者を一覧表示するcreate_subscriber
: 新しいサブスクライバーを作成するupdate_subscriber
: 購読者の詳細を更新するdelete_subscriber
: サブスクライバーを削除する
トピック
get_topics
: すべてのトピックを一覧表示するcreate_topic
: 新しいトピックを作成するdelete_topic
: 既存のトピックを削除するadd_subscribers_to_topic
: トピックにサブスクライバーを追加するremove_subscribers_from_topic
: トピックからサブスクライバーを削除する
使用例
通知をトリガーするには:
サブスクライバーを作成するには:
発達
ソースコードはTypeScriptで記述されており、最新の開発手法に従っています。主な実装はsrc/index.ts
にあり、Novu固有のロジックは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 -1MIT License
- -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 -2MIT 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 -1912,505MIT License
- AsecurityAlicenseAqualityEnables AI agents to interact with Notion workspaces through the Notion API. Supports reading, writing, and managing pages, databases, and comments with optimized token consumption.Last updated -1912,505MIT License