+ {customHeaders.length === 0 ? (
+
+
+ {localize('com_ui_mcp_no_custom_headers')}
+
+
+
+ ) : (
+ <>
+ {customHeaders.map((header: any) => (
+
+ updateCustomHeader(header.id, 'name', e.target.value)}
+ className="min-w-0 flex-1 rounded-md border border-border-medium bg-surface-primary px-3 py-2 text-sm focus:outline-none focus:ring-2 focus:ring-ring"
+ />
+ updateCustomHeader(header.id, 'value', e.target.value)}
+ className="min-w-0 flex-1 rounded-md border border-border-medium bg-surface-primary px-3 py-2 text-sm focus:outline-none focus:ring-2 focus:ring-ring"
+ />
+
+
+ ))}
+ {/* Add New Header Button */}
+
+
+
+ >
+ )}
+