{"at":"2026-11-23T04:06:25.236Z","dir":"sent","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","method":"server/discover","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/clientInfo":{"name":"didrun-lab","version":"0.1.0"},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T04:06:25.644Z","dir":"received","era":"server_discover","message":{"error":{"code":-32601,"message":"Method not found"},"id":1,"jsonrpc":"2.0"}}
{"at":"2026-11-23T04:06:25.745Z","dir":"sent","era":"initialize","message":{"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{},"clientInfo":{"name":"didrun-lab","version":"0.1.0"},"protocolVersion":"2025-11-25"}}}
{"at":"2026-11-23T04:06:26.174Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"tools":{}},"protocolVersion":"2025-11-25","serverInfo":{"name":"test-genie-mcp","version":"2.0.0"}}}}
{"at":"2026-11-23T04:06:26.174Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T04:06:26.174Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T04:06:26.175Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"description":"Analyze app codebase structure including screens, components, APIs, and state management. Supports iOS, Android, Flutter, React Native, and Web platforms.","inputSchema":{"properties":{"depth":{"description":"Analysis depth level","enum":["shallow","normal","deep"],"type":"string"},"platform":{"description":"Target platform (auto-detected if not provided)","enum":["ios","android","flutter","react-native","web"],"type":"string"},"projectPath":{"description":"Path to the project root directory","type":"string"}},"required":["projectPath"],"type":"object"},"name":"analyze_app_structure"},{"description":"Generate test scenarios based on app structure analysis. Creates E2E, integration, unit, performance, and memory test scenarios.","inputSchema":{"properties":{"coverage":{"description":"Coverage level","enum":["minimal","standard","comprehensive"],"type":"string"},"focusAreas":{"description":"Specific areas to focus on","items":{"type":"string"},"type":"array"},"maxScenarios":{"description":"Maximum number of scenarios to generate","type":"number"},"projectPath":{"description":"Path to the project","type":"string"},"testTypes":{"description":"Types of tests to generate","items":{"enum":["unit","integration","e2e","performance","stress","memory"],"type":"string"},"type":"array"}},"required":["projectPath"],"type":"object"},"name":"generate_scenarios"},{"description":"Create a test plan from generated scenarios with filtering and scheduling options.","inputSchema":{"properties":{"maxDuration":{"description":"Maximum duration in seconds","type":"number"},"name":{"description":"Name of the test plan","type":"string"},"priorityFilter":{"description":"Filter by priority","items":{"enum":["critical","high","medium","low"],"type":"string"},"type":"array"},"projectPath":{"description":"Path to the project","type":"string"},"template":{"description":"Use a predefined template","enum":["smoke","regression","nightly","full"],"type":"string"},"typeFilter":{"description":"Filter by test type","items":{"type":"string"},"type":"array"}},"required":["projectPath","name"],"type":"object"},"name":"create_test_plan"},{"description":"Run a specific test scenario and get detailed results.","inputSchema":{"properties":{"device":{"description":"Target device or simulator","type":"string"},"platform":{"description":"Target platform","enum":["ios","android","flutter","react-native","web"],"type":"string"},"projectPath":{"description":"Path to the project","type":"string"},"retries":{"description":"Number of retry attempts","type":"number"},"scenarioId":{"description":"ID of the scenario to run","type":"string"},"timeout":{"description":"Timeout in milliseconds","type":"number"}},"required":["scenarioId","projectPath","platform"],"type":"object"},"name":"run_scenario_test"},{"description":"Run user behavior simulation to find issues through random/pattern-based testing.","inputSchema":{"properties":{"duration":{"description":"Simulation duration in seconds","type":"number"},"intensity":{"description":"Interaction intensity","enum":["low","medium","high"],"type":"string"},"monitorMetrics":{"description":"Metrics to monitor","items":{"enum":["memory","cpu","network","render"],"type":"string"},"type":"array"},"projectPath":{"description":"Path to the project","type":"string"},"userPatterns":{"description":"User behavior patterns to simulate","items":{"enum":["random","sequential","stress","idle"],"type":"string"},"type":"array"}},"required":["projectPath","duration"],"type":"object"},"name":"run_simulation"},{"description":"Run stress/load tests on APIs or UI components.","inputSchema":{"properties":{"concurrency":{"description":"Number of concurrent users/requests","type":"number"},"duration":{"description":"Test duration in seconds","type":"number"},"endpoints":{"description":"Specific endpoints to test","items":{"type":"string"},"type":"array"},"projectPath":{"description":"Path to the project","type":"string"},"rampUp":{"description":"Ramp up time in seconds","type":"number"},"targetType":{"description":"What to stress test","enum":["api","ui","navigation","all"],"type":"string"}},"required":["projectPath","targetType","concurrency","duration"],"type":"object"},"name":"run_stress_test"},{"description":"Detect memory leaks, retain cycles, and unclosed resources through static and dynamic analysis.","inputSchema":{"properties":{"analysisType":{"description":"Type of analysis","enum":["static","dynamic","both"],"type":"string"},"minLeakSizeMB":{"description":"Minimum leak size to report (MB)","type":"number"},"projectPath":{"description":"Path to the project","type":"string"}},"required":["projectPath"],"type":"object"},"name":"detect_memory_leaks"},{"description":"Detect logic errors including race conditions, state inconsistencies, null references, and type mismatches.","inputSchema":{"properties":{"analysisDepth":{"description":"Analysis depth","enum":["shallow","normal","deep"],"type":"string"},"checkTypes":{"description":"Types of errors to check","items":{"enum":["race_condition","state_inconsistency","null_reference","type_mismatch","all"],"type":"string"},"type":"array"},"projectPath":{"description":"Path to the project","type":"string"}},"required":["projectPath"],"type":"object"},"name":"detect_logic_errors"},{"description":"Generate AI-powered fix suggestions for detected issues.","inputSchema":{"properties":{"issueIds":{"description":"Specific issue IDs to fix","items":{"type":"string"},"type":"array"},"maxSuggestions":{"description":"Maximum suggestions to generate","type":"number"},"projectPath":{"description":"Path to the project","type":"string"}},"required":["projectPath"],"type":"object"},"name":"suggest_fixes"},{"description":"Confirm or reject a suggested fix before application.","inputSchema":{"properties":{"action":{"description":"Confirmation action","enum":["approve","reject","modify"],"type":"string"},"fixId":{"description":"ID of the fix to confirm","type":"string"},"modifiedCode":{"description":"Modified code if action is modify","type":"string"},"reason":{"description":"Reason for rejection if action is reject","type":"string"}},"required":["fixId","action"],"type":"object"},"name":"confirm_fix"},{"description":"Apply a confirmed fix to the codebase.","inputSchema":{"properties":{"backup":{"description":"Create backup before applying","type":"boolean"},"dryRun":{"description":"Preview changes without applying","type":"boolean"},"fixId":{"description":"ID of the fix to apply","type":"string"},"validate":{"description":"Validate syntax after applying","type":"boolean"}},"required":["fixId"],"type":"object"},"name":"apply_fix"},{"description":"Rollback an applied fix to restore original code.","inputSchema":{"properties":{"fixId":{"description":"ID of the fix to rollback","type":"string"}},"required":["fixId"],"type":"object"},"name":"rollback_fix"},{"description":"Run complete test automation pipeline: analyze → generate scenarios → run tests → detect issues → suggest fixes. Interactive confirmation for fixes.","inputSchema":{"properties":{"autoFix":{"description":"Automatically apply high-confidence fixes","type":"boolean"},"confirmMode":{"description":"Fix confirmation mode","enum":["auto","interactive","batch"],"type":"string"},"platform":{"description":"Target platform","enum":["ios","android","flutter","react-native","web"],"type":"string"},"projectPath":{"description":"Path to the project","type":"string"},"testTypes":{"description":"Types of tests to run","items":{"enum":["unit","integration","e2e","performance","memory"],"type":"string"},"type":"array"}},"required":["projectPath"],"type":"object"},"name":"run_full_automation"},{"description":"Generate detailed test automation report in Markdown, HTML, or JSON format.","inputSchema":{"properties":{"format":{"description":"Report format","enum":["markdown","html","json"],"type":"string"},"outputPath":{"description":"Path to save the report","type":"string"},"projectPath":{"description":"Path to the project","type":"string"},"sections":{"description":"Sections to include","items":{"enum":["summary","details","issues","fixes","recommendations"],"type":"string"},"type":"array"}},"required":["projectPath"],"type":"object"},"name":"generate_report"},{"description":"Get list of pending fix suggestions waiting for confirmation.","inputSchema":{"properties":{"projectPath":{"description":"Path to the project","type":"string"}},"required":["projectPath"],"type":"object"},"name":"get_pending_fixes"},{"description":"Get test execution history for a project.","inputSchema":{"properties":{"limit":{"description":"Maximum results to return","type":"number"},"projectPath":{"description":"Path to the project","type":"string"}},"required":["projectPath"],"type":"object"},"name":"get_test_history"},{"description":"Deep performance analysis including rendering, computation, network, and bundle size issues. Provides actionable recommendations.","inputSchema":{"properties":{"platform":{"description":"Target platform","enum":["ios","android","flutter","react-native","web"],"type":"string"},"projectPath":{"description":"Path to the project","type":"string"}},"required":["projectPath"],"type":"object"},"name":"analyze_performance"},{"description":"Deep AST-based code analysis with function extraction, complexity metrics, hook analysis, and issue detection.","inputSchema":{"properties":{"platform":{"description":"Target platform","enum":["ios","android","flutter","react-native","web"],"type":"string"},"projectPath":{"description":"Path to the project","type":"string"}},"required":["projectPath"],"type":"object"},"name":"analyze_code_deep"},{"description":"Generate CI/CD configuration for GitHub Actions, Jenkins, or GitLab CI with test automation integration.","inputSchema":{"properties":{"branches":{"description":"Branches to run CI on","items":{"type":"string"},"type":"array"},"buildCommand":{"description":"Custom build command","type":"string"},"platform":{"description":"Target platform","enum":["ios","android","flutter","react-native","web"],"type":"string"},"projectPath":{"description":"Path to the project","type":"string"},"provider":{"description":"CI/CD provider","enum":["github-actions","jenkins","gitlab-ci"],"type":"string"},"testCommand":{"description":"Custom test command","type":"string"},"writeToFile":{"description":"Write config to project","type":"boolean"}},"required":["projectPath","provider"],"type":"object"},"name":"generate_cicd_config"}]}}}
