Skip to content

Commit f27240b

Browse files
committed
feat(metamcp/endpoints): provision supports API key/OAuth flags; use batch tRPC for endpoints.update like UI; docs example; bump 0.1.11
1 parent 257f0dd commit f27240b

File tree

4 files changed

+11
-3
lines changed

4 files changed

+11
-3
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.10
5+
version: 0.1.11
66
appVersion: "latest"
77
icon: https://icoretech.github.io/helm/charts/metamcp/logo.png
88
keywords:

charts/metamcp/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,10 @@ provision:
9292
namespace: lab
9393
description: "Public lab endpoint"
9494
transport: SSE
95+
# Optional auth controls (match UI):
96+
enableApiKeyAuth: true
97+
useQueryParamAuth: false
98+
enableOauth: false
9599
```
96100
97101
## User seeding (optional)

charts/metamcp/README.md.gotmpl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,10 @@ provision:
9292
namespace: lab
9393
description: "Public lab endpoint"
9494
transport: SSE
95+
# Optional auth controls (match UI):
96+
enableApiKeyAuth: true
97+
useQueryParamAuth: false
98+
enableOauth: false
9599
```
96100

97101
## User seeding (optional)

charts/metamcp/scripts/provision.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,10 +249,10 @@ def create_endpoint(name, nsref, transport='SSE', extra=None, description=None):
249249
if description:
250250
flags['description'] = description
251251
if e_uuid:
252-
# update existing endpoint
252+
# update existing endpoint (use tRPC batch form as UI does)
253253
up = {'uuid': e_uuid, 'name': name, 'namespaceUuid': nid}
254254
up.update(flags)
255-
r = trpc_post('/trpc/frontend/frontend.endpoints.update', up)
255+
r = trpc_post_batch('/trpc/frontend/frontend.endpoints.update', up)
256256
if r.ok:
257257
log(f"endpoint updated: {name}")
258258
else:

0 commit comments

Comments
 (0)