Skip to content

Commit 700ccb6

Browse files
committed
metamcp: docs clarify user requirement when provisioning; add STDIO examples (awsdocs, figma); schema enforces users when provision.enabled; bump to 0.1.23
1 parent 5446928 commit 700ccb6

File tree

4 files changed

+92
-9
lines changed

4 files changed

+92
-9
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.22
5+
version: 0.1.23
66
appVersion: "latest"
77
icon: https://icoretech.github.io/helm/charts/metamcp/logo.png
88
keywords:

charts/metamcp/README.md

Lines changed: 36 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,9 @@ provision:
9898
enableOauth: false
9999
```
100100
101-
## User seeding (optional)
101+
## User seeding (required when provisioning is enabled)
102102
103-
The chart can create users at install/upgrade and optionally generate API keys (stored in Secrets named like `<release>-metamcp-apikey-<email-slug>`):
103+
Provisioning authenticates using the first entry in `users`. When `provision.enabled: true`, you must define at least one user (the schema enforces this). The chart can also generate an API key for that user and store it in a Secret named like `<release>-metamcp-apikey-<email-slug>`.
104104

105105
```yaml
106106
disablePublicSignup: true
@@ -151,8 +151,40 @@ provision:
151151
Provisioning authentication
152152

153153
- The provisioning Job authenticates using the first entry in `users` (email/password).
154-
- If `users` is empty, it falls back to `[email protected]` / `change-me` for quick‑start only.
155-
- In production, always set `users[0]` and consider `disablePublicSignup: true`.
154+
- In production you must set `users[0]`. The jobs mirror the signed session cookie to the in‑cluster host to perform admin tRPC calls.
155+
- API keys are for endpoint/client auth; they are not used for admin tRPC.
156+
157+
### STDIO examples
158+
159+
Inline env (awsdocs):
160+
161+
```yaml
162+
provision:
163+
enabled: true
164+
servers:
165+
- name: awsdocs
166+
type: STDIO
167+
command: "uvx"
168+
args: ["awslabs.aws-documentation-mcp-server@latest"]
169+
env:
170+
FASTMCP_LOG_LEVEL: "ERROR"
171+
AWS_DOCUMENTATION_PARTITION: "aws"
172+
```
173+
174+
Secret-backed env (figma):
175+
176+
```yaml
177+
provision:
178+
enabled: true
179+
servers:
180+
- name: figma
181+
type: STDIO
182+
command: "npx"
183+
args: ["-y", "figma-developer-mcp", "--stdio"]
184+
envFrom:
185+
- secretRef:
186+
name: figma-mcp-env
187+
```
156188

157189
## Configuration reference
158190

charts/metamcp/README.md.gotmpl

Lines changed: 36 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,9 @@ provision:
9898
enableOauth: false
9999
```
100100

101-
## User seeding (optional)
101+
## User seeding (required when provisioning is enabled)
102102

103-
The chart can create users at install/upgrade and optionally generate API keys (stored in Secrets named like `<release>-metamcp-apikey-<email-slug>`):
103+
Provisioning authenticates using the first entry in `users`. When `provision.enabled: true`, you must define at least one user (the schema enforces this). The chart can also generate an API key for that user and store it in a Secret named like `<release>-metamcp-apikey-<email-slug>`.
104104

105105
```yaml
106106
disablePublicSignup: true
@@ -151,8 +151,40 @@ provision:
151151
Provisioning authentication
152152

153153
- The provisioning Job authenticates using the first entry in `users` (email/password).
154-
- If `users` is empty, it falls back to `[email protected]` / `change-me` for quick‑start only.
155-
- In production, always set `users[0]` and consider `disablePublicSignup: true`.
154+
- In production you must set `users[0]`. The jobs mirror the signed session cookie to the in‑cluster host to perform admin tRPC calls.
155+
- API keys are for endpoint/client auth; they are not used for admin tRPC.
156+
157+
### STDIO examples
158+
159+
Inline env (awsdocs):
160+
161+
```yaml
162+
provision:
163+
enabled: true
164+
servers:
165+
- name: awsdocs
166+
type: STDIO
167+
command: "uvx"
168+
args: ["awslabs.aws-documentation-mcp-server@latest"]
169+
env:
170+
FASTMCP_LOG_LEVEL: "ERROR"
171+
AWS_DOCUMENTATION_PARTITION: "aws"
172+
```
173+
174+
Secret-backed env (figma):
175+
176+
```yaml
177+
provision:
178+
enabled: true
179+
servers:
180+
- name: figma
181+
type: STDIO
182+
command: "npx"
183+
args: ["-y", "figma-developer-mcp", "--stdio"]
184+
envFrom:
185+
- secretRef:
186+
name: figma-mcp-env
187+
```
156188

157189
## Configuration reference
158190

charts/metamcp/values.schema.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,25 @@
11
{
22
"$schema": "http://json-schema.org/draft-07/schema#",
33
"type": "object",
4+
"allOf": [
5+
{
6+
"if": {
7+
"properties": {
8+
"provision": {
9+
"type": "object",
10+
"properties": { "enabled": { "const": true } },
11+
"required": ["enabled"]
12+
}
13+
}
14+
},
15+
"then": {
16+
"required": ["users"],
17+
"properties": {
18+
"users": { "type": "array", "minItems": 1 }
19+
}
20+
}
21+
}
22+
],
423
"properties": {
524
"env": {
625
"type": "object",

0 commit comments

Comments
 (0)