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

Labels

Issue - In ProgressSomeone is actively working on this. Should link to a PR soon.bugSomething isn't working

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions