/** * MCP Detector (Phase 3 helper) * Detects ralph-essential MCP servers based on the detected stack * * This is a pure function (no LLM) - uses rule-based detection for efficiency */ import type { DetectedStack } from '../../scanner/types.js'; import type { RalphMcpServers } from './types.js'; /** * Detect ralph-essential MCP servers from the stack * * Ralph loop essentials: * - For web apps with E2E: playwright MCP server for E2E testing * - Database MCP: If database is detected * - Additional MCPs based on services and deployment * * Note: MCP Inspector is a debugging TOOL (npx @modelcontextprotocol/inspector), * NOT an MCP server. It should be mentioned in implementation guidelines, not here. */ export declare function detectRalphMcpServers(stack: DetectedStack, projectType?: string): RalphMcpServers; /** * Convert RalphMcpServers to the legacy McpRecommendations format * for backward compatibility with existing code * * Ralph loop essentials only: * - Playwright for E2E testing (always) * - Database MCP if detected (Supabase, Convex, Postgres, etc.) * * Note: filesystem and git are assumed available in Claude Code */ export declare function convertToLegacyMcpRecommendations(ralphMcp: RalphMcpServers): { essential: string[]; recommended: string[]; };