Telegram channel: mcp.notification() returns success but notification never rendered in conversation

Resolved 💬 3 comments Opened May 24, 2026 by jacewang888-sys Closed May 24, 2026

Environment

  • OS: Windows 11 Home China (10.0.26100)
  • Claude Code: 2.1.150 (installed via npm)
  • Plugin: telegram@claude-plugins-official v0.0.6
  • Runtime: Bun 1.3.14

Symptoms

Telegram bot receives messages, outbound reply tool works perfectly, but inbound messages never appear in the Claude Code conversation.

Diagnostic evidence (confirmed via debug logging in server.ts)

  1. Polling works — bot.start() successfully receives messages from Telegram
  2. Message handler fires — handleInbound() called with correct text, senderId, chatId
  3. Gate passes — gate() returns deliver for allowlisted sender
  4. Notification sent OK — mcp.notification() resolves without error
  5. Notification lost — no channel tag appears in conversation

Key finding

NOT the same as #36606 (polling loop not running). Polling, message handling, and gating all work. The break is between mcp.notification() returning success and Claude Code rendering the notification. The JSON-RPC notification is written to stdout but silently dropped.

Steps to reproduce

  1. Install telegram@claude-plugins-official on Windows
  2. Configure bot token
  3. Pair with bot
  4. Send DM — message received by server but never shown in Claude Code

View original on GitHub ↗

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