Novu MCP 구현
이는 Novu를 위한 MCP(Model Context Protocol) 서버의 TypeScript 구현으로, AI 에이전트가 Novu의 알림 인프라와 상호 작용할 수 있도록 해줍니다.
설정
- 종속성 설치:
지엑스피1
- 프로젝트를 빌드하세요:
- MCP 서버를 시작합니다.
개발을 위해 다음을 사용할 수 있습니다.
구성
MCP 서버를 사용하려면 smithery.yml
에 Novu API 키를 설정해야 합니다. Novu 대시보드에서 API 키를 받을 수 있습니다.
사용 가능한 작업
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