@etm-professional-control/winccoa-mcp-server 1.0.7 → 1.1.0
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 +2 -2
- package/README.md +15 -0
- package/package.json +1 -1
- package/postinstall.cjs +9 -0
package/.env.example
CHANGED
|
@@ -58,9 +58,9 @@ WINCCOA_FIELD=default
|
|
|
58
58
|
# Project Instructions (optional)
|
|
59
59
|
# IMPORTANT: Path must be relative to the WinCC OA project directory (not the MCP server directory)
|
|
60
60
|
# For demo/testing: Use the included demo project instructions
|
|
61
|
-
WINCCOA_PROJECT_INSTRUCTIONS=./javascript/mcpServer/
|
|
61
|
+
# WINCCOA_PROJECT_INSTRUCTIONS=./javascript/mcpServer/demo-project-instructions.md
|
|
62
62
|
# For production: Create your own project-specific instructions
|
|
63
|
-
# WINCCOA_PROJECT_INSTRUCTIONS
|
|
63
|
+
# WINCCOA_PROJECT_INSTRUCTIONS=javascript/mcpServer/project-instructions.md
|
|
64
64
|
|
|
65
65
|
|
|
66
66
|
# ====================
|
package/README.md
CHANGED
|
@@ -76,6 +76,21 @@ Edit `%APPDATA%/Claude/claude_desktop_config.json`:
|
|
|
76
76
|
|
|
77
77
|
**⚠️ IMPORTANT:** Replace `YOUR_TOKEN_HERE` with the exact same token from your `.env` file's `MCP_API_TOKEN`. The tokens must match exactly!
|
|
78
78
|
|
|
79
|
+
**Windows Path Issue:** If you encounter the error `"C:\Program" is either misspelled or could not be found`, use this alternative configuration:
|
|
80
|
+
|
|
81
|
+
```json
|
|
82
|
+
{
|
|
83
|
+
"mcpServers": {
|
|
84
|
+
"winccoa": {
|
|
85
|
+
"command": "cmd",
|
|
86
|
+
"args": ["/c", "npx", "mcp-remote", "http://localhost:3000/mcp", "--header", "Authorization: Bearer YOUR_TOKEN_HERE"]
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
This method uses `cmd` to properly handle paths with spaces in Windows.
|
|
93
|
+
|
|
79
94
|
## Documentation
|
|
80
95
|
|
|
81
96
|
- **[📦 Installation Guide](docs/INSTALLATION.md)** - Complete setup instructions
|
package/package.json
CHANGED
package/postinstall.cjs
CHANGED
|
@@ -65,6 +65,15 @@ try {
|
|
|
65
65
|
console.log('Copied package.json');
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
+
|
|
69
|
+
// Copy demo-project-instructions.md
|
|
70
|
+
const demoSrc = path.join(nodeModulesPath, 'config', 'demo-project-instructions.md');
|
|
71
|
+
const demoDest = path.join(installDir, 'demo-project-instructions.md');
|
|
72
|
+
if (fs.existsSync(demoSrc)) {
|
|
73
|
+
fs.copyFileSync(demoSrc, demoDest);
|
|
74
|
+
console.log('Copied demo-project-instructions.md');
|
|
75
|
+
}
|
|
76
|
+
|
|
68
77
|
const fieldsPathSrc = path.join(srcPath, 'fields');
|
|
69
78
|
const fieldsPathDest = path.join(installDir, 'fields');
|
|
70
79
|
|