diff --git a/client/package.json b/client/package.json index c32dfa1c8..4e95b836c 100644 --- a/client/package.json +++ b/client/package.json @@ -22,6 +22,7 @@ }, "dependencies": { "@modelcontextprotocol/sdk": "^1.4.1", + "@radix-ui/react-checkbox": "^1.1.4", "@radix-ui/react-icons": "^1.3.0", "@radix-ui/react-label": "^2.1.0", "@radix-ui/react-select": "^2.1.2", diff --git a/client/src/components/ToolsTab.tsx b/client/src/components/ToolsTab.tsx index 41b2ef736..29db2f940 100644 --- a/client/src/components/ToolsTab.tsx +++ b/client/src/components/ToolsTab.tsx @@ -1,5 +1,6 @@ import { Alert, AlertDescription, AlertTitle } from "@/components/ui/alert"; import { Button } from "@/components/ui/button"; +import { Checkbox } from "@/components/ui/checkbox"; import { Input } from "@/components/ui/input"; import { Label } from "@/components/ui/label"; import { TabsContent } from "@/components/ui/tabs"; @@ -176,7 +177,27 @@ const ToolsTab = ({ > {key} - {prop.type === "string" ? ( + {prop.type === "boolean" ? ( +
+ + setParams({ + ...params, + [key]: checked, + }) + } + /> + +
+ ) : prop.type === "string" ? (