Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
CFM Tips - AWS Cost Optimization MCP Server Setup Script

This script helps set up the CFM Tips AWS Cost Optimization MCP Server
for use with Amazon Q CLI and other MCP-compatible clients.
for use with Kiro CLI and other MCP-compatible clients.
"""

import os
Expand Down Expand Up @@ -109,11 +109,11 @@ def create_mcp_config():
print("\n⚙️ Creating MCP configuration...")

current_dir = os.getcwd()
amazonq_dir = Path.home() / ".aws" / "amazonq"
config_file = amazonq_dir / "mcp.json"
kiro_dir = Path.home() / ".kiro" / "settings"
config_file = kiro_dir / "mcp.json"

# Create amazonq directory if it doesn't exist
amazonq_dir.mkdir(parents=True, exist_ok=True)
# Create kiro directory if it doesn't exist
kiro_dir.mkdir(parents=True, exist_ok=True)

# Load existing config or create new one
existing_config = {}
Expand Down Expand Up @@ -235,9 +235,9 @@ def show_usage_instructions(config_file):
print("=" * 60)

print("\n🚀 Quick Start:")
print(f" q chat ")
print(" kiro-cli chat")

print("\n💬 Example commands in Amazon Q:")
print("\n💬 Example commands in Kiro:")
examples = [
"Run comprehensive cost analysis for us-east-1",
"Find unused EBS volumes costing money",
Expand Down Expand Up @@ -308,7 +308,7 @@ def main():
if aws_ok and test_ok:
show_usage_instructions(config_file)
print("\n🎯 Ready to use! Start with:")
print(f" q chat ")
print(" kiro-cli chat")
else:
print("\n⚠️ Setup completed with warnings. Please address the issues above.")
if not aws_ok:
Expand All @@ -317,4 +317,4 @@ def main():
print(" Test manually: python3 test_runbooks.py")

if __name__ == "__main__":
main()
main()