@@ -18,7 +18,9 @@ import {
18
18
Stack ,
19
19
Grid2 ,
20
20
Link ,
21
- CircularProgress
21
+ CircularProgress ,
22
+ Alert ,
23
+ AlertTitle
22
24
} from '@mui/material' ;
23
25
import {
24
26
ExpandMore as ExpandMoreIcon ,
@@ -110,14 +112,19 @@ const Settings = ({ settings, setSettings, mcpClientStates, onUpdate }: { onUpda
110
112
) ) }
111
113
</ List >
112
114
< Divider />
113
- < Stack direction = "row" alignItems = "center" justifyContent = "space-evenly" spacing = { 1 } sx = { { mt : 2 } } >
114
- < IconButton onClick = { ( ) => navigator . clipboard . writeText ( DOCKER_MCP_CONFIG . command + ' ' + DOCKER_MCP_CONFIG . args . join ( ' ' ) ) } >
115
- < ContentCopy />
116
- </ IconButton >
117
- < Typography variant = "caption" sx = { theme => ( { backgroundColor : theme . palette . grey [ 200 ] , padding : 1 , borderRadius : 1 , fontFamily : 'monospace' , whiteSpace : 'nowrap' , overflow : 'auto' } ) } >
118
- { DOCKER_MCP_CONFIG . command } { DOCKER_MCP_CONFIG . args . join ( ' ' ) }
119
- </ Typography >
120
- </ Stack >
115
+ < Alert severity = "info" >
116
+ < AlertTitle > Other MCP Clients</ AlertTitle >
117
+ You can connect other MCP clients to the same server by specifying the following command:
118
+ < Stack direction = "row" alignItems = "center" justifyContent = "space-evenly" spacing = { 1 } sx = { { mt : 2 } } >
119
+ < IconButton onClick = { ( ) => navigator . clipboard . writeText ( DOCKER_MCP_CONFIG . command + ' ' + DOCKER_MCP_CONFIG . args . join ( ' ' ) ) } >
120
+ < ContentCopy />
121
+ </ IconButton >
122
+ < Typography variant = "caption" sx = { theme => ( { backgroundColor : theme . palette . grey [ 200 ] , padding : 1 , borderRadius : 1 , fontFamily : 'monospace' , whiteSpace : 'nowrap' , overflow : 'auto' } ) } >
123
+ { DOCKER_MCP_CONFIG . command } { DOCKER_MCP_CONFIG . args . join ( ' ' ) }
124
+ </ Typography >
125
+ </ Stack >
126
+ </ Alert >
127
+
121
128
</ Paper >
122
129
</ AccordionDetails >
123
130
</ Accordion >
@@ -196,7 +203,7 @@ const Settings = ({ settings, setSettings, mcpClientStates, onUpdate }: { onUpda
196
203
</ Accordion >
197
204
198
205
{ /* Developer Settings Section */ }
199
- < Accordion >
206
+ < Accordion sx = { { width : '100%' } } >
200
207
< AccordionSummary
201
208
expandIcon = { < ExpandMoreIcon /> }
202
209
aria-controls = "developer-settings-content"
@@ -207,7 +214,12 @@ const Settings = ({ settings, setSettings, mcpClientStates, onUpdate }: { onUpda
207
214
< AccordionDetails >
208
215
< Paper elevation = { 0 } sx = { { p : 2 } } >
209
216
< Grid2 container spacing = { 3 } >
210
-
217
+ < Grid2 size = { 12 } >
218
+ < Button variant = "contained" color = "primary" onClick = { ( ) => {
219
+ localStorage . clear ( ) ;
220
+ window . location . reload ( ) ;
221
+ } } > Reset Local Storage</ Button >
222
+ </ Grid2 >
211
223
</ Grid2 >
212
224
</ Paper >
213
225
</ AccordionDetails >
0 commit comments