*/ interface DiscovererInterface { /** * Discover MCP elements in the specified directories and return the discovery state. * * @param string $basePath the base path for resolving directories * @param array $directories list of directories (relative to base path) to scan * @param array $excludeDirs list of directories (relative to base path) to exclude from the scan */ public function discover(string $basePath, array $directories, array $excludeDirs = []): DiscoveryState; }