WinCC Unified MCP XT
An MCP server for interfacing with SIEMENS WinCC Unified SCADA systems via their GraphQL API.
WinCC Unified MCP XT
A Model Context Protocol (MCP) server designed to interface with SIEMENS WinCC Unified SCADA systems via their GraphQL API. This server exposes various WinCC Unified functionalities as MCP tools, enabling AI assistants and other MCP-compatible clients to interact programmatically with the SCADA system.
This project is based on the repository by Andreas Vogler
๐ง Features
- Connects to a WinCC Unified GraphQL endpoint.
- Provides MCP tools for:
- โ
User authentication (
login-user) - ๐ Browsing SCADA objects (
browse-objects) - ๐ Reading current tag values (
get-tag-values) - ๐ Querying historical/logged tag data (
get-logged-tag-values) - ๐จ Fetching active alarms (
get-active-alarms) - ๐ Fetching logged alarms (
get-logged-alarms) - โ๏ธ Writing values to tags (
write-tag-values) - ๐ข Acknowledging alarms (
acknowledge-alarms) - ๐ Resetting alarms (
reset-alarms)
- โ
User authentication (
- Optional automatic service account login with token refresh mechanism.
โ๏ธ Prerequisites
- Node.js (v18.x or newer recommended)
- npm (comes with Node.js)
- Access to a running WinCC Unified GraphQL server endpoint
โ๏ธ Configuration
this server uses a config.js file written in ES module syntax.
config.js (ESM) example:
export const config = {
URL: "https://your-wincc-server.example.com/graphql", // required
userName: "service_account_username", // optional
pwr: "service_account_password", // optional
};
๐ How to Start
- Navigate to the project folder:
cd your-project-directory
- Install dependencies:
npm install
-
Edit config.js as shown above.
-
Start the server
node start
๐ฅ๏ธ Connecting with Claude Desktop
To use this MCP server with Claude AI (desktop version):
-
Find or create the claude_desktop_config.json file (typically in the Claude app config folder).
-
Add or update the following:
{
"mcpServers": {
"WinCC Unified": {
"command": "npx",
"args": ["mcp-remote", "http://localhost:3000/mcp"]
}
}
}
- Ensure @modelcontextprotocol/tools is installed:
npm install -g @modelcontextprotocol/tools
๐งฐ Available MCP Tools
| Tool | Description |
|---|---|
login-user | Logs in with username/password. |
browse-objects | Browses configured SCADA elements. |
get-tag-values | Retrieves live tag values. |
get-logged-tag-values | Gets historical tag data. |
get-active-alarms | Lists currently active alarms. |
get-logged-alarms | Shows previously triggered alarms. |
write-tag-values | Updates one or more tags. |
acknowledge-alarms | Acknowledges alarms. |
reset-alarms | Resets alarms. |
๐ Notes
-
If configured, a service account is automatically logged in and token refreshed every minute.
-
A user's manual login overrides the service session temporarily.
Related Servers
Code Context Provider MCP
Provides code context and analysis for AI assistants using WebAssembly Tree-sitter parsers.
Markdown Sidecar MCP Server
Serve and access markdown documentation for locally installed NPM, Go, or PyPi packages.
BrowserStack
Bring the full power of BrowserStackโs Test Platform to your AI tools, making testing faster and easier for every developer and tester on your team.
Flowise
Integrate with the Flowise API to create predictions and manage chatflows and assistants.
Coding Assistant Server
A coding assistant server that provides context-aware code suggestions, documentation integration, and technology detection.
MCP่ฟญไปฃ็ฎก็ๅทฅๅ ท
An iteration management tool to automate the collection and submission of iteration information to a CodeReview system.
Storybook MCP
Help agents automatically write and test stories for your UI components
MCP Image Extractor
Extracts images from files, URLs, or base64 strings and converts them to base64 for LLM analysis.
Foundry MCP Server
A lightweight MCP server for Solidity development using the Foundry toolchain (Forge, Cast, and Anvil).
Azure MCP Server
All Azure MCP tools in a single server. The Azure MCP Server implements the MCP specification to create a seamless connection between AI agents and Azure services. Azure MCP Server can be used alone or with the GitHub Copilot for Azure extension in VS Code.