Skip to content

Commit a1ab3bb

Browse files
committed
fix(metamcp/provision): use mcpServerUuids in namespaces.update (matches UI tRPC) instead of servers[]; bump 0.1.8
1 parent 585f805 commit a1ab3bb

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

charts/metamcp/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: metamcp
33
description: MetaMCP aggregator Helm chart for Kubernetes
44
type: application
5-
version: 0.1.7
5+
version: 0.1.8
66
appVersion: "latest"
77
icon: https://icoretech.github.io/helm/charts/metamcp/logo.png
88
keywords:

charts/metamcp/scripts/provision.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,10 @@ def ensure_namespace(name, description=None):
208208
srv_ids.append(sid)
209209
if nid and srv_ids:
210210
try:
211-
trpc_post('/trpc/frontend/frontend.namespaces.update', {'uuid': nid,'name': name,'servers': srv_ids, **({'description': desc} if desc else {})})
211+
payload = {'uuid': nid, 'name': name, 'mcpServerUuids': srv_ids}
212+
if desc:
213+
payload['description'] = desc
214+
trpc_post('/trpc/frontend/frontend.namespaces.update', payload)
212215
except Exception:
213216
pass
214217

0 commit comments

Comments
 (0)