@rio-cloud/uikit-mcp 1.1.8 → 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/README.md +17 -7
- package/dist/index.mjs +2 -8
- package/package.json +15 -9
package/README.md
CHANGED
|
@@ -19,12 +19,6 @@ args = ["-y", "@rio-cloud/uikit-mcp"]
|
|
|
19
19
|
startup_timeout_sec = 30
|
|
20
20
|
```
|
|
21
21
|
|
|
22
|
-
## Preferred Usage: Native `$rio-uikit` Skill
|
|
23
|
-
|
|
24
|
-
- For day-to-day coding tasks, use the native `$rio-uikit` skill.
|
|
25
|
-
- The skill enforces the required MCP workflow (`search_docs` → `readResource`) and applies RIO UI Kit coding defaults.
|
|
26
|
-
- This repository remains fully usable as a standalone MCP server when a native skill runtime is not available.
|
|
27
|
-
|
|
28
22
|
## Available Resources & Tools
|
|
29
23
|
|
|
30
24
|
Use this section for standalone MCP usage only (that is, when `$rio-uikit` is not being used).
|
|
@@ -43,8 +37,9 @@ Use this section for standalone MCP usage only (that is, when `$rio-uikit` is no
|
|
|
43
37
|
|
|
44
38
|
### Requirements
|
|
45
39
|
|
|
46
|
-
- **Node
|
|
40
|
+
- **Node 24+** and **npm 11+**
|
|
47
41
|
- Dev dependencies must be installed (tsx is required for the tsdown build hook and tests)
|
|
42
|
+
- The repository includes a root `.npmrc` with `ignore-scripts=true`; keep installs repo-local so the npm lifecycle-script baseline is enforced consistently.
|
|
48
43
|
|
|
49
44
|
### Setup
|
|
50
45
|
|
|
@@ -55,6 +50,21 @@ npm install
|
|
|
55
50
|
npm run build:server
|
|
56
51
|
```
|
|
57
52
|
|
|
53
|
+
If you need Playwright browser binaries for crawling, install them explicitly after `npm install`:
|
|
54
|
+
|
|
55
|
+
```bash
|
|
56
|
+
npm run setup:crawler
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
### Development Skills
|
|
60
|
+
|
|
61
|
+
This repository also keeps repo-versioned Codex skills under `development-skills/` for recurring maintenance workflows:
|
|
62
|
+
|
|
63
|
+
- `uikit-mcp-vulnerability-check`
|
|
64
|
+
- Use when checking npm vulnerabilities, assessing whether repository code paths are actually affected, and deciding between remediation, deferral, or accepted risk.
|
|
65
|
+
- `uikit-mcp-dependency-update-check`
|
|
66
|
+
- Use when checking npm dependency updates and preparing actionable update plans only for policy-compliant candidates.
|
|
67
|
+
|
|
58
68
|
### Available Scripts
|
|
59
69
|
|
|
60
70
|
| Script | Description |
|
package/dist/index.mjs
CHANGED
|
@@ -5,7 +5,6 @@ import { z } from "zod";
|
|
|
5
5
|
import { existsSync, readFileSync } from "node:fs";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import FlexSearch from "flexsearch";
|
|
8
|
-
|
|
9
8
|
//#region server/lib/doc-id.ts
|
|
10
9
|
var InvalidDocIdError = class extends Error {
|
|
11
10
|
constructor(id, reason) {
|
|
@@ -42,7 +41,6 @@ function resolveInsideRoot(root, relativePath) {
|
|
|
42
41
|
if (!relative || relative.startsWith("..") || path.isAbsolute(relative)) throw new Error(`Resolved path escapes root: root="${rootPath}" relative="${relativePath}"`);
|
|
43
42
|
return resolved;
|
|
44
43
|
}
|
|
45
|
-
|
|
46
44
|
//#endregion
|
|
47
45
|
//#region server/lib/load-compiled.ts
|
|
48
46
|
/**
|
|
@@ -90,7 +88,6 @@ function loadMarkdown(distRoot, id) {
|
|
|
90
88
|
if (!existsSync(fullPath)) throw new Error(`Markdown file not found: ${mdPath}\nExpected at: ${fullPath}\nThis may indicate an incomplete build. Run "npm run build:server" to regenerate.`);
|
|
91
89
|
return readFileSync(fullPath, "utf8");
|
|
92
90
|
}
|
|
93
|
-
|
|
94
91
|
//#endregion
|
|
95
92
|
//#region server/lib/search-index.ts
|
|
96
93
|
/**
|
|
@@ -151,11 +148,9 @@ function buildSearchIndex(entries) {
|
|
|
151
148
|
};
|
|
152
149
|
return { search };
|
|
153
150
|
}
|
|
154
|
-
|
|
155
151
|
//#endregion
|
|
156
152
|
//#region package.json
|
|
157
|
-
var version = "1.1.
|
|
158
|
-
|
|
153
|
+
var version = "1.1.9";
|
|
159
154
|
//#endregion
|
|
160
155
|
//#region server/index.ts
|
|
161
156
|
const DIST_ROOT = import.meta.dirname;
|
|
@@ -308,6 +303,5 @@ main().catch((error) => {
|
|
|
308
303
|
console.error(error);
|
|
309
304
|
process.exit(1);
|
|
310
305
|
});
|
|
311
|
-
|
|
312
306
|
//#endregion
|
|
313
|
-
export {
|
|
307
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rio-cloud/uikit-mcp",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.9",
|
|
4
4
|
"description": "MCP server that serves the captured RIO UI Kit documentation to Model Context Protocol clients.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -8,6 +8,10 @@
|
|
|
8
8
|
"type": "module",
|
|
9
9
|
"author": "TB Digital Services GmbH",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
|
+
"engines": {
|
|
12
|
+
"node": ">=24",
|
|
13
|
+
"npm": ">=11"
|
|
14
|
+
},
|
|
11
15
|
"bin": {
|
|
12
16
|
"uikit-mcp": "./dist/index.mjs"
|
|
13
17
|
},
|
|
@@ -17,9 +21,7 @@
|
|
|
17
21
|
"scripts": {
|
|
18
22
|
"build:server": "tsdown",
|
|
19
23
|
"typecheck": "tsc --noEmit",
|
|
20
|
-
"
|
|
21
|
-
"test": "npm run typecheck && node --test --import tsx test/**/*.ts",
|
|
22
|
-
"prepack": "npm test",
|
|
24
|
+
"test": "npm run build:server && npm run typecheck && node --test --import tsx test/**/*.ts",
|
|
23
25
|
"setup:crawler": "npx playwright install chromium",
|
|
24
26
|
"crawl:full": "tsx tools/crawl-full.ts",
|
|
25
27
|
"crawl:navigation": "tsx crawler/cli/crawl-navigation.ts",
|
|
@@ -28,15 +30,19 @@
|
|
|
28
30
|
"mcp:server": "npm run build:server && node dist/index.mjs"
|
|
29
31
|
},
|
|
30
32
|
"dependencies": {
|
|
31
|
-
"@modelcontextprotocol/sdk": "1.
|
|
33
|
+
"@modelcontextprotocol/sdk": "1.29.0",
|
|
32
34
|
"flexsearch": "0.8.212",
|
|
33
35
|
"zod": "4.3.6"
|
|
34
36
|
},
|
|
37
|
+
"overrides": {
|
|
38
|
+
"@hono/node-server": "1.19.13",
|
|
39
|
+
"hono": "4.12.12"
|
|
40
|
+
},
|
|
35
41
|
"devDependencies": {
|
|
36
|
-
"@types/node": "
|
|
37
|
-
"playwright": "1.
|
|
38
|
-
"tsdown": "0.
|
|
42
|
+
"@types/node": "24.12.2",
|
|
43
|
+
"playwright": "1.59.1",
|
|
44
|
+
"tsdown": "0.21.7",
|
|
39
45
|
"tsx": "4.21.0",
|
|
40
|
-
"typescript": "
|
|
46
|
+
"typescript": "6.0.2"
|
|
41
47
|
}
|
|
42
48
|
}
|