You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: config.yaml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
name: "MCP Proxy Server"
2
-
version: "0.1.9"
2
+
version: "0.1.10"
3
3
slug: "mcp_proxy_server"
4
4
description: "A central hub for Model Context Protocol (MCP) servers. Manages multiple backend MCP servers (Stdio/SSE), exposing their combined tools and resources via a unified SSE interface or as a Stdio server. Features Web UI for server/tool management, real-time installation monitoring, and optional web terminal."
<divclass="tool-actions-footer"><!-- New wrapper div -->
64
+
<buttonid="save-tool-config-button">Save & Reload Tool Configuration</button><!-- Save button first for left alignment -->
65
+
<buttonid="reset-all-tool-overrides-button" class="cleanup-button" title="Clear all tool-specific configurations (overrides and enabled/disabled states)">Reset All Tool Overrides</button>
.cleanup-button { /* Styles for Reset All Tool Overrides and similar buttons */
394
+
background-color:#ffc107; /* Yellow/Orange for warning/cleanup actions */
395
+
border-color:#ffc107;
396
+
color:#212529; /* Dark text for better contrast on yellow */
397
+
}
398
+
.cleanup-button:hover {
399
+
background-color:#e0a800;
400
+
border-color:#d39e00;
401
+
color:#212529;
402
+
}
403
+
.cleanup-button:focus {
404
+
outline:0;
405
+
box-shadow:0000.2remrgba(224,168,0,0.5); /* Adjusted shadow color */
406
+
}
407
+
408
+
399
409
hr {
400
410
margin:20px0;
401
411
border:0;
402
412
border-top:1px solid #eee;
403
413
}
414
+
415
+
/* Styles for the footer button container in Tools section */
416
+
.tool-actions-footer {
417
+
display: flex;
418
+
justify-content: space-between; /* Pushes first item (save) to left, last item (reset) to right */
419
+
align-items: center;
420
+
margin-top:1rem; /* Space above the button row */
421
+
flex-wrap: wrap; /* Allow buttons to wrap on very narrow screens if needed, before media query kicks in */
422
+
}
423
+
424
+
.tool-actions-footerbutton {
425
+
margin-top:0.5rem; /* Keep consistent top margin for buttons */
426
+
/* margin-right: 0; Remove default right margin from generic button if it interferes with space-between */
427
+
/* The default button style has margin-right: 0.5rem. For space-between, this is usually fine. */
428
+
/* If only two buttons, the space-between will handle it. If more, this might need adjustment. */
429
+
}
430
+
431
+
/* Ensure the cleanup button (Reset All) doesn't have excessive left margin from generic button style if it's the rightmost */
432
+
/* Note: Specific styles for .cleanup-button within .tool-actions-footer were previously here but removed as they were empty or handled by parent layout. */
433
+
434
+
/* Ensure the save button (first child) doesn't have excessive right margin from generic button style */
435
+
436
+
437
+
/* Responsive adjustments for Tool Header on narrow screens */
console.warn("Reset All Tool Overrides button not found in DOM.");
314
+
return;
315
+
}
316
+
317
+
resetButton.addEventListener('click',async()=>{
318
+
if(confirm("Are you sure you want to reset ALL tool overrides?\nThis will clear any custom names, descriptions, and enabled/disabled states for all tools, reverting them to their defaults. You will need to click 'Save & Reload Tool Configuration' to make this permanent.")){
319
+
if(window.currentToolConfig){
320
+
window.currentToolConfig.tools={};// Clear all tool-specific configurations
321
+
console.log("All tool overrides marked for deletion.");
322
+
323
+
renderTools();// Re-render the tools list to reflect the reset state
324
+
325
+
if(localSaveToolStatus){
326
+
localSaveToolStatus.textContent='All tool overrides have been reset. Click "Save & Reload" to apply.';
0 commit comments