[BUG] telegram MCP plugin disconnects mid-task during long-running operations

Resolved 💬 3 comments Opened May 11, 2026 by Liora33 Closed May 14, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

During sustained tool-call activity (long tasks: multi-file edits + git push + smoke tests + server restart), the telegram MCP plugin (plugin:telegram:telegram from claude-plugins-official 0.0.6) disconnects mid-task. The reply / react / edit_message / download_attachment tools become unavailable. Plugin auto-reconnects after the burst of activity ends. This recurs 3-5 times within a 30-min heavy task and breaks mid-task replies.

What Should Happen?

The telegram MCP plugin should remain connected throughout long-running tasks. Reply / react / edit_message tools should not drop mid-task.

Error Messages/Logs

<system-reminder>
The following deferred tools are no longer available (their MCP server disconnected): mcp__plugin_telegram_telegram__reply / react / edit_message / download_attachment
</system-reminder>
<system-reminder>
The following MCP servers have disconnected: plugin:telegram:telegram
</system-reminder>

Steps to Reproduce

  1. Install plugin:telegram:telegram (claude-plugins-official 0.0.6)
  2. Pair a Telegram chat via [/telegram](tg://bot_command?command=telegram):access
  3. Start a long task: 20+ sequential file edits + git add/commit/push + curl smoke tests + service restart
  4. Plugin disconnects after ~30-60s of sustained tool activity
  5. System reminder shows tools unavailable; reconnects once activity calms down

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.138 (Claude Code)

Platform

Anthropic API

Operating System

Ubuntu/Debian Linux

Terminal/Shell

Other

Additional Information

  • Runtime: bun on Linux 6.8.0-110-generic (RackNerd VPS)
  • Plugin path: [/root](tg://bot_command?command=root)/.claude/plugins/cache/claude-plugins-official/telegram/0.0.6
  • Workaround: bypass MCP via direct Telegram Bot API with TELEGRAM_BOT_TOKEN from plugin .env
  • Frequency: 3-5 disconnect/reconnect cycles within a 30-min heavy task session

Account type: Claude Pro/Max via OAuth login

View original on GitHub ↗

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