MCP inbound notifications not reaching Claude Code session (Discord & Telegram)

Resolved 💬 3 comments Opened Mar 29, 2026 by khwoo8905-maker Closed Apr 2, 2026

Summary

MCP plugin notifications (notifications/claude/channel) are not being delivered to the Claude Code session. This affects both the Discord and Telegram channel plugins — identical symptom on both.

What works

  • Bot process runs correctly (confirmed via logs)
  • Bot receives inbound messages from users ✅
  • fetch_messages tool reads messages successfully ✅
  • reply tool sends responses back to users ✅
  • gate() / allowlist authorization passes ✅
  • Bot shows typing indicator in Discord ✅

What doesn't work

  • mcp.notification("notifications/claude/channel") never reaches the Claude Code session ❌
  • No inbound message prompt appears in Claude Code when a user sends a DM
  • This is consistent across both Discord and Telegram plugins — same notification path, same failure

Environment

  • macOS (Darwin 25.2.0)
  • Claude Code CLI (latest)
  • Discord plugin: cache/discord/0.0.4
  • Telegram plugin: also configured and exhibiting the same behavior

Steps to reproduce

  1. Configure Discord (or Telegram) bot with token, pairing, and allowlist
  2. Start Claude Code session
  3. Send a DM to the bot from Discord
  4. Bot receives the message (visible via fetch_messages), but Claude Code session is never notified

Expected behavior

Inbound messages should trigger a notification in the active Claude Code session so the assistant can respond automatically.

Workaround

Manual polling via fetch_messages + reply works, but defeats the purpose of real-time inbound message handling.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