From 41430f627b93889e60cf4fd706d132a2dd705dbc Mon Sep 17 00:00:00 2001 From: carlos-alm <127798846+carlos-alm@users.noreply.github.com> Date: Mon, 16 Mar 2026 04:01:56 -0600 Subject: [PATCH] fix: update MCP server import path after src/ reorganization The refactor in #458 moved src/mcp.js to src/mcp/index.js but didn't update the dynamic import in cli/commands/mcp.js, causing the MCP server to fail with ERR_MODULE_NOT_FOUND on every launch. Closes #465 Impact: 1 functions changed, 0 affected --- src/cli/commands/mcp.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/commands/mcp.js b/src/cli/commands/mcp.js index 7f862e34..1e847612 100644 --- a/src/cli/commands/mcp.js +++ b/src/cli/commands/mcp.js @@ -7,7 +7,7 @@ export const command = { ['--repos ', 'Comma-separated list of allowed repo names (restricts access)'], ], async execute(_args, opts) { - const { startMCPServer } = await import('../../mcp.js'); + const { startMCPServer } = await import('../../mcp/index.js'); const mcpOpts = {}; mcpOpts.multiRepo = opts.multiRepo || !!opts.repos; if (opts.repos) {