Skip to content

Commit 232e10b

Browse files
committed
fix: prevent duplicate MCP server initialization for subagents
1 parent 010f77f commit 232e10b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/kimi_cli/soul/agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ async def load_agent(
208208
subagent = await load_agent(
209209
subagent_spec.path,
210210
runtime.copy_for_fixed_subagent(),
211-
mcp_configs=mcp_configs,
211+
mcp_configs=[], # Subagents don't need MCP tools, only main agent loads them
212212
)
213213
runtime.labor_market.add_fixed_subagent(subagent_name, subagent, subagent_spec.description)
214214

0 commit comments

Comments
 (0)