claude-code - 💡(How to fix) Fix Telegram channel: mcp.notification() returns success but notification never rendered in conversation

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

  1. Notification sent OK — mcp.notification() resolves without error
RAW_BUFFERClick to expand / collapse

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

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix Telegram channel: mcp.notification() returns success but notification never rendered in conversation