@etm-professional-control/winccoa-mcp-server 1.5.0 → 1.5.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/.env.example +6 -2
- package/OSS.md +8 -8
- package/README.md +4 -4
- package/build/helpers/icons/IX_ICONS_LIST.txt +1407 -0
- package/build/helpers/icons/IconGenerator.d.ts +54 -3
- package/build/helpers/icons/IconGenerator.d.ts.map +1 -1
- package/build/helpers/icons/IconGenerator.js +104 -22
- package/build/helpers/icons/IconGenerator.js.map +1 -1
- package/build/helpers/icons/IconList.d.ts +17 -2
- package/build/helpers/icons/IconList.d.ts.map +1 -1
- package/build/helpers/icons/IconList.js +41 -19
- package/build/helpers/icons/IconList.js.map +1 -1
- package/build/tool_loader.d.ts +21 -1
- package/build/tool_loader.d.ts.map +1 -1
- package/build/tool_loader.js +49 -8
- package/build/tool_loader.js.map +1 -1
- package/build/tools/archive/archive_query.d.ts.map +1 -1
- package/build/tools/archive/archive_query.js +2 -5
- package/build/tools/archive/archive_query.js.map +1 -1
- package/build/tools/common/common_query.d.ts.map +1 -1
- package/build/tools/common/common_query.js +2 -5
- package/build/tools/common/common_query.js.map +1 -1
- package/build/tools/datapoints/dp_basic.d.ts.map +1 -1
- package/build/tools/datapoints/dp_basic.js +62 -38
- package/build/tools/datapoints/dp_basic.js.map +1 -1
- package/build/tools/datapoints/dp_types.d.ts.map +1 -1
- package/build/tools/datapoints/dp_types.js +15 -9
- package/build/tools/datapoints/dp_types.js.map +1 -1
- package/build/tools/icons/icon.d.ts.map +1 -1
- package/build/tools/icons/icon.js +52 -7
- package/build/tools/icons/icon.js.map +1 -1
- package/build/tools/pv_range/pv_range_query.d.ts +12 -0
- package/build/tools/pv_range/pv_range_query.d.ts.map +1 -1
- package/build/tools/pv_range/pv_range_query.js +63 -31
- package/build/tools/pv_range/pv_range_query.js.map +1 -1
- package/build/utils/helpers.d.ts +56 -4
- package/build/utils/helpers.d.ts.map +1 -1
- package/build/utils/helpers.js +144 -14
- package/build/utils/helpers.js.map +1 -1
- package/build/utils/projectPath.d.ts +52 -0
- package/build/utils/projectPath.d.ts.map +1 -0
- package/build/utils/projectPath.js +102 -0
- package/build/utils/projectPath.js.map +1 -0
- package/manifest.cjs +50 -0
- package/package.json +5 -4
- package/postinstall.cjs +10 -4
- package/sbom.json +582 -623
package/.env.example
CHANGED
|
@@ -55,12 +55,16 @@ MCP_SSL_CA_PATH=/path/to/ca.pem
|
|
|
55
55
|
# Field Configuration
|
|
56
56
|
WINCCOA_FIELD=default
|
|
57
57
|
|
|
58
|
+
# Project path (optional override). Default: the project path reported by the
|
|
59
|
+
# WinCC OA manager. Used by the icon tools (<project>/data/WebUI/icons).
|
|
60
|
+
# WINCCOA_PROJ_PATH=/path/to/your/project
|
|
61
|
+
|
|
58
62
|
# Project Instructions (optional)
|
|
59
63
|
# IMPORTANT: Path must be relative to the WinCC OA project directory (not the MCP server directory)
|
|
60
64
|
# For demo/testing: Use the included demo project instructions
|
|
61
|
-
# WINCCOA_PROJECT_INSTRUCTIONS=./javascript/
|
|
65
|
+
# WINCCOA_PROJECT_INSTRUCTIONS=./javascript/mcpWinCCOA/demo-project-instructions.md
|
|
62
66
|
# For production: Create your own project-specific instructions
|
|
63
|
-
# WINCCOA_PROJECT_INSTRUCTIONS=javascript/
|
|
67
|
+
# WINCCOA_PROJECT_INSTRUCTIONS=javascript/mcpWinCCOA/project-instructions.md
|
|
64
68
|
|
|
65
69
|
# ====================
|
|
66
70
|
# PMON CONFIGURATION
|
package/OSS.md
CHANGED
|
@@ -39,7 +39,7 @@ machine-readable CycloneDX SBOM (`sbom.json`) is published with each release.
|
|
|
39
39
|
| dotenv 16.6.1 | Yes | Loads `.env` configuration. Under Siemens vulnerability monitoring as of 2026-09-01; no known vulnerabilities. | [BSD-2-Clause](https://github.com/motdotla/dotenv/blob/master/LICENSE) |
|
|
40
40
|
| express 5.2.1 | Yes | HTTP server for the streamable HTTP transport. Under Siemens vulnerability monitoring as of 2026-09-01; no known vulnerabilities. | [MIT](https://github.com/expressjs/express/blob/master/LICENSE) |
|
|
41
41
|
| express-rate-limit 7.5.1 | Yes | Request rate limiting. Under Siemens vulnerability monitoring as of 2026-09-01; no known vulnerabilities. | [MIT](https://github.com/express-rate-limit/express-rate-limit/blob/main/LICENSE) |
|
|
42
|
-
| mcp-remote 0.
|
|
42
|
+
| mcp-remote 0.14.3 | Yes | Remote MCP client bridge. Under Siemens vulnerability monitoring as of 2026-09-30. Updated from 0.1.37 to 0.14.3 for Siemens SVM notification 236904 (Remote Information Disclosure in OAuth scope handling, versions 0.1.32 to 0.1.38, fixed in 0.1.39). Also **not affected** by the older Remote Command Injection vulnerability in versions 0.0.5 to 0.1.15 (fixed in 0.1.16). | [MIT](https://github.com/geelen/mcp-remote/blob/main/LICENSE) |
|
|
43
43
|
| zod 3.25.76 | Yes | Runtime schema validation for tool inputs. Under Siemens vulnerability monitoring as of 2026-09-01; no known vulnerabilities. | [MIT](https://github.com/colinhacks/zod/blob/main/LICENSE) |
|
|
44
44
|
|
|
45
45
|
### Not distributed
|
|
@@ -52,7 +52,7 @@ machine-readable CycloneDX SBOM (`sbom.json`) is published with each release.
|
|
|
52
52
|
|
|
53
53
|
Development dependencies are not part of the delivered artifact and are excluded from `sbom.json`
|
|
54
54
|
(`--omit dev`). Listed for completeness: `@cyclonedx/cyclonedx-npm` 6.0.1 (Apache-2.0), `typescript`
|
|
55
|
-
5.9.3 (Apache-2.0), `vitest` 4.1.11 (MIT), `@vitest/coverage-v8` 4.1.11 (MIT), `@types/node`
|
|
55
|
+
5.9.3 (Apache-2.0), `vitest` 4.1.11 (MIT), `@vitest/coverage-v8` 4.1.11 (MIT), `@types/node` 24.19.0
|
|
56
56
|
(MIT), `@types/express` 5.0.6 (MIT).
|
|
57
57
|
|
|
58
58
|
<!-- BEGIN GENERATED COMPONENT LIST - edit gen-oss.mjs, not this block -->
|
|
@@ -100,7 +100,7 @@ Licence summary: MIT (100), ISC (7), BSD-2-Clause (2), BSD-3-Clause (2). All are
|
|
|
100
100
|
| express | 5.2.1 | [MIT](https://opensource.org/license/mit) | yes |
|
|
101
101
|
| express-rate-limit | 7.5.1 | [MIT](https://opensource.org/license/mit) | yes |
|
|
102
102
|
| fast-deep-equal | 3.1.3 | [MIT](https://opensource.org/license/mit) | no |
|
|
103
|
-
| fast-uri | 3.1.
|
|
103
|
+
| fast-uri | 3.1.8 | [BSD-3-Clause](https://opensource.org/license/bsd-3-clause) | no |
|
|
104
104
|
| finalhandler | 2.1.1 | [MIT](https://opensource.org/license/mit) | no |
|
|
105
105
|
| forwarded | 0.2.0 | [MIT](https://opensource.org/license/mit) | no |
|
|
106
106
|
| fresh | 2.0.0 | [MIT](https://opensource.org/license/mit) | no |
|
|
@@ -110,11 +110,11 @@ Licence summary: MIT (100), ISC (7), BSD-2-Clause (2), BSD-3-Clause (2). All are
|
|
|
110
110
|
| gopd | 1.2.0 | [MIT](https://opensource.org/license/mit) | no |
|
|
111
111
|
| has-symbols | 1.1.0 | [MIT](https://opensource.org/license/mit) | no |
|
|
112
112
|
| hasown | 2.0.2 | [MIT](https://opensource.org/license/mit) | no |
|
|
113
|
-
| hono | 4.13.
|
|
113
|
+
| hono | 4.13.12 | [MIT](https://opensource.org/license/mit) | no |
|
|
114
114
|
| http-errors | 2.0.1 | [MIT](https://opensource.org/license/mit) | no |
|
|
115
115
|
| iconv-lite | 0.7.2 | [MIT](https://opensource.org/license/mit) | no |
|
|
116
116
|
| inherits | 2.0.4 | [ISC](https://opensource.org/license/isc-license-txt) | no |
|
|
117
|
-
| ip-address | 10.7.
|
|
117
|
+
| ip-address | 10.7.2 | [MIT](https://opensource.org/license/mit) | no |
|
|
118
118
|
| ipaddr.js | 1.9.1 | [MIT](https://opensource.org/license/mit) | no |
|
|
119
119
|
| is-docker | 3.0.0 | [MIT](https://opensource.org/license/mit) | no |
|
|
120
120
|
| is-inside-container | 1.0.0 | [MIT](https://opensource.org/license/mit) | no |
|
|
@@ -125,7 +125,7 @@ Licence summary: MIT (100), ISC (7), BSD-2-Clause (2), BSD-3-Clause (2). All are
|
|
|
125
125
|
| json-schema-traverse | 1.0.0 | [MIT](https://opensource.org/license/mit) | no |
|
|
126
126
|
| json-schema-typed | 8.0.2 | [BSD-2-Clause](https://opensource.org/license/bsd-2-clause) | no |
|
|
127
127
|
| math-intrinsics | 1.1.0 | [MIT](https://opensource.org/license/mit) | no |
|
|
128
|
-
| mcp-remote | 0.
|
|
128
|
+
| mcp-remote | 0.14.3 | [MIT](https://opensource.org/license/mit) | yes |
|
|
129
129
|
| media-typer | 1.1.0 | [MIT](https://opensource.org/license/mit) | no |
|
|
130
130
|
| merge-descriptors | 2.0.0 | [MIT](https://opensource.org/license/mit) | no |
|
|
131
131
|
| methods | 1.1.2 | [MIT](https://opensource.org/license/mit) | no |
|
|
@@ -144,7 +144,7 @@ Licence summary: MIT (100), ISC (7), BSD-2-Clause (2), BSD-3-Clause (2). All are
|
|
|
144
144
|
| path-to-regexp | 8.4.2 | [MIT](https://opensource.org/license/mit) | no |
|
|
145
145
|
| pkce-challenge | 5.0.1 | [MIT](https://opensource.org/license/mit) | no |
|
|
146
146
|
| proxy-addr | 2.0.7 | [MIT](https://opensource.org/license/mit) | no |
|
|
147
|
-
| qs | 6.
|
|
147
|
+
| qs | 6.16.0 | [BSD-3-Clause](https://opensource.org/license/bsd-3-clause) | no |
|
|
148
148
|
| range-parser | 1.2.1 | [MIT](https://opensource.org/license/mit) | no |
|
|
149
149
|
| raw-body | 3.0.2 | [MIT](https://opensource.org/license/mit) | no |
|
|
150
150
|
| require-from-string | 2.0.2 | [MIT](https://opensource.org/license/mit) | no |
|
|
@@ -165,7 +165,7 @@ Licence summary: MIT (100), ISC (7), BSD-2-Clause (2), BSD-3-Clause (2). All are
|
|
|
165
165
|
| strict-url-sanitise | 0.0.1 | [MIT](https://opensource.org/license/mit) | no |
|
|
166
166
|
| toidentifier | 1.0.1 | [MIT](https://opensource.org/license/mit) | no |
|
|
167
167
|
| type-is | 2.1.0 | [MIT](https://opensource.org/license/mit) | no |
|
|
168
|
-
| undici | 7.
|
|
168
|
+
| undici | 7.30.0 | [MIT](https://opensource.org/license/mit) | no |
|
|
169
169
|
| unpipe | 1.0.0 | [MIT](https://opensource.org/license/mit) | no |
|
|
170
170
|
| utils-merge | 1.0.1 | [MIT](https://opensource.org/license/mit) | no |
|
|
171
171
|
| vary | 1.1.2 | [MIT](https://opensource.org/license/mit) | no |
|
package/README.md
CHANGED
|
@@ -62,13 +62,13 @@ For detailed prerequisites, see **[📋 Prerequisites Guide](docs/PREREQUISITES.
|
|
|
62
62
|
|
|
63
63
|
### 1. Install
|
|
64
64
|
|
|
65
|
-
Navigate to your WinCC OA projects javascript directory and create a folder for the MCP server.
|
|
65
|
+
Navigate to your WinCC OA projects javascript directory and create a folder for the MCP server. We use `mcpWinCCOA` as the folder name throughout this documentation:
|
|
66
66
|
|
|
67
67
|
**Windows & Linux:**
|
|
68
68
|
```cmd
|
|
69
69
|
cd <OA_ProjPath>\javascript
|
|
70
|
-
mkdir
|
|
71
|
-
cd
|
|
70
|
+
mkdir mcpWinCCOA
|
|
71
|
+
cd mcpWinCCOA
|
|
72
72
|
```
|
|
73
73
|
|
|
74
74
|
Then install the required packages:
|
|
@@ -142,7 +142,7 @@ TOOLS=datapoints/dp_basic,datapoints/dp_types,archive/archive_query,common/commo
|
|
|
142
142
|
|
|
143
143
|
Add JavaScript Manager in WinCC OA:
|
|
144
144
|
- **Manager Type:** JavaScript Manager
|
|
145
|
-
- **Script Path:** `
|
|
145
|
+
- **Script Path:** `mcpWinCCOA/index_http.js`
|
|
146
146
|
|
|
147
147
|
### 4. Connect Claude Desktop
|
|
148
148
|
|