Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

fix: simplify toggle text to 'All' per PR feedback

Devin AIa3a0bbb7cf8f
diff --git a/frontend/src/pages/ai/MCPEndpointDetailPage/components/MCPEndpointToolSelectionSection.tsx b/frontend/src/pages/ai/MCPEndpointDetailPage/components/MCPEndpointToolSelectionSection.tsx
index 6c9ef0d6c7..3b3fc9cc86 100644
--- a/frontend/src/pages/ai/MCPEndpointDetailPage/components/MCPEndpointToolSelectionSection.tsx
+++ b/frontend/src/pages/ai/MCPEndpointDetailPage/components/MCPEndpointToolSelectionSection.tsx
@@ -126,10 +126,8 @@ const ServerToolsSection = ({
{isExpanded && filteredTools.length > 0 && (
<div className="border-t border-mineshaft-600">
- <div className="flex items-center justify-between border-b border-mineshaft-600 px-4 py-2">
- <span className="text-sm text-bunker-300">
- {allFilteredEnabled ? "Disable" : "Enable"} all tools
- </span>
+ <div className="grid grid-cols-[1fr_auto] items-center gap-2 border-b border-mineshaft-600 px-4 py-2">
+ <span className="text-sm text-bunker-300">All</span>
<Tooltip content={allFilteredEnabled ? "Disable all tools" : "Enable all tools"}>
<div>
<Switch