- {data.tools.length > 0 && (
-
- {t(($) => $['mcp.toolsCount'], { ns: 'tools', count: data.tools.length })}
-
- )}
- {!data.tools.length && (
-
- {t(($) => $['mcp.noTools'], { ns: 'tools' })}
-
- )}
- {updatedAtText && (
- <>
-
·
-
- {updatedAtText}
+
+
+ {data.tools.length > 0 && (
+
+ {t(($) => $['mcp.toolsCount'], { ns: 'tools', count: data.tools.length })}
- >
+ )}
+ {!data.tools.length && (
+
+ {t(($) => $['mcp.noTools'], { ns: 'tools' })}
+
+ )}
+ {updatedAtText && (
+ <>
+
·
+
+ {updatedAtText}
+
+ >
+ )}
+
+ {isConfigured &&
}
+ {!isConfigured && (
+
+ {t(($) => $['mcp.noConfigured'], { ns: 'tools' })}
+
+
)}
- {isConfigured &&
}
- {!isConfigured && (
-
- {t(($) => $['mcp.noConfigured'], { ns: 'tools' })}
-
-
- )}
-
+
{canManageMCP && (
onEdit(data.id)}
+ onRemove={() => onDelete(data.id)}
/>
)}
- {canManageMCP && isShowUpdateModal && (
-
- )}
-
!open && hideDeleteConfirm()}
- >
-
-
-
- {t(($) => $['mcp.delete'], { ns: 'tools' })}
-
-
- {t(($) => $['mcp.deleteConfirmTitle'], { ns: 'tools', mcp: data.name })}
-
-
-
-
- {t(($) => $['operation.cancel'], { ns: 'common' })}
-
-
- {t(($) => $['operation.confirm'], { ns: 'common' })}
-
-
-
-