@nodegx/mcp 0.2.4 → 0.2.6
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 +4 -0
- package/bin/noodl-mcp.js +14 -0
- package/dist/backend/LICENSE +21 -0
- package/dist/backend/cli.js +1448 -803
- package/dist/backend/folder/start.cmd +4 -0
- package/dist/backend/folder/start.js +378 -0
- package/dist/backend/folder/start.sh +4 -0
- package/dist/backend/vm/provision-app.sh +194 -0
- package/dist/cloud-bundle.cjs +891 -762
- package/dist/kit-extract.cjs +752 -466
- package/dist/kit-extract.inputs.json +114 -113
- package/dist/node-catalog.json +41 -5
- package/dist/noodl-mcp.cjs +231827 -216421
- package/dist/package.json +1 -1
- package/dist/render-harness/data/node-catalog-enriched.json +614 -20
- package/dist/render-harness/data/node-catalog.json +41 -5
- package/dist/render-harness/render-from-disk.js +136 -136
- package/dist/src/external/viewer/noodl.viewer.js +1 -1
- package/package.json +2 -3
- package/src/index.ts +0 -14
package/README.md
CHANGED
|
@@ -310,3 +310,7 @@ npm run build --workspace @nodegx/mcp # esbuild → dist/noodl-mcp.cjs
|
|
|
310
310
|
|
|
311
311
|
The server is licensed GPL-3.0-only because it bundles code from the NodeGX editor. The source is in
|
|
312
312
|
[The-Low-Code-Foundation/NodeGX](https://github.com/The-Low-Code-Foundation/NodeGX), under `packages/noodl-mcp`.
|
|
313
|
+
|
|
314
|
+
The apps it builds aren't under the GPL. Their pages, data and assets belong to whoever built them. A deployed
|
|
315
|
+
app runs on the NodeGX runtime, which is MIT, and on the backend in `dist/backend/`, which is MIT too and carries its
|
|
316
|
+
own `LICENSE`. Every deployed folder holds a `NODEGX-LICENSE.txt` that says which licence covers which file.
|
package/bin/noodl-mcp.js
CHANGED
|
@@ -1,2 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
+
// P125 CCN-001 s5 (2026-10-23) — the bundle needs Node 20 or newer (`@nodegx/node-spec` wants the `File`
|
|
3
|
+
// constructor). Claude Desktop starts a SECOND copy of a server "for Cowork and Code sessions" from a shared pool
|
|
4
|
+
// with its own, shorter PATH, where `node` resolved to v16 on Richard's Mac while the chat's copy got v22: that
|
|
5
|
+
// copy died with a stack trace at the top of mcp-server-nodegx.log and Desktop said "nodegx couldn't start". Said
|
|
6
|
+
// in one sentence, with the fix, before the require that would throw it.
|
|
7
|
+
var major = Number(process.versions.node.split('.')[0]);
|
|
8
|
+
if (major < 20) {
|
|
9
|
+
process.stderr.write(
|
|
10
|
+
'noodl-mcp: needs Node 20 or newer; this is Node ' + process.versions.node + ' at ' + process.execPath + '. ' +
|
|
11
|
+
'In the host\'s config, set "command" to an absolute path of a newer node (for nvm: ~/.nvm/versions/node/v22.x/bin/node) ' +
|
|
12
|
+
'rather than "node": a host can start a server with a PATH that is not your shell\'s.\n'
|
|
13
|
+
);
|
|
14
|
+
process.exit(1);
|
|
15
|
+
}
|
|
2
16
|
require('../dist/noodl-mcp.cjs');
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) The NodeGX contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
16
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
17
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
18
|
+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
|
19
|
+
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
|
20
|
+
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
|
|
21
|
+
OR OTHER DEALINGS IN THE SOFTWARE.
|