Kiro IDE does not handle MCP notifications/tools/list_changed — dynamic tools not refreshed
Before opening, please confirm:
- [x] I have searched for duplicate or closed issues
Operating System
macOS 26.3.1
Kiro Version
0.11.34
Bug Description
Kiro IDE does not handle the MCP notifications/tools/list_changed notification. When an MCP server dynamically adds or removes tools at runtime and sends this notification per the MCP spec, Kiro IDE does not re-query tools/list, so the new tools never appear until the server is manually reconnected.
Both VS Code (Copilot) and Kiro CLI correctly handle this notification and refresh the tool list automatically. Only Kiro IDE ignores it.
References:
MCP Spec — List Changed Notification: https://modelcontextprotocol.io/specification/2025-11-25/server/toolsundefined
Steps to Reproduce
Create a minimal MCP server that supports dynamic tool registration (see repro below) Add it to ~/.kiro/settings/mcp.json: "dynamic-tool-test": { "command": "node", "args": ["/path/to/dynamic-tool-test/index.js"] } Connect — you see hello and add_tool Call add_tool with name: "apple" Server responds with success and sends notifications/tools/list_changed The new apple_1 tool never appears in Kiro IDE's tool list Expected behavior: Kiro IDE should re-query tools/list when it receives notifications/tools/list_changed, as specified in the MCP spec. This already works correctly in Kiro CLI and VS Code.
Minimal repro server (index.js):
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js"; import { z } from "zod";
let counter = 0; const server = new McpServer( { name: "dynamic-tool-test", version: "1.0.0" }, { capabilities: { tools: { listChanged: true } } } );
server.tool("hello", "A simple hello tool", { name: z.string() }, async ({ name }) => ({ content: [{ type: "text", text: Hello, ${name}! }], }));
server.tool("add_tool", "Add a new tool at runtime", { name: z.string() }, async ({ name }) => { const toolName = ${name}_${++counter}; server.tool(toolName, Dynamic tool: ${toolName}, {}, async () => ({ content: [{ type: "text", text: I am ${toolName} }], })); return { content: [{ type: "text", text: Added tool: ${toolName} }] }; });
await server.connect(new StdioServerTransport()); package.json: { "type": "module", "dependencies": { "@modelcontextprotocol/sdk": "^1.12.0" } }
Expected Behavior
MCP Spec — List Changed Notification: https://modelcontextprotocol.io/specification/2025-11-25/server/tools#list-changed-notification
Kiro IDE re-queries tool list after list_changed notification is received.
Conversation ID
No response
Additional Context
No response
🤖 Potential Duplicate Detected
This issue appears to be similar to:
- #4717: HTTP-based MCP servers not loading tools into chat sessions (85% similar)
- #4280: Need an option to reload/retry an MCP server (85% similar)
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? Both issues report MCP server tools not loading properly in Kiro, though this one focuses on HTTP-based servers while the new issue focuses on dynamic tool refresh notifications
No this is not a duplicate of those issues. Explanation: #4717 is a Kiro CLI bug about HTTP-based MCP servers. This is a Kiro IDE bug for local MCP servers. Probably HTTP based also, but that one was not tested. #4280 That is a bug in Kiro CLI what is working in Kiro IDE and about reloading the MCP server manually. This is a failimplementation of the MCP protocol in Kiro IDE.
Thank you for your feedback! 🙏
The duplicate label has been removed and this issue has been sent back for maintainer review.
A maintainer will review this issue shortly.
I reported same issue here: https://github.com/kirodotdev/Kiro/issues/9002 D:
Thanks for the detailed repro and comparison with VS Code/CLI behavior! Dynamic tool list refresh via notifications/tools/list_changed is clearly supported by the MCP spec and works in other clients — this is a valid gap in Kiro IDE. Tracking as a feature request. 👍
@AnilMaktala this issue is in Kiro CLI v3 as well so this is a issue in the new unified agent harness. So this is a regression, can we prioritize this accordingly as it's not necessarily a feature request but a bug fix.
This is resolved in CLI 2.14.0 — Kiro now re-queries tools/list when it receives notifications/tools/list_changed from an MCP server. Dynamic tool registration should work without manual reconnection.
@mvhowardAWS — the v3 regression you flagged is addressed in this release as well.
Closing as completed. If you're still seeing issues on 2.14.0, please open a new issue with your current Kiro version and reproduction steps.
@AnilMaktala : What is the Kiro IDE version where I will see the fix? I have reported the problem for the Kiro IDE originally.