Skip to content

Commit 7b41d4a

Browse files
committed
fix: prevent builtin MCPs from overwriting user MCP configs
1 parent 8260824 commit 7b41d4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugin-handlers/config-handler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,8 +348,8 @@ export function createConfigHandler(deps: ConfigHandlerDeps) {
348348
: { servers: {} };
349349

350350
config.mcp = {
351-
...(config.mcp as Record<string, unknown>),
352351
...createBuiltinMcps(pluginConfig.disabled_mcps),
352+
...(config.mcp as Record<string, unknown>),
353353
...mcpResult.servers,
354354
...pluginComponents.mcpServers,
355355
};

0 commit comments

Comments
 (0)