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
+6-4Lines changed: 6 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
name: "MCP Proxy Server"
2
-
version: "0.1.8"
2
+
version: "0.1.9"
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."
5
5
arch:
@@ -11,9 +11,11 @@ hassio_role: default
11
11
homeassistant_api: false
12
12
host_network: false
13
13
map:
14
-
- "config:/mcp-proxy-server/config:rw"# App config (mcp_server.json etc.) in /mcp-proxy-server/config inside container, maps to HA's config dir for this addon
15
-
- "share:rw"# For TOOLS_FOLDER, maps to /share inside container
16
-
# - "ssl:ro"
14
+
- type: addon_config
15
+
read_only: False
16
+
path: /mcp-proxy-server/config # App config (mcp_server.json etc.) in /mcp-proxy-server/config inside container, maps to HA's config dir for this addon
17
+
- type: share
18
+
read_only: False # For TOOLS_FOLDER, maps to /share inside container
constdescription=toolConfig.description||toolDefinition?.description||(isConfigOnly ? 'Description not available (tool not discovered)' : 'No description provided.');
96
103
constisEnabled=toolConfig.enabled!==false;// Enabled by default
104
+
constoriginalDescription=toolDefinition?.description||'N/A';// Original description for display
errorMsg=`Invalid format for Exposed Tool Name Override "${exposedNameOverride}" for tool "${toolKey}". Use letters, numbers, _, - (cannot start with number).`;
175
+
exposedNameInput.style.border='1px solid red';
176
+
return;
177
+
}else{
178
+
exposedNameInput.style.border='';// Reset border on valid or empty
179
+
}
180
+
181
+
// 2. Check for duplicate exposed names (considering overrides)
182
+
if(exposedNames.has(finalExposedName)){
183
+
isValid=false;
184
+
errorMsg=`Duplicate Exposed Tool Name: "${finalExposedName}". Please ensure all exposed names (including overrides) are unique.`;
185
+
// Highlight the input that caused the duplicate
186
+
exposedNameInput.style.border='1px solid red';
187
+
// Optionally, find and highlight the previous entry with the same name
188
+
return;
189
+
}
190
+
exposedNames.add(finalExposedName);
191
+
// --- End Validation ---
192
+
132
193
133
194
constconfigData={
134
-
enabled: enabledInput.checked,
135
-
displayName: displayNameInput.value.trim()||undefined,// Store undefined if empty
136
-
description: descriptionInput.value.trim()||undefined,// Store undefined if empty
0 commit comments