claude-code - 💡(How to fix) Fix ExitPlanMode approval UI breaks when Discord channel connection is enabled [1 participants]

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…
GitHub stats
anthropics/claude-code#48395Fetched 2026-04-16 07:01:23
View on GitHub
Comments
0
Participants
1
Timeline
4
Reactions
0
Author
Participants
Timeline (top)
labeled ×4

When the Discord channel connection setting (MCP plugin) is active, the ExitPlanMode tool's approval UI does not function correctly. Disabling the Discord channel connection resolves the issue.

Root Cause

When the Discord channel connection setting (MCP plugin) is active, the ExitPlanMode tool's approval UI does not function correctly. Disabling the Discord channel connection resolves the issue.

Fix Action

Workaround

Disable the Discord channel connection setting before using plan mode.

RAW_BUFFERClick to expand / collapse

Summary

When the Discord channel connection setting (MCP plugin) is active, the ExitPlanMode tool's approval UI does not function correctly. Disabling the Discord channel connection resolves the issue.

Steps to Reproduce

  1. Enable the Discord channel connection setting in Claude Code
  2. Enter plan mode via EnterPlanMode
  3. Call ExitPlanMode to request plan approval
  4. Approval UI does not appear / behaves incorrectly

Expected Behavior

ExitPlanMode approval UI should appear and allow the user to approve or reject the plan, regardless of Discord channel connection state.

Actual Behavior

With Discord channel connection enabled, ExitPlanMode does not work properly. The approval prompt is disrupted.

Workaround

Disable the Discord channel connection setting before using plan mode.

Environment

  • Platform: macOS (darwin 25.3.0)
  • Shell: zsh

extent analysis

TL;DR

Disable the Discord channel connection setting to restore the ExitPlanMode approval UI functionality.

Guidance

  • Investigate potential conflicts between the Discord channel connection setting and the ExitPlanMode tool to identify the root cause of the issue.
  • Verify that disabling the Discord channel connection setting resolves the issue, as described in the workaround.
  • Test the ExitPlanMode tool with the Discord channel connection setting enabled and disabled to confirm the reproducibility of the issue.
  • Consider implementing a temporary fix to automatically disable the Discord channel connection setting when entering plan mode, if disabling it manually is not feasible.

Example

No code snippet is provided, as the issue does not include specific code details.

Notes

The provided workaround suggests that the Discord channel connection setting is the primary cause of the issue. However, the underlying reason for this conflict is unclear and may require further investigation.

Recommendation

Apply the workaround by disabling the Discord channel connection setting when using the ExitPlanMode tool, as it is a confirmed solution to restore the approval UI functionality.

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