@yawlabs/mcp 0.76.2 → 0.79.0

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.
@@ -38,8 +38,8 @@ import {
38
38
  rewriteForOam,
39
39
  specConstraint,
40
40
  winNormalize
41
- } from "./chunk-CNEMSMQD.js";
42
- import "./chunk-C3AQHLOR.js";
41
+ } from "./chunk-33LK4DLQ.js";
42
+ import "./chunk-3RRZQPA5.js";
43
43
  export {
44
44
  MIN_OAM_VERSION,
45
45
  OAM_INSTALL_PS1,
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@yawlabs/mcp",
3
- "version": "0.76.2",
3
+ "version": "0.79.0",
4
4
  "mcpName": "io.github.YawLabs/mcp",
5
- "description": "Yaw MCP -- MCP servers, managed. Free to run locally; Yaw Team adds cross-machine sync.",
5
+ "description": "Yaw MCP -- one install, every MCP server, managed from yaw.sh/mcp. Runs entirely on your machine: no account, no sign-in.",
6
6
  "license": "SEE LICENSE IN LICENSE.md",
7
7
  "author": "Yaw Labs <support@yaw.sh> (https://yaw.sh/mcp)",
8
8
  "type": "module",
@@ -11,7 +11,7 @@
11
11
  },
12
12
  "files": [
13
13
  "dist",
14
- "!dist/**/*.test.*",
14
+ "schemas",
15
15
  "README.md",
16
16
  "CHANGELOG.md"
17
17
  ],
@@ -39,7 +39,7 @@
39
39
  },
40
40
  "devDependencies": {
41
41
  "@biomejs/biome": "2.4.16",
42
- "@types/node": "^26.0.0",
42
+ "@types/node": "^20.19.43",
43
43
  "esbuild": "^0.28.1",
44
44
  "tsup": "^8.4.0",
45
45
  "typescript": "^7.0.2",
@@ -0,0 +1,57 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://raw.githubusercontent.com/YawLabs/mcp/main/schemas/yaw-mcp.config.v1.json",
4
+ "title": "Yaw MCP CLI configuration (.yaw-mcp/config.json)",
5
+ "description": "Configuration file for the @yawlabs/mcp CLI (bin `yaw-mcp`), which loads MCP servers from your local ~/.yaw-mcp/bundles.json. Resolved in precedence order (most-specific to least-specific): <project>/.yaw-mcp/config.local.json > <project>/.yaw-mcp/config.json > ~/.yaw-mcp/config.json. The project `.yaw-mcp/` directory is found by walking up from the current directory -- stopping just before $HOME when started under it; a directory outside $HOME walks to the filesystem root with an ownership check. JSONC (comments) is permitted.",
6
+ "type": "object",
7
+ "additionalProperties": false,
8
+ "properties": {
9
+ "$schema": {
10
+ "type": "string",
11
+ "format": "uri",
12
+ "description": "Optional pointer to this JSON Schema, enabling IDE autocomplete in editors that honor $schema."
13
+ },
14
+ "version": {
15
+ "type": "integer",
16
+ "minimum": 1,
17
+ "description": "Config schema version. Current version: 1. A value newer than the CLI understands triggers a warning but is not fatal."
18
+ },
19
+ "token": {
20
+ "type": "string",
21
+ "deprecated": true,
22
+ "description": "DEPRECATED and ignored. yaw-mcp is local-only and no longer contacts a hosted API, so nothing reads this key. Delete it from your config, and revoke the PAT at its source -- deleting it here does not deactivate it. The property is retained (and its `mcp_pat_` pattern relaxed) only because this schema sets additionalProperties:false: removing it would mark every existing user config invalid."
23
+ },
24
+ "apiBase": {
25
+ "type": "string",
26
+ "deprecated": true,
27
+ "description": "DEPRECATED and ignored. yaw-mcp is local-only and no longer contacts a hosted API. Delete it from your config. Retained for the same additionalProperties:false reason as `token`."
28
+ },
29
+ "installNudge": {
30
+ "type": "boolean",
31
+ "description": "Opt in to the shadow-driven install nudge in `discover`: when a recent shell command is shadowed by an MCP server you have not installed, discover suggests it. Off unless explicitly true. Resolved most-specific-scope-wins (local > project > global). The YAW_MCP_INSTALL_NUDGE=1 environment variable enables it independently."
32
+ },
33
+ "servers": {
34
+ "type": "array",
35
+ "items": { "type": "string", "minLength": 1 },
36
+ "uniqueItems": true,
37
+ "description": "Allow-list of server namespaces to activate. If set in any scope, only these servers are active. Precedence: local scope wins over project, which wins over global (most-specific overrides)."
38
+ },
39
+ "blocked": {
40
+ "type": "array",
41
+ "items": { "type": "string", "minLength": 1 },
42
+ "uniqueItems": true,
43
+ "description": "Deny-list of server namespaces that are never activated. Merged as a union across all scopes (additive, not overriding)."
44
+ }
45
+ },
46
+ "examples": [
47
+ {
48
+ "version": 1,
49
+ "servers": ["github", "filesystem"],
50
+ "blocked": ["legacy-db"]
51
+ },
52
+ {
53
+ "version": 1,
54
+ "installNudge": true
55
+ }
56
+ ]
57
+ }
@@ -1,15 +0,0 @@
1
- #!/usr/bin/env node
2
-
3
- // src/logger.ts
4
- var LOG_LEVELS = { debug: 0, info: 1, warn: 2, error: 3 };
5
- var minLevel = LOG_LEVELS[process.env.LOG_LEVEL?.toLowerCase()] ?? LOG_LEVELS.info;
6
- function log(level, msg, data) {
7
- if (LOG_LEVELS[level] < minLevel) return;
8
- const entry = JSON.stringify({ ...data, level, msg, ts: (/* @__PURE__ */ new Date()).toISOString() });
9
- process.stderr.write(`${entry}
10
- `);
11
- }
12
-
13
- export {
14
- log
15
- };