Disable MCP injection into agents by default

This commit is contained in:
Mohamed Boudra
2026-04-12 21:46:53 +07:00
parent 39b56af47b
commit a161a12a42

View File

@@ -87,7 +87,7 @@ export function loadConfig(
const mcpEnabled = options?.cli?.mcpEnabled ?? persisted.daemon?.mcp?.enabled ?? true;
const mcpInjectIntoAgents =
options?.cli?.mcpInjectIntoAgents ?? persisted.daemon?.mcp?.injectIntoAgents ?? true;
options?.cli?.mcpInjectIntoAgents ?? persisted.daemon?.mcp?.injectIntoAgents ?? false;
const relayEnabled =
options?.cli?.relayEnabled ??