Kiro icon indicating copy to clipboard operation
Kiro copied to clipboard

MCP: client does not honor notifications/tools/list_changed (tool list not refreshed at runtime)

Open miyako11 opened this issue 6 months ago • 2 comments

Before opening, please confirm:

Operating System

Windows11

Kiro Version

0.12.263

Bug Description

Kiro does not react to the MCP notifications/tools/list_changed notification. When a connected MCP server changes its advertised tool set at runtime and sends this notification, Kiro keeps showing the stale tool list. The only way to pick up the new tools is to manually Reconnect the server (or restart Kiro).

Notably, Kiro DOES honor the equivalent behavior for prompts — the docs state "The list of available prompts updates automatically when servers add or remove them" (https://kiro.dev/docs/mcp/usage/#mcp-prompts) — but there is no equivalent handling for tools.

MCP protocol context

Per the MCP spec, a server that can change its tool list at runtime:

  1. Declares the capability in the initialize result: {"capabilities": {"tools": {"listChanged": true}}}
  2. Sends {"jsonrpc":"2.0","method":"notifications/tools/list_changed"} whenever the tool set changes. The client is expected to re-issue tools/list upon receiving that notification.

Kiro appears to ignore step 2 for tools.

Steps to reproduce

  1. Configure a remote (Streamable HTTP) MCP server in mcp.json:
{
     "mcpServers": {
       "test-mcp": {
         "url": "http://127.0.0.1:13536/mcp"
       }
     }
}
  1. Make "test-mcp" server advertises tools.listChanged: true and emit notifications/tools/list_changed.)

Expected behavior

After the server sends notifications/tools/list_changed, Kiro should re-queries tools/list and the newly available tools appear automatically (no manual reconnect), consistent with how Kiro already handles prompt list changes. All others IDE I tested also does this properly.

Actual behavior

Kiro continues to show only the tools that were present at connect time. The new tools only appear after manually right-clicking the server → "Reconnect" (or restarting Kiro).

Any mcp-server whose tool list grows at runtime will not work properly because of this issue.

miyako11 avatar May 31 '26 02:05 miyako11

🤖 Potential Duplicate Detected

This issue appears to be similar to:

What happens next?

  • ⏰ This issue will be automatically closed in 3 days
  • 🏷️ If this is not a duplicate, you can prevent automatic closure by adding a comment or reacting with 👎 to this message.
  • 💬 Comment on the original issue if you have additional information

Why is this marked as duplicate? Exact duplicate - both report that Kiro IDE does not handle MCP notifications/tools/list_changed and fails to refresh dynamic tools at runtime, requiring manual reconnection

github-actions[bot] avatar May 31 '26 02:05 github-actions[bot]

This issue has been automatically closed as it appears to be a duplicate of #6553.

If you believe this is incorrect, please comment on this issue and a maintainer will review it.

github-actions[bot] avatar Jun 04 '26 00:06 github-actions[bot]