Merge pull request #7066 from Kilo-Org/mark/fix-mcp-command-display

fix: handle array-format MCP command in settings display
This commit is contained in:
Mark IJbema
2026-03-16 09:19:20 +01:00
committed by GitHub
@@ -372,7 +372,10 @@ const AgentBehaviourTab: Component = () => {
>
<Show when={mcp.command}>
<div>
command: {mcp.command} {(mcp.args ?? []).join(" ")}
command:{" "}
{Array.isArray(mcp.command)
? mcp.command.join(" ")
: `${mcp.command} ${(mcp.args ?? []).join(" ")}`}
</div>
</Show>
<Show when={mcp.url}>