setup.pyā¢808 B
#!/usr/bin/env python3
"""Easy setup for Vendor Risk Assessment MCP Server"""
import os
import subprocess
import sys
import shutil
print("š VENDOR RISK MCP SETUP")
print("=" * 30)
# Install dependencies
print("š¦ Installing dependencies...")
try:
subprocess.check_call([sys.executable, "-m", "pip", "install", "-r", "requirements.txt"])
print("ā
Dependencies installed")
except:
print("ā Installation failed")
# Create .env if needed
if not os.path.exists('.env') and os.path.exists('.env.example'):
shutil.copy('.env.example', '.env')
print("š Created .env file")
print("ā ļø Please edit .env with your AWS credentials")
print("\nš Setup complete!")
print("\nNext steps:")
print("1. Edit .env file")
print("2. python test_client.py")
print("3. python main.py")