#!/usr/bin/env php ===================================== MCP Server Integration Tests =====================================  Running vscode tests... ✗ VS Code launch.json exists ✗ VS Code launch.json is valid JSON ✗ VS Code tasks.json exists ✗ VS Code tasks.json is valid ✗ VS Code settings.json exists ✗ Debug configuration contains MCP server ✗ Xdebug configuration present  Running claude tests... ✗ Claude Desktop config exists ✗ Claude Desktop config is valid ✓ Claude Desktop setup script exists ✗ Platform-specific configs exist ✗ MCP server properly configured  Running protocol tests... ✓ MCP server script exists ✓ Server script is executable ✗ Server implements JSON-RPC 2.0 ✗ Server defines required tools ✓ Server implements error handling  Running server tests... ✓ Server validation mode works ✓ Server health check works ✗ Server can load configuration ✗ Logging system configured ✗ Backup directory accessible  Running modules tests... ✗ PatternAnalyzer class exists ✗ ModuleConverter class exists ✗ DependencyResolver class exists ✗ ValidationHelper class exists ✗ CI3 modules directory accessible ✓ CI4 modules directory accessible ✗ Migration patterns available ✓ Module templates available ===================================== Test Results ===================================== Passed: 8 Failed: 22 Skipped: 0 Total: 30 ===================================== Failed tests: - VS Code launch.json exists - VS Code launch.json is valid JSON - VS Code tasks.json exists - VS Code tasks.json is valid - VS Code settings.json exists - Debug configuration contains MCP server - Xdebug configuration present - Claude Desktop config exists - Claude Desktop config is valid - Platform-specific configs exist - MCP server properly configured - Server implements JSON-RPC 2.0 - Server defines required tools - Server can load configuration - Logging system configured - Backup directory accessible - PatternAnalyzer class exists - ModuleConverter class exists - DependencyResolver class exists - ValidationHelper class exists - CI3 modules directory accessible - Migration patterns available Test report saved to: tests/test-report.json