Kiro
Kiro copied to clipboard
Bug in /agent generate when copying mcp info
Before opening, please confirm:
- [x] I have searched for duplicate or closed issues
Operating System
macOS
Kiro Version
1.23.1
Bug Description
I think there is a bug in the /agent generate command when it asks about mcp servers.
My global mcp configuration has N mcp's defined that share the same command but different arguments like so
{
"mcpServers": {
"name-foo": {
"command": "always-the-same-command",
"args": [
"arg-foo"
]
},
"name-bar": {
"command": "always-the-same-command",
"args": [
"arg-bar"
],
}
}
}
when i run /agent generate and it asks me what mcp's i would like added to the new agent it only lists one of them and when i look at /mcp i can see that it is only listing the one that loaded slowest (last?).
Steps to Reproduce
Listed above
Expected Behavior
It should instead list all the servers configured under the top level mcpServers key (both name-foo and name-bar)
Conversation ID
No response
Additional Context
No response