Skip to content

[BUG] Toggling "Always allow" for MCP tool in Chatview restarts server #8231

@hannesrudolph

Description

@hannesrudolph

Type

Bug

Problem / Value

Toggling the "Always allow" checkbox for an MCP tool in Chatview causes the connected MCP server to restart. This disrupts the chat flow and can delay or interrupt work.

Context

  • Affects users who approve MCP tools from within Chatview.
  • Occurs every time the checkbox is checked or unchecked.
  • Visible as a brief disconnect/reconnect of the server in the UI; any in‑flight operation may be affected.

Reproduction

  1. Open Chatview and trigger an MCP tool prompt
  2. Click the tool’s "Always allow" checkbox
  3. Observe server status/connection state
  4. Repeat by unchecking
  5. Note if it interrupts an in‑progress tool call

Constraints/Preferences

  • Changing "Always allow" should not restart the server. Prefer a lightweight update that doesn’t disrupt active sessions. If a restart is unavoidable, defer it until idle or batch the changes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue - Unassigned / ActionableClear and approved. Available for contributors to pick up.bugSomething isn't working

    Type

    No type

    Projects

    Status

    Issue [Unassigned]

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions