IndustrialOps Industry 4.0 PLC Monitor MCP Server
by jdbruh18
README.md
# ๐ญ IndustrialOps Industry 4.0 PLC Monitor MCP Server
[](LICENSE)
[](https://www.python.org/downloads/)
[](https://modelcontextprotocol.io)
[](https://www.siemens.com)
A Model Context Protocol (MCP) server that connects LLMs to factory PLC sensors, machinery health metrics, and predictive maintenance diagnostics.
---
## ๐งฐ Available MCP Tools
This server exposes **3 tools** over standard I/O (stdio) transport:
### 1. `read_plc_registers`
Fetches current register readings (RPM, PSI, Temperature, Vibration, Status) for a designated PLC.
* **Parameters**:
- `plc_id` *(string, required)*: PLC identifier (e.g., `"PLC_ASSEMBLY_01"`, `"PLC_PACKAGING_02"`).
### 2. `get_predictive_maintenance_report`
Analyzes machinery vibration telemetry and temperatures to estimate Remaining Useful Life (RUL) hours and schedule preventative inspections.
### 3. `get_energy_consumption`
Exposes active power draw (kW) profiles and efficiency ratings for factory equipment load planning.
---
## ๐ฆ Installation & Quickstart
```bash
# 1. Setup environment
cd industrialops-mcp-server
python -m venv venv
.\venv\Scripts\activate
# 2. Install package
pip install -e .
```
### Claude Desktop Config
```json
{
"mcpServers": {
"industrialops": {
"command": "D:/Projects/industrialops-mcp-server/venv/Scripts/python.exe",
"args": [
"-m",
"industrialops_mcp.server"
]
}
}
}
```
---
## ๐งช Testing
```bash
python -m pytest -o pythonpath=src
```
TDQS
A3.8/5.0
Scored across 3 tools
Disambiguation5/5
Each tool targets a distinct aspect of PLC monitoring: real-time registers, predictive maintenance, and energy consumption. No overlap or confusion possible.
Naming Consistency5/5
All tool names follow the consistent 'verb_noun' pattern using snake_case ('read_plc_registers', 'get_predictive_maintenance_report', 'get_energy_consumption').
Tool Count5/5
With 3 tools, the server is focused and each tool earns its place. The count is within the 3-15 well-scoped range.
Completeness5/5
For a monitoring-only server, the tools cover real-time data, predictive maintenance, and energy metrics. No obvious gaps for the stated purpose.
Maintenance
ActivityStale
ResponsivenessNo issues