#!/usr/bin/env python3
"""Quick test script to verify K-Beauty MCP functionality"""
import json
import sys
import os
# Add current directory to Python path
sys.path.insert(0, os.path.dirname(__file__))
# Import the data modules
try:
from data.brands import KBEAUTY_BRANDS
from data.ingredients import INGREDIENT_DATABASE
from data.routines import SKINCARE_ROUTINES
print("β
K-Beauty MCP Test Results:")
print(f"π Loaded {len(KBEAUTY_BRANDS)} brands")
print(f"π§ͺ Loaded {len(INGREDIENT_DATABASE)} ingredients")
print(f"πββοΈ Loaded {len(SKINCARE_ROUTINES)} routine types")
print("\nπ·οΈ Available brands:")
for brand_key, brand_data in KBEAUTY_BRANDS.items():
print(f" β’ {brand_data['name']} ({brand_data['price_range']})")
print("\nπ§ͺ Sample ingredients:")
for i, (ingredient_key, ingredient_data) in enumerate(INGREDIENT_DATABASE.items()):
if i < 3: # Show first 3
print(f" β’ {ingredient_data['name']} (Grade: {ingredient_data['safety_grade']})")
print("\nπββοΈ Available routines:")
for routine_key, routine_data in SKINCARE_ROUTINES.items():
print(f" β’ {routine_data['name']}")
print("\nπ K-Beauty MCP is ready to use!")
print("π To use in Claude Desktop:")
print("1. Make sure Claude Desktop is restarted")
print("2. Ask questions like:")
print(" - 'K-Beauty λΈλλ μΆμ²ν΄μ€'")
print(" - 'COSRX μ ν μ΄λ?'")
print(" - 'μ§μ± νΌλΆ λ£¨ν΄ μλ €μ€'")
print(" - 'λμ΄μμ μλ§μ΄λ μμ ν΄?'")
except ImportError as e:
print(f"β Error importing modules: {e}")
print("π§ Please check if all files are in the correct location")
except Exception as e:
print(f"β Error: {e}")