AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
MCP verified MIT Self-run

Winccoa Ae Js Mcpserver

mcp-winccoa-winccoa-ae-js-mcpserver · by winccoa

WinCC OA MCP Server

No reviews yet
0 installs
39 views
0.0% view→install

Install

$ agentstack add mcp-winccoa-winccoa-ae-js-mcpserver

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets Used
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/mcp-winccoa-winccoa-ae-js-mcpserver)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
4mo ago

Declared compatibility

Claude CodeClaude DesktopCursorWindsurf

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Winccoa Ae Js Mcpserver? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

WinCC OA MCP Server

AI Integration for Industrial Automation

This Model Context Protocol (MCP) server connects AI assistants to WinCC OA SCADA systems, enabling intelligent automation and monitoring for industrial environments.

Quick Start

Ask your AI:

  • "Show me all temperature values in the plant"
  • "Which pumps are currently running?"
  • "Set the setpoint for pump P-101 to 50%"
  • "Create a production report for today"

⚠️ Warning

This tool can modify your WinCC OA system configuration and runtime data. Changes made through this MCP server directly affect your SCADA system and connected industrial processes. Use at your own risk and ensure proper testing in a safe environment before deploying to production systems.

To prevent write operations to SCADA configuration and runtime data, exclude these tool categories from your configuration:

  • Datapoints: datapoints/dp_set, datapoints/dp_create, datapoints/dp_type_create
  • Alarms: alarms/alarm_set, alarms/alarm_delete
  • Archives: archive/archive_set, archive/archive_delete
  • Common Config: common/common_set, common/common_delete
  • PV Ranges: pv_range/pv_range_set, pv_range/pv_range_delete
  • Managers: manager/manager_control, manager/manager_add, manager/manager_remove, manager/manager_properties
  • Dashboards: dashboards/dashboard, dashboards/widget
  • OPC UA: opcua/opcua_connection, opcua/opcua_address
  • MQTT: mqtt/mqtt_connection

Note: Icon tools (icons/icon) create/delete SVG files but don't modify SCADA data.

Example read-only configuration:

# Only include read operations
TOOLS=datapoints/dp_basic,datapoints/dp_types,archive/archive_query,common/common_query,pv_range/pv_range_query,manager/manager_list,opcua/opcua_connection

ℹ️ Version Requirements

Dashboard Tools Requirement: The dashboard-related tools require WinCC OA version 3.21 or higher. If you are using an earlier version of WinCC OA, these tools will not be available. Other tools and features will continue to work with earlier versions.

Prerequisites

This MCP server requires an AI tool that supports Model Context Protocol (MCP) servers. It works with any AI tool that has MCP support. For instructions on how to configure an MCP server in your specific AI tool, please refer to your tools documentation.

For this guide, we'll use Claude Desktop as an example. Download Claude Desktop

For detailed prerequisites, see [📋 Prerequisites Guide](docs/PREREQUISITES.md).

1. Install

Navigate to your WinCC OA projects javascript directory and create a folder for the MCP server. You can choose any name for this folder - we'll use mcpServer in this guide:

Windows & Linux:

cd \javascript
mkdir mcpServer
cd mcpServer

Then install the required packages:

npm install @etm-professional-control/winccoa-mcp-server

Install the WinCC OA JavaScript Manager package from your local WinCC OA installation. The path depends on your WinCC OA version and installation:

WinCC OA 3.20 (default path):

npm install file:C:/Siemens/Automation/WinCC_OA/3.20/javascript/winccoa-manager

WinCC OA 3.21 (default path):

npm install file:"C:\Program Files\Siemens\WinCC_OA\3.21\javascript\winccoa-manager"

2. Configure

Create configuration file from template:

Windows:

copy .env.example .env
notepad .env

Linux/macOS:

cp .env.example .env
nano .env  # or use your preferred editor

Minimal .env setup:

# IMPORTANT: This token MUST match the token in Claude Desktop config!
# IMPORTANT: You can use any string as token (e.g., "my-secret-token-123")
# For better security, generate a random token:
# Windows:
#   - PowerShell: -join ((1..64) | ForEach {'{0:X}' -f (Get-Random -Max 16)})
#   - Node.js: node -e "console.log(require('crypto').randomBytes(32).toString('hex'))"
# Linux/macOS:
#   - openssl rand -hex 32
#   - pwgen 64 1
#   - node -e "console.log(require('crypto').randomBytes(32).toString('hex'))"
MCP_API_TOKEN=your-secure-token-here

# Choose industry context
WINCCOA_FIELD=default  # or 'oil', 'transport'

