Back to Components
Desktop (Electron)
McpSettings
Function Component
Mcp Settings
Lines
636
File
McpSettings.tsx
Last Modified
2026-10-08
Exports
default McpSettings
Source Path
aartiq-browser/src/McpSettings.tsx
Tags
ReactNode.jsCoreAImacOS
Code Analysis
React Hooks
useStateuseEffect
API / Library Usage
electronAPIzustand-storeframer-motionlucide-icons
External Dependencies
reactlucide-reactframer-motion
Internal Imports
@/store/useAppStore@/lib/mcp-bridge-url
Props / Types
ServerPreset
| Prop | Type | Required |
|---|---|---|
| name | string | Yes |
| desc | string | Yes |
| type | 'stdio' | 'sse' | Yes |
| command | string | No |
| args | string[] | No |
| env | Record<string, string> | No |
| url | string | No |
| requiresToken | boolean | No |
| tokenEnvVar | string | No |
| tokenPlaceholder | string | No |
| authUrl | string | No |
| authGuide | string | No |
Key Functions
handleAddPreset()handleAdd()resetForm()
Related Components
Browse all components in the Component Inventory
Auto-Generated Documentation
Component metadata is auto-generated by aartiq-browser/scripts/component-scanner.js