fix(core): correct MCP environment field in built-in skill (#39175)

This commit is contained in:
OpeOginni 2026-07-27 21:52:16 +02:00 committed by GitHub
parent 8e8d38c3cd
commit 8dc539b4ae
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -112,7 +112,7 @@ Every field is optional.
"type": "local",
"command": ["npx", "-y", "@playwright/mcp"],
"enabled": true,
"env": {}
"environment": {}
},
"remote-thing": {
"type": "remote",
@ -371,7 +371,7 @@ Special object-shaped (not callbacks): `tool: { my_tool: { ... } }`,
"type": "local",
"command": ["npx", "-y", "@playwright/mcp"],
"enabled": true,
"env": { "BROWSER": "chromium" }
"environment": { "BROWSER": "chromium" }
},
"github": {
"type": "remote",
@ -384,7 +384,8 @@ Special object-shaped (not callbacks): `tool: { my_tool: { ... } }`,
}
```
`command` is an array of strings. `type` is required. Use `enabled: false` to
`command` is an array of strings. `environment` sets environment variables for
a local MCP server. `type` is required. Use `enabled: false` to
disable a server inherited from a parent config. String values such as header
tokens support `{env:VAR}` interpolation (and `{file:path}`); the shell-style
`${VAR}` is not substituted.