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
- AsecurityAlicenseAqualityEnables AI agents to manage issues, projects, and teams on the Linear platform programmatically.Last updated -78350JavaScriptMIT License
- -securityFlicense-qualityEnables AI agents to control web browsers via a standardized interface for operations like launching, interacting with, and closing browsers.Last updated -0JavaScript
- AsecurityAlicenseAqualityEnables AI models to interact with messages from various messaging platforms (Mobile, Mail, WhatsApp, LinkedIn, Slack, Twitter, Telegram, Instagram, Messenger) through a standardized interface.Last updated -38PythonMIT License
- -securityAlicense-qualityEnables multiple AI agents to share and read each other's responses to the same prompt, allowing them to reflect on what other LLMs said to the same question.Last updated -TypeScriptMIT License