fix: convert Amazon Q CLI references to Kiro CLI#3
fix: convert Amazon Q CLI references to Kiro CLI#3merlinnaidoo wants to merge 1 commit intoaws-samples:mainfrom
Conversation
- Update directory path from ~/.aws/amazonq to ~/.kiro/settings - Change command references from 'q chat' to 'kiro-cli chat' - Update documentation references from Amazon Q to Kiro - Maintain backward compatibility for MCP configuration format This enables the CFM Tips MCP server to work with the new Kiro CLI instead of the deprecated Amazon Q CLI.
|
Tested manually. It works. CFM cfm-tips is loaded in kiro-cli. ❱ python3 setup.py 📦 Checking dependencies... 🔐 Checking AWS credentials... ⚙️ Creating MCP configuration... 🧪 Testing MCP server... Testing server creation... Testing CloudTrail functions... Testing tool name lengths... Tests passed: 4/4 Next steps:
🎉 CFM Tips is ready to help optimize your AWS costs! Setup Summary: 🎉 CFM Tips AWS Cost Optimization MCP Server Setup Complete! 🚀 Quick Start: 💬 Example commands in Kiro: 🔧 Available tools: 📚 Documentation: 🔍 Troubleshooting: 💡 Tips: 🎯 Ready to use! Start with: ❱ kiro-cli |
What does this PR do?
Converts the CFM Tips MCP server setup from Amazon Q CLI to Kiro CLI compatibility.
Why is this change needed?
Amazon Q CLI has been deprecated and replaced by Kiro CLI. The current setup script creates configuration files in the wrong location (
~/.aws/amazonq/) and references outdated commands, preventing users from properly configuring the MCP server with Kiro CLI.Changes Made
~/.aws/amazonq/mcp.jsonto~/.kiro/settings/mcp.jsonq chattokiro-cli chatTesting
python3 test_runbooks.py)Breaking Changes
None. This is purely a configuration path and documentation update.
Files Modified
setup.py- Updated paths, commands, and documentation referencesHow to Test
python3 setup.py~/.kiro/settings/mcp.jsonFixes the setup compatibility issue with Kiro CLI migration.