From 93cd94d4b40ba5e3d50cd72b74046b31d4cbdb3e Mon Sep 17 00:00:00 2001 From: ciregenz Date: Fri, 3 Jul 2026 02:35:14 -0700 Subject: [PATCH] [eric] agents: rename strict-mcp kill switch to OPENSWARM_STRICT_MCP (repo env convention) --- backend/apps/agents/manager/run/RunOptions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/apps/agents/manager/run/RunOptions.py b/backend/apps/agents/manager/run/RunOptions.py index b1578178..b554cd51 100644 --- a/backend/apps/agents/manager/run/RunOptions.py +++ b/backend/apps/agents/manager/run/RunOptions.py @@ -204,8 +204,8 @@ class RunOptions(AgentManagerProtocol): # claude.ai partner MCPs (Notion/Google/Gmail). We already hard-block their tools just below, # but the CLI still spawned+connected them every turn (~1.5s of pure dead-weight TTFT, measured). # Our builtins + any MCPActivate'd server go through mcp_servers, so they're unaffected; this - # only stops the already-blocked account MCPs from booting. Kill switch: OSW_TTFT_STRICT_MCP=0. - if os.environ.get("OSW_TTFT_STRICT_MCP", "1") != "0": + # only stops the already-blocked account MCPs from booting. Kill switch: OPENSWARM_STRICT_MCP=0. + if os.environ.get("OPENSWARM_STRICT_MCP", "1") != "0": p_ea = dict(options_kwargs.get("extra_args") or {}) p_ea["strict-mcp-config"] = None options_kwargs["extra_args"] = p_ea