Claude Code Telegram Plugin Bug: MCP Notifications Silently Dropped — Workaround via File Polling and tmux Injection

✍️ OpenClawRadar📅 Published: May 14, 2026🔗 Source
Claude Code Telegram Plugin Bug: MCP Notifications Silently Dropped — Workaround via File Polling and tmux Injection
Ad

A Reddit user discovered a bug in Claude Code: the MCP notification system silently drops inbound messages on the stdio transport. The Telegram plugin itself is fine — the problem is in Claude Code's client. The user confirmed the bug by tracing the call chain:

  • handleInbound() fires ✅
  • gate() returns deliver
  • bot.api.sendChatAction('typing') fires (user sees typing indicator) ✅
  • mcp.notification({ method: 'notifications/claude/channel', ... }) is called ✅
  • Claude Code receives it and silently does nothing

The bug is reproducible on WSL2, Linux, and likely all platforms. A GitHub issue has been opened: #46744.

Ad

Workaround

Since the MCP notification path is broken, the user built an alternative delivery system:

  • Patch server.ts to write incoming messages to a local JSON inbox file
  • A shell watcher polls every 5 seconds, detects when Claude is idle, and injects the message via tmux send-keys
  • A watchdog auto-restarts the service if Claude stalls

Key pitfalls encountered:

  • tmux new-session silently fails in systemd without export TERM="xterm-256color" and -x 220 -y 50
  • kill 0 in the trap causes SIGSEGV ~60s after startup — use kill $WATCHER_PID
  • Idle check MUST exclude "esc to interrupt" or the watcher spams while Claude is processing

Full code, systemd unit, cron fallback, and verification checklist are available at: https://github.com/LozzKappa/claude-code-telegram-bot

Latency with the workaround is 5–9 seconds. The real fix needs to come from Anthropic — fixing the MCP notification handler inside Claude Code.

📖 Read the full source: r/ClaudeAI

Ad

👀 See Also

Claude-Code v2.1.80 adds rate limit monitoring, plugin improvements, and memory optimizations
News

Claude-Code v2.1.80 adds rate limit monitoring, plugin improvements, and memory optimizations

Claude-Code v2.1.80 introduces a rate_limits field for statusline scripts to display Claude.ai usage, adds source: 'settings' plugin marketplace support, and reduces memory usage by ~80 MB in large repositories. The release also fixes parallel tool result restoration, WebSocket failures, and various UI issues.

OpenClawRadar
Anthropic study reveals cognitive degradation in AI-assisted workflows
News

Anthropic study reveals cognitive degradation in AI-assisted workflows

Anthropic's global study of 80,000 users found academic users report cognitive degradation rates 2.5x higher than average when using AI tools like Claude and Cursor. The source identifies the problem as users eliminating the 'digestion phase' of work.

OpenClawRadar
Anthropic releases AI tool for analyzing COBOL codebases, IBM stock drops 13%
News

Anthropic releases AI tool for analyzing COBOL codebases, IBM stock drops 13%

Anthropic has released an AI tool that analyzes COBOL codebases to flag risks and reduce modernization costs. The announcement triggered a 13% drop in IBM's stock as the market perceived it as a threat to IBM's legacy system management business.

OpenClawRadar
Control-UI LAN Access Issues in Docker OpenClaw Bridge Networks
News

Control-UI LAN Access Issues in Docker OpenClaw Bridge Networks

A user reports persistent problems accessing OpenClaw's Control-UI via LAN connections in Docker bridge networks, with version 2026.3.14 briefly supporting token-based access before subsequent versions reverted to requiring pairing and throwing scope errors.

OpenClawRadar