kiro-cli not able to run or load the awslabs mcp servers
Describe the bug
kiro-cli not able to run the awslabs mcp servers.
I have a valid mcp.json file. I have tried this json file with cursor IDE and the mcp servers are running and executing prompts via Q extension. However, in kiro-cli I am getting below errors:
- Mcp error: -32002: No such file or directory (os error 2)
Attached the ~/.kiro/settings/mcp.json file for reference.
Expected Behavior
The mcp servers should get loaded.
Current Behavior
Getting below error at the cli:
❯ kiro-cli
✗ awslabs.aws-diagram-mcp-server has failed to load after 0.03 s
- Mcp error: -32002: No such file or directory (os error 2)
- run with KIRO_LOG_LEVEL=trace and see $TMPDIR/kiro-log/kiro-chat.log for detail
✗ awslabs.aws-api-mcp-server has failed to load after 0.03 s
- Mcp error: -32002: No such file or directory (os error 2)
- run with KIRO_LOG_LEVEL=trace and see $TMPDIR/kiro-log/kiro-chat.log for detail
✗ awslabs.aws-documentation-mcp-server has failed to load after 0.05 s
- Mcp error: -32002: No such file or directory (os error 2)
- run with KIRO_LOG_LEVEL=trace and see $TMPDIR/kiro-log/kiro-chat.log for detail
✗ awslabs.eks-mcp-server has failed to load after 0.05 s
- Mcp error: -32002: No such file or directory (os error 2)
- run with KIRO_LOG_LEVEL=trace and see $TMPDIR/kiro-log/kiro-chat.log for detail
✗ awslabs.cost-explorer-mcp-server has failed to load after 0.05 s
- Mcp error: -32002: No such file or directory (os error 2)
- run with KIRO_LOG_LEVEL=trace and see $TMPDIR/kiro-log/kiro-chat.log for detail
✗ awslabs.aws-pricing-mcp-server has failed to load after 0.05 s
- Mcp error: -32002: No such file or directory (os error 2)
- run with KIRO_LOG_LEVEL=trace and see $TMPDIR/kiro-log/kiro-chat.log for detail
✓ fetch loaded in 1.13 s
✓ aws-knowledge-mcp loaded in 2.93 s
Reproduction Steps
install kiro-cli, uv, python 3.12 in mac, update the mcp.json file with some of the mcp servers available here: https://github.com/awslabs/mcp/?tab=readme-ov-file#available-mcp-servers-quick-installation
and try to run kiro-cli.
Possible Solution
No response
Additional Information/Context
No response
OS
mac os
Server
aws-diagram-mcp-server
Server Version
latest
Region experiencing the issue
us-east-1
Other information
No response
Service quota
- [x] I have reviewed the service quotas for this construct
I see you put the arguments in command as well
{
"mcpServers": {
"awslabs.aws-api-mcp-server": {
"command": "uvx awslabs.aws-api-mcp-server@latest",
"env": {
"AWS_REGION": "us-east-1"
},
"disabled": false,
"autoApprove": [],
"args": []
}
}
}
It should be like this
{
"mcpServers": {
"awslabs.aws-api-mcp-server": {
"command": "uvx",
"args": [
"awslabs.aws-api-mcp-server@latest"
],
"env": {
"AWS_REGION": "us-east-1"
},
"disabled": false,
"autoApprove": []
}
}
}