{# The MCP client-config rung: write clear-record's one mcpServers entry into the config file the user names. Shared by the agent flow's MCP config step and the standalone Settings -> MCP section. #} {% set standalone = mcp_context == "mcp" %} {% set target = "#mcp-setup" if standalone else "#agent-setup" %}
{% if setup.mcp_config %}

{{ tr("Client config: {path}", path=setup.mcp_config) }}

{% else %}

{{ tr("No MCP client config has been pointed at yet, so no agent can launch clear-record's tools.") }}

{% endif %} {% if setup.harness %}

{{ tr("Harness: {path}", path=setup.harness) }}

{% endif %}

{{ tr("MCP client config") }}

{% if standalone %}{% endif %} {# The only pre-filled value is a path a previous run recorded -- never a guessed default. An empty field means the user must choose. #}

{{ tr("Choose the path: clear-record cannot know where your client keeps its config. clear-record adds one entry to that file and leaves the rest of it alone — the command {command} with arguments {args}.", command=mcp_entry.command, args=mcp_entry.args | join(' ')) }}