Skip to main content
Glama

EuConquisto Composer MCP

by rkm097git
verify-v5.2.0-state.sh5.03 kB
#!/bin/bash # EuConquisto Composer MCP v5.2.0 State Verification Script # This script verifies that you have the correct v5.2.0 FULLY OPERATIONAL version # Run this BEFORE any git commits to prevent reverting to old versions echo "🔍 EuConquisto Composer MCP - v5.2.0 State Verification" echo "=======================================================" # Exit on any error set -e # Track verification results VERIFICATION_PASSED=true # Helper function for checks check_file() { if [ -f "$1" ]; then echo "✅ $1 exists" else echo "❌ MISSING: $1" VERIFICATION_PASSED=false fi } check_directory() { if [ -d "$1" ]; then echo "✅ $1 directory exists" else echo "❌ MISSING: $1 directory" VERIFICATION_PASSED=false fi } check_content() { if grep -q "$2" "$1" 2>/dev/null; then echo "✅ $1 contains '$2'" else echo "❌ CONTENT ERROR: $1 does not contain '$2'" VERIFICATION_PASSED=false fi } echo "" echo "🔧 Checking Critical v5.2.0 Files..." # Check main server file check_file "dist/browser-automation-api-jit-v5.1.0.js" # Check startup script check_file "bin/start-production.sh" # Check centralized JWT token (v1.1.0 update) check_file "config/jwt-token.txt" # Check package.json version check_file "package.json" check_content "package.json" "5.1.0" # Check CLAUDE.md for v5.2.0 references check_file "CLAUDE.md" check_content "CLAUDE.md" "v5.2.0 FULLY OPERATIONAL" # Check VERSION-HISTORY.md check_file "VERSION-HISTORY.md" # Check project state documentation check_file "PROJECT-STATE-v5.2.0.md" echo "" echo "🛠️ Checking JIT Tools..." # Check all 7 JIT tools check_directory "src/tools" check_file "src/tools/get-smart-guidance.js" check_file "src/tools/analyze-content-for-widgets.js" check_file "src/tools/get-widget-requirements.js" check_file "src/tools/validate-lesson-data.js" check_file "src/tools/format-for-composer.js" check_file "src/tools/save-composition-api.js" check_file "src/tools/open-composition-editor.js" echo "" echo "📚 Checking Documentation Structure..." # Check essential documentation check_directory "docs" check_file "docs/INDEX-v5.2.0.md" check_file "docs/development-protocol.md" check_file "docs/technical-knowledge-base.md" check_file "docs/milestones/v5.2.0-fully-operational.md" check_directory "docs/technical" check_directory "docs/project-management" echo "" echo "🗂️ Checking Archive Organization..." check_directory "archive" echo "" echo "⚠️ Checking for Problematic Old Files..." # Check for old version indicators that shouldn't exist if [ -f "dist/browser-automation-fully-automated-v2.2.0.js" ]; then echo "⚠️ WARNING: Old v2.2.0 file found - this may indicate wrong version" fi if [ -f "dist/browser-automation-enhanced-v3.0.0.js" ]; then echo "⚠️ WARNING: Old v3.0.0 file found - this may indicate wrong version" fi # Check for messy root directory (sign of old backup restoration) ROOT_FILE_COUNT=$(ls -1 | wc -l) if [ "$ROOT_FILE_COUNT" -gt 20 ]; then echo "⚠️ WARNING: Root directory has $ROOT_FILE_COUNT files - may indicate backup restoration" VERIFICATION_PASSED=false else echo "✅ Root directory has $ROOT_FILE_COUNT files (acceptable)" fi echo "" echo "🔐 Checking Centralized JWT Token Status..." if [ -f "config/jwt-token.txt" ]; then JWT_SIZE=$(wc -c < "config/jwt-token.txt") if [ "$JWT_SIZE" -gt 3000 ]; then echo "✅ Centralized JWT token appears valid ($JWT_SIZE characters)" echo "✅ JWT Manager v1.0.0 architecture implemented" else echo "❌ Centralized JWT token appears invalid or truncated ($JWT_SIZE characters)" VERIFICATION_PASSED=false fi else echo "❌ Centralized JWT token missing at config/jwt-token.txt" VERIFICATION_PASSED=false fi # Check for JWT Manager module check_file "src/config/jwt-manager.js" check_content "src/config/jwt-manager.js" "JWTManager" echo "" echo "📊 Final Verification Result:" echo "=======================================================" if [ "$VERIFICATION_PASSED" = true ]; then echo "🎉 VERIFICATION PASSED" echo "" echo "✅ You have the correct v5.2.0 FULLY OPERATIONAL version" echo "✅ JWT Manager v1.0.0 centralized architecture verified" echo "✅ Safe to proceed with git operations" echo "✅ All critical components verified" echo "" echo "Next steps:" echo "1. git add ." echo "2. git commit -m 'Project cleanup: v5.2.0 organized structure'" echo "3. git push origin main" exit 0 else echo "❌ VERIFICATION FAILED" echo "" echo "🚨 DO NOT COMMIT - Issues detected!" echo "🚨 You may have the wrong version or corrupted files" echo "" echo "Actions required:" echo "1. Review the errors above" echo "2. Check PROJECT-STATE-v5.2.0.md for correct state" echo "3. Restore missing files if needed" echo "4. Re-run this script before committing" exit 1 fi

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rkm097git/euconquisto-composer-mcp-poc'

If you have feedback or need assistance with the MCP directory API, please join our Discord server