How should a React chat UI expose an MCP toggle and prevent tool trace overflow?