()
| 688 | }; |
| 689 | |
| 690 | const getMcpDirs = () => { |
| 691 | const roots = getSearchRoots(); |
| 692 | const dirs = []; |
| 693 | |
| 694 | for (const root of roots) { |
| 695 | const mcpDir = path.join(root, 'mcp'); |
| 696 | if (fs.existsSync(mcpDir)) { |
| 697 | dirs.push({ path: mcpDir, source: 'mcp-dir', root }); |
| 698 | } |
| 699 | } |
| 700 | |
| 701 | return dirs; |
| 702 | }; |
| 703 | |
| 704 | const getPluginDirs = () => { |
| 705 | const roots = getSearchRoots(); |
no test coverage detected