Kiro icon indicating copy to clipboard operation
Kiro copied to clipboard

Global MCP starts before workspace open

Open unicorne-klarocque opened this issue 4 months ago • 3 comments

Before opening, please confirm:

Operating System

macOS Tahoe 26.5.1

Kiro Version

0.12.333

Bug Description

Open a new Kiro window, MCP start trying to connect right away. If using sudo we are spammed by password request.

Image

Steps to Reproduce

  1. Open a new Kiro window
  2. Set MCP to use sudo in the config
  3. Open a new Kiro window
  4. Struggle with a flood of prompt request for password

Expected Behavior

Either A) The MCP tools should show in the usual Kiro tab even if a project is not opened so we can disable them B) The MCP tools should not start at all until a workspace is added

Conversation ID

No response

Additional Context

No response

unicorne-klarocque avatar Jul 29 '26 12:07 unicorne-klarocque

Thanks for reporting this issue! The behavior of global MCP servers attempting to connect immediately before a workspace is opened — especially the password prompt flood when using sudo — is a great catch. A maintainer will review this shortly and evaluate the best approach for handling MCP initialization timing. We appreciate you taking the time to document the steps and suggest potential solutions! 🙌

github-actions[bot] avatar Jul 29 '26 12:07 github-actions[bot]

Thanks for reporting this. MCP server lifecycle and loading order have been significantly reworked since 0.12.333. Could you retest on the latest version (IDE 1.0.242) and let us know if global MCP servers still start before the workspace is open?

To update: download from kiro.dev.

AnilMaktala avatar Aug 03 '26 19:08 AnilMaktala

Yes seems to have been fix. Thanks.

unicorne-klarocque avatar Aug 04 '26 19:08 unicorne-klarocque