@yawlabs/mcp 0.79.1 → 0.79.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -1
- package/dist/{auto-upgrade-YUPODM3T.js → auto-upgrade-W6LVJ7XD.js} +1 -2
- package/dist/{chunk-33LK4DLQ.js → chunk-ODSIFM3N.js} +781 -48
- package/dist/index.js +1468 -754
- package/package.json +5 -4
- package/schemas/yaw-mcp.config.v1.json +7 -6
- package/dist/chunk-3RRZQPA5.js +0 -39
- package/dist/chunk-TBJCXYS4.js +0 -639
- package/dist/oam-spawn-UUOFWXFP.js +0 -82
package/README.md
CHANGED
|
@@ -207,14 +207,18 @@ The project `.yaw-mcp/` is found by walking up from the cwd -- stopping just bef
|
|
|
207
207
|
|
|
208
208
|
```jsonc
|
|
209
209
|
{
|
|
210
|
+
// optional -- gives editors key completion + inline validation
|
|
211
|
+
"$schema": "https://raw.githubusercontent.com/YawLabs/mcp/main/schemas/yaw-mcp.config.v1.json",
|
|
210
212
|
"version": 1, // schema version; newer versions log a warning
|
|
211
213
|
"servers": ["gh", "pg", "linear"], // allow-list of namespaces (most-specific scope wins)
|
|
212
|
-
"blocked": ["
|
|
214
|
+
"blocked": ["prod_db"], // deny-list (UNION across all scopes -- fail-safe on deny)
|
|
213
215
|
"installNudge": true // opt-in: discover may suggest installing MCP servers for
|
|
214
216
|
// CLIs found in your recent shell history (off by default)
|
|
215
217
|
}
|
|
216
218
|
```
|
|
217
219
|
|
|
220
|
+
That shape ships as a JSON Schema -- [`schemas/yaw-mcp.config.v1.json`](schemas/yaw-mcp.config.v1.json), served from the raw URL in the `$schema` line above -- so any editor that honors `$schema` completes the keys and flags a typo as you type. A namespace is `[a-z][a-z0-9_]{0,29}` (so `prod_db`, not `prod-db`); the schema rejects anything else, while the loader only warns and keeps loading.
|
|
221
|
+
|
|
218
222
|
Malformed files log a warning and fall through (fail-open). yaw-mcp reads config at startup, so restart the client after editing; `mcp_connect_health` shows which files are applied.
|
|
219
223
|
|
|
220
224
|
### Project guide -- `YAW-MCP.md`
|