@yawlabs/mcp 1.1.7 → 1.1.9
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/CHANGELOG.md +44 -0
- package/README.md +56 -0
- package/dist/{auto-upgrade-7FG236LQ.js → auto-upgrade-RGWSTKNN.js} +1 -1
- package/dist/{chunk-TI26KSBV.js → chunk-NYVP3NOV.js} +24 -6
- package/dist/chunk-PPQ2SHCU.js +6306 -0
- package/dist/git-source-ROCB3T3U.js +126 -0
- package/dist/index.js +13718 -15217
- package/package.json +1 -1
- package/schemas/yaw-mcp.manifest.v1.json +65 -0
package/package.json
CHANGED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://raw.githubusercontent.com/YawLabs/mcp/main/schemas/yaw-mcp.manifest.v1.json",
|
|
4
|
+
"title": "Yaw MCP server manifest (yaw-mcp.json)",
|
|
5
|
+
"description": "Optional file in an MCP server's git repository that tells `yaw-mcp add --git <url>` how to add it: its namespace, description, entry file, package subdirectory and the env vars it reads. Read from the repo root and, when a subdir is in effect, from <subdir>/yaw-mcp.json, whose fields override the root's key by key. Flags given to `yaw-mcp add` beat the manifest; the manifest beats what yaw-mcp infers from package.json. It can never change what runs: the launch is always `node <entry>` and the build always `<package manager> run build`, so keys like command, args or scripts are refused with a warning. Unknown keys are ignored with a warning. The file is strictly optional -- everything here has an `add` flag -- and a repo may keep it out of a public mirror. JSONC (comments) is permitted.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"$schema": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "Optional pointer to this JSON Schema, for editor autocomplete."
|
|
11
|
+
},
|
|
12
|
+
"version": {
|
|
13
|
+
"const": 1,
|
|
14
|
+
"description": "Manifest schema version. Current version: 1. A newer value is read for the fields this yaw-mcp knows, with a warning."
|
|
15
|
+
},
|
|
16
|
+
"namespace": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"pattern": "^[a-z][a-z0-9_]{0,29}$",
|
|
19
|
+
"description": "The namespace the server's tools are prefixed with. Makes the name argument to `yaw-mcp add` optional."
|
|
20
|
+
},
|
|
21
|
+
"description": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"minLength": 1,
|
|
24
|
+
"description": "What the server is for. Dispatch ranks servers on it."
|
|
25
|
+
},
|
|
26
|
+
"entry": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"minLength": 1,
|
|
29
|
+
"description": "The built entry file, relative to the package directory (e.g. dist/index.js). Default: package.json \"bin\", then \"main\". No absolute paths, drive letters or \"..\"."
|
|
30
|
+
},
|
|
31
|
+
"subdir": {
|
|
32
|
+
"type": "string",
|
|
33
|
+
"minLength": 1,
|
|
34
|
+
"description": "The package's directory inside the repo (e.g. packages/server). Root manifest only. No absolute paths, drive letters or \"..\"."
|
|
35
|
+
},
|
|
36
|
+
"env": {
|
|
37
|
+
"type": "object",
|
|
38
|
+
"description": "Env vars the server reads, keyed by name. Declarations only: a secret is written to bundles.json as a ${secret:NAME} reference, never as a value.",
|
|
39
|
+
"propertyNames": { "pattern": "^[A-Za-z_][A-Za-z0-9_]*$" },
|
|
40
|
+
"additionalProperties": {
|
|
41
|
+
"type": "object",
|
|
42
|
+
"properties": {
|
|
43
|
+
"secret": {
|
|
44
|
+
"type": "string",
|
|
45
|
+
"pattern": "^[a-zA-Z0-9_.-]+$",
|
|
46
|
+
"description": "The vault secret name this var is bound to. `yaw-mcp add` offers to store it when the vault lacks it."
|
|
47
|
+
},
|
|
48
|
+
"required": {
|
|
49
|
+
"type": "boolean",
|
|
50
|
+
"description": "The server needs this var to run."
|
|
51
|
+
},
|
|
52
|
+
"help": {
|
|
53
|
+
"type": "string",
|
|
54
|
+
"description": "Where to get the value (shown next to the secret name)."
|
|
55
|
+
},
|
|
56
|
+
"default": {
|
|
57
|
+
"type": "string",
|
|
58
|
+
"description": "A non-secret value written as-is. Ignored next to `secret`."
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"additionalProperties": false
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|