loading…
Search for a command to run...
loading…
MCP server providing access to Siemens WinCC V8 SCADA systems via REST API, enabling tag management, alarm logging, and archive operations.
MCP server providing access to Siemens WinCC V8 SCADA systems via REST API, enabling tag management, alarm logging, and archive operations.
A Model Context Protocol (MCP) server that provides access to Siemens WinCC V8 SCADA systems through their REST API. Created by Andreas Vogler in 2025.
login-user - Log in to WinCC with username and passwordwincc-get-connections - Read all connection configurationswincc-get-connection - Read specific connection configurationwincc-get-groups - Read all tag group configurationswincc-get-group - Read specific tag group configurationwincc-get-structure-types - Read all structure type configurationswincc-get-structure-type - Read specific structure type configurationwincc-get-structure-variables - Read structure type instanceswincc-get-tag-value - Read runtime value of a specific tagwincc-get-tag-values - Read runtime values of multiple tagswincc-write-tag-value - Write value to a specific tagwincc-write-tag-values - Write values to multiple tagswincc-get-tag-config - Read configuration of a specific tagwincc-get-tags-config - Read configuration of all tagswincc-get-archives - Read all process value archive configurationswincc-get-archive - Read specific archive configurationwincc-get-archive-variable - Read specific archive variable configurationwincc-get-archive-variables - Read all variables in an archivewincc-get-archive-value - Read runtime value of an archive variablewincc-get-archive-values - Read runtime values of multiple archive variableswincc-get-timers - Read all archive system timer configurationswincc-get-timer - Read specific timer configurationwincc-get-archive-tag - Read archive system tag configurationwincc-get-archive-tags - Read all archive system tag configurationswincc-get-alarm-message-classes - List message classes with optional paging and language support (GET /alarmLogging/MessageClasses)wincc-get-alarm-message-class - Read specific message class with language support (GET /alarmLogging/MessageClass/{messageClassName})wincc-get-alarm-message-types - List message types with optional paging and language support (GET /alarmLogging/MessageTypes) wincc-get-alarm-message-type - Read specific message type with language support (GET /alarmLogging/MessageType/{messageTypeName})wincc-get-alarm-message-groups - List message groups with optional paging and language support (GET /alarmLogging/MessageGroups)wincc-get-alarm-message-group - Read specific message group with language support (GET /alarmLogging/MessageGroup/{messageGroupName})wincc-get-alarm-message-blocks - List message blocks with optional paging and language support (GET /alarmLogging/MessageBlocks)wincc-get-alarm-message-block - Read specific message block with language support (GET /alarmLogging/MessageBlock/{messageBlockName})wincc-get-alarm-messages - List messages with optional paging and language support (GET /alarmLogging/Messages)wincc-get-alarm-message - Read specific message by number with language support (GET /alarmLogging/Message/{messageNumber})wincc-get-alarm-limit-values - List limit values with optional paging and language support (GET /alarmLogging/LimitValues)wincc-get-alarm-limit-value - Read per-tag limit values with language support (GET /alarmLogging/LimitValue/{tagName})wincc-get-alarm-rest-filters - List configured REST filters with language support (GET /alarmLogging/RestFilters)wincc-get-alarm-rest-filter - Read specific REST filter with language support (GET /alarmLogging/RestFilter/{filterName})wincc-get-alarm-message-list - Read runtime messages of a message list with language support (GET /alarmLogging/MessageList/{filterName})wincc-get-alarm-short-term-archive - Read runtime messages from a short-term archive with optional maxValues limit and language support (GET /alarmLogging/ShortTermArchive/{filterName})wincc-get-alarm-long-term-archive - Read runtime messages from a long-term archive with optional maxValues limit and language support (GET /alarmLogging/LongTermArchive/{filterName})wincc-get-alarm-hit-list - Read runtime messages from a hit list with optional maxValues limit and language support (GET /alarmLogging/HitList/{filterName})wincc-get-alarm-lock-list - Read runtime messages from a lock list with language support (GET /alarmLogging/LockList/{filterName})wincc-get-alarm-hide-list - Read runtime messages from a list to be hidden with language support (GET /alarmLogging/Hidelist/{filterName})wincc-get-alarm-hidden-message-list - Read runtime messages from a list of hidden messages with language support (GET /alarmLogging/HiddenMessageList/{filterName})git clone https://github.com/yourusername/wincc-mcp-server.git
cd wincc-mcp-server
npm install
Security Notice: This server has not been hardened or secured for production use. It is the responsibility of the user to implement appropriate security measures (such as authentication, authorization, network restrictions, and HTTPS) before deploying or exposing this server in any environment.
# WinCC REST API Configuration
WINCC_URL=https://localhost:34569/WinCCRestService # Default WinCC REST service URL
WINCC_USR=username1 # Default username
WINCC_PWD=password1 # Default password
WINCC_BEARER_TOKEN= # Optional bearer token
WINCC_SKIP_CERTIFICATE_VALIDATION=false # Set to true to skip SSL certificate validation (development only)
NODE_TLS_REJECT_UNAUTHORIZED=0 # Set to 0 to disable TLS certificate validation (development only)
# CORS Configuration
WINCC_ALLOW_ORIGIN=* # CORS origin setting - '*' allows all origins, or specify specific URLs like 'http://localhost:3000'
# MCP Server Port
PORT=3000 # MCP server port (can also be set via --port)
# Using npm
npm start
# Using node directly (default port 3000)
node index.js
# Development mode with debugging
npm run dev
The server starts on port 3000 by default (or $PORT if set) and listens for MCP requests at the /mcp endpoint.
You can override configuration via command-line flags:
# Set MCP server port
node index.js --port 4000
# Set WinCC REST base URL
node index.js --wincc-url https://my-host:34569/WinCCRestService
# Authentication (basic)
node index.js --wincc-usr myuser --wincc-pwd mypass
# Authentication (bearer token takes precedence over basic)
node index.js --wincc-bearer-token "eyJhbGciOi..."
# CORS allowed origin
node index.js --wincc-allow-origin "*"
node index.js --wincc-allow-origin "http://localhost:5173"
# Skip certificate validation for https (development only)
node index.js --wincc-skip-certificate-validation
# Control Node's TLS rejection directly (development only)
node index.js --node-tls-reject-unauthorized 0
# Combine options
node index.js --port 4000 \
--wincc-url https://my-host:34569/WinCCRestService \
--wincc-usr myuser --wincc-pwd mypass \
--wincc-allow-origin "http://localhost:5173" \
--wincc-skip-certificate-validation
# If installed via npm (bin: wincc-mcp-server)
wincc-mcp-server --port 4000 --wincc-url https://my-host:34569/WinCCRestService
# Show help
node index.js --help
Precedence: CLI flags override environment variables; otherwise defaults apply.
To use this MCP server with the Claude AI desktop application (or other clients supporting mcp-remote), you need to configure the client to connect to this server. For the Claude Desktop application, this is typically done by editing a claude_desktop_config.json file. The location of this file varies by operating system but is usually within the Claude application's support or configuration directory.
Add or update the mcpServers section in your claude_desktop_config.json file like this:
{
"mcpServers": {
"WinCC V8": {
"command": "npx",
"args": ["mcp-remote", "http://localhost:3000/mcp"]
}
}
}
en-USMessageList, ShortTermArchive, LongTermArchive, HitList, LockList, Hidelist, HiddenMessageList) accept a filterName path segment referring to a configured REST filter.itemLimit, continuationPoint) applies to configuration list endpoints, not message system runtime lists.ShortTermArchive, LongTermArchive, and HitList, you can use maxValues to cap the number of returned messages (up to 1000 unless otherwise specified).Accept-Language and Content-Language as needed.WINCC_ALLOW_ORIGIN to restrict allowed origins in productionThe server includes CORS support to allow web applications to access the MCP endpoints from different origins:
WINCC_ALLOW_ORIGIN=* to allow all originsWINCC_ALLOW_ORIGIN=https://yourdomain.com,https://anotherdomain.com* in production environments with sensitive dataRun with debugging enabled:
npm run dev
Created by Andreas Vogler, 2025
Run in your terminal:
claude mcp add wincc-v8-mcp-server -- npx Security
Low riskAutomated heuristic from public metadata — not a security guarantee.