-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Summary
Add notifications/claude/channel support to the MCP server so that new webhook events are pushed into the Claude session in real-time, instead of requiring polling.
Motivation
Currently, the MCP server is poll-based — Claude must call get_pending_status or list_pending_events to check for new events. With Claude Code v2.1.80's channel notification support, the server can proactively push notifications when new events arrive.
Approach
- Register
experimental: { 'claude/channel': {} }capability on the MCP server. - Watch
events.jsonfor changes usingfs.watch. - When new pending events are detected, send
notifications/claude/channelwith event summary. - Track previously seen event IDs to avoid duplicate notifications.
Scope
- Experimental / test branch only initially.
- No changes to existing tool behavior.
🤖 Generated with Claude Code
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels