@yawlabs/mcp 0.80.0 → 1.0.1

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/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@yawlabs/mcp",
3
- "version": "0.80.0",
3
+ "version": "1.0.1",
4
4
  "mcpName": "io.github.YawLabs/mcp",
5
- "description": "Yaw MCP -- one install, every MCP server, managed from yaw.sh/mcp. Runs entirely on your machine: no account, no sign-in.",
5
+ "description": "MCP gateway and orchestrator: one local install fronts every MCP server for Claude Code, Cursor, and VS Code, loading tools on demand.",
6
6
  "license": "SEE LICENSE IN LICENSE.md",
7
7
  "author": "Yaw Labs <support@yaw.sh> (https://yaw.sh/mcp)",
8
8
  "type": "module",
@@ -19,8 +19,8 @@
19
19
  "build": "tsup",
20
20
  "dev": "tsup --watch",
21
21
  "test": "vitest run",
22
- "lint": "biome check src/ tsup.config.ts vitest.config.ts tsconfig.json",
23
- "lint:fix": "biome check --write src/ tsup.config.ts vitest.config.ts tsconfig.json",
22
+ "lint": "node scripts/lint.mjs check src/ tsup.config.ts vitest.config.ts tsconfig.json",
23
+ "lint:fix": "node scripts/lint.mjs check --write src/ tsup.config.ts vitest.config.ts tsconfig.json",
24
24
  "typecheck": "tsc --noEmit",
25
25
  "test:dist": "npm run build && npm test",
26
26
  "preinstall": "node -e \"const major=Number(process.versions.node.split('.')[0]);if(major<20){console.error('@yawlabs/mcp requires Node 20 or newer; this is Node '+process.versions.node+'. Upgrade Node, then re-run the install.');process.exit(1);}\"",
@@ -52,9 +52,22 @@
52
52
  "keywords": [
53
53
  "mcp",
54
54
  "model-context-protocol",
55
- "orchestrator",
56
55
  "mcp-server",
56
+ "mcp-gateway",
57
+ "mcp-proxy",
58
+ "mcp-broker",
59
+ "mcp-manager",
60
+ "orchestrator",
61
+ "cli",
57
62
  "ai",
63
+ "claude-code",
64
+ "claude-desktop",
65
+ "cursor",
66
+ "vscode",
67
+ "windsurf",
68
+ "gemini-cli",
69
+ "secrets-vault",
70
+ "lazy-loading",
58
71
  "yaw",
59
72
  "yaw-mcp",
60
73
  "yawlabs"
@@ -66,5 +79,5 @@
66
79
  "bugs": {
67
80
  "url": "https://github.com/YawLabs/mcp/issues"
68
81
  },
69
- "homepage": "https://yaw.sh/mcp"
82
+ "homepage": "https://yaw.sh/mcp/"
70
83
  }
@@ -33,22 +33,49 @@
33
33
  "servers": {
34
34
  "type": "array",
35
35
  "uniqueItems": true,
36
- "items": { "type": "string", "minLength": 1, "pattern": "^[a-z][a-z0-9_]{0,29}$" },
36
+ "items": {
37
+ "type": "string",
38
+ "minLength": 1,
39
+ "pattern": "^[a-z][a-z0-9_]{0,29}$"
40
+ },
37
41
  "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). Entries are matched literally against an installed namespace, so `pattern` mirrors NAMESPACE_RE (src/local-bundles.ts): a lowercase letter followed by up to 29 more of [a-z0-9_]. A blank, padded, or wrong-case entry ('GitHub', ' github') can never name a server. The loader is softer about the same three cases, and the split is deliberate -- it drops a blank entry with a warning, trims a padded one, and KEEPS an unmatchable one with a warning (dropping it would empty the array and silently promote this scope to the parent's allow-list). `uniqueItems` likewise flags a repeated namespace in the editor, where it is always a typo; the loader treats the duplicate as the harmless no-op it is."
38
42
  },
39
43
  "blocked": {
40
44
  "type": "array",
41
45
  "uniqueItems": true,
42
- "items": { "type": "string", "minLength": 1, "pattern": "^[a-z][a-z0-9_]{0,29}$" },
46
+ "items": {
47
+ "type": "string",
48
+ "minLength": 1,
49
+ "pattern": "^[a-z][a-z0-9_]{0,29}$"
50
+ },
43
51
  "description": "Deny-list of server namespaces that are never activated. Merged as a union across all scopes (additive, not overriding). Same namespace `pattern` and `uniqueItems` as `servers`, and the same strict-schema / lenient-loader split: the union is a Set, so the loader absorbs a duplicate rather than rejecting it."
52
+ },
53
+ "blockedTools": {
54
+ "type": "array",
55
+ "uniqueItems": true,
56
+ "items": {
57
+ "type": "string",
58
+ "minLength": 1,
59
+ "pattern": "^[A-Za-z0-9_.:-]+\\*?$"
60
+ },
61
+ "description": "Deny-list of individual TOOLS that are never callable, merged as a union across all scopes exactly like `blocked`. A different axis from `blocked`: that one names whole servers and is enforced when a server would spawn, while these name tools and are enforced when one would be called -- so a blocked tool on an allowed server is refused at the gate, and there is no allow-list counterpart to un-deny one. Entries are the FLATTENED wire name tools/list advertises, `<namespace>_<tool>` (`gh_delete_repo`), matched literally and case-sensitively, with an optional single trailing `*` for a prefix match (`pg_drop_*`). A bare `*` is refused: a deny matching everything is far likelier a mistake than an intent, and `blocked` is how you turn a server off. A bare tool name does NOT match across servers, because `<namespace>_<tool>` cannot be unambiguously re-split -- namespaces may themselves contain `_`. Meta-tools (`mcp_connect_*`) cannot be blocked. A blocked tool is withheld from tools/list but keeps its route, so calling it by name returns an explicit refusal rather than an `unknown tool` error that reads as a typo."
44
62
  }
45
63
  },
46
64
  "examples": [
47
65
  {
48
66
  "$schema": "https://raw.githubusercontent.com/YawLabs/mcp/main/schemas/yaw-mcp.config.v1.json",
49
67
  "version": 1,
50
- "servers": ["github", "filesystem"],
51
- "blocked": ["legacy_db"]
68
+ "servers": [
69
+ "github",
70
+ "filesystem"
71
+ ],
72
+ "blocked": [
73
+ "legacy_db"
74
+ ],
75
+ "blockedTools": [
76
+ "gh_delete_repo",
77
+ "pg_drop_*"
78
+ ]
52
79
  },
53
80
  {
54
81
  "version": 1,