# Configure available tools (examples - see docs/TOOLS.md for complete list)
# Full feature set
TOOLS=datapoints/dp_basic,datapoints/dp_set,opcua/opcua_connection,mqtt/mqtt_connection,dashboards/dashboard,manager/manager_list
# Default: Read-only monitoring (safe starting point)
TOOLS=datapoints/dp_basic,datapoints/dp_types,archive/archive_query,common/common_query,pv_range/pv_range_query,manager/manager_list

# Dashboard-focused setup (includes write operations)
# TOOLS=datapoints/dp_basic,dashboards/dashboard,dashboards/widget,icons/icon

# Manager control setup (includes write operations)
# TOOLS=manager/manager_list,manager/manager_control,manager/manager_add

# Full feature set (includes all write operations - use with caution)
# TOOLS=datapoints/dp_basic,datapoints/dp_set,opcua/opcua_connection,dashboards/dashboard,manager/manager_list

3. Start Server

Add JavaScript Manager in WinCC OA:

  • Manager Type: JavaScript Manager
  • Script Path: mcpServer/index_http.js

4. Connect Claude Desktop

To access the configuration file:

  1. Open Claude Desktop
  2. Click the menu (☰) in the upper left corner
  3. Navigate to File → Settings
  4. Go to the Developer section
  5. Click "Edit Config" to open the configuration file

Edit the configuration file:

{
  "mcpServers": {
    "winccoa": {
      "command": "npx",
      "args": ["mcp-remote", "http://localhost:3000/mcp", "--header", "Authorization: Bearer YOUR_TOKEN_HERE"]
    }
  }
}

⚠️ IMPORTANT: Replace YOUR_TOKEN_HERE with the exact same token from your .env file's MCP_API_TOKEN. The tokens must match exactly!

Windows Path Issue: If you encounter the error "C:\Program" is either misspelled or could not be found, use this alternative configuration:

{
  "mcpServers": {
    "winccoa": {
      "command": "cmd",
      "args": ["/c", "npx", "mcp-remote", "http://localhost:3000/mcp", "--header", "Authorization: Bearer YOUR_TOKEN_HERE"]
    }
  }
}

This method uses cmd to properly handle paths with spaces in Windows.

Note: After modifying the configuration, you must restart Claude Desktop completely:

  • On Windows: Close Claude through the task-tray menu by selecting "Exit", or end the task in Task Manager if needed
  • On macOS/Linux: Quit Claude Desktop completely and restart

Remote Host: When connecting to a remote WinCC OA server (not localhost), you must add the --allow-http flag to the mcp-remote args. Example:

{
  "mcpServers": {
    "winccoa": {
      "command": "npx",
      "args": ["mcp-remote", "http://winccoaserver:3000/mcp", "--header", "Authorization: Bearer YOUR_TOKEN_HERE", "--allow-http"]
    }
  }
}

5. Connect Claude Code (CLI)

If you are using Claude Code (the CLI), you can add the MCP server directly from your terminal:

claude mcp add --transport http winccoa http://localhost:3000/mcp --header "Authorization: Bearer your-secure-token-here"

Remote Host: When connecting to a remote WinCC OA server (not localhost), add the --allow-http flag:

claude mcp add --transport http winccoa http://winccoaserver:3000/mcp --header "Authorization: Bearer your-secure-token-here" --allow-http

Documentation

  • [📦 Installation Guide](docs/INSTALLATION.md) - Complete setup instructions
  • [⚙️ Configuration](docs/CONFIGURATION.md) - All .env options and server modes
  • [🔧 Tools](docs/TOOLS.md) - Available tools and custom development
  • [📝 Instructions](docs/INSTRUCTIONS.md) - Industry templates and project customization
  • [🔍 Troubleshooting](docs/TROUBLESHOOTING.md) - Common issues and limitations

Features

Secure API - Token-based authentication ✅ Industry Templates - Pre-configured for Oil & Gas, Transportation ✅ Custom Tools - Extend with your own WinCC OA integrations ✅ Project Rules - Plant-specific AI guidance ✅ Dynamic Loading - Configure only needed tools

Available Tool Categories

  • 📊 Datapoints - Read, write, and create datapoints and types
  • 🔗 OPC UA - Connect to OPC UA servers and browse address spaces
  • 📡 MQTT - Connect to MQTT brokers and map topics to datapoints
  • 📈 Dashboards & Widgets - Create and manage visualization dashboards
  • 🚨 Alarms - Configure alarm thresholds and notifications
  • 📁 Archives - Query and configure historical data storage
  • ⚙️ Manager Control - Start, stop, and manage WinCC OA processes (Pmon)
  • 🔧 Common Config - Set descriptions, aliases, formats, and units
  • ✓ PV Range Validation - Define min/max value ranges
  • 🎨 Icons - Create custom SVG icons and browse 1,400+ built-in Siemens IX icons

See [🔧 TOOLS.md](docs/TOOLS.md) for complete tool documentation.

Support

License

ISC - See LICENSE.md for details.

Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.