Industrial MCP
No description available
Ask AI about Industrial MCP
Powered by Claude Β· Grounded in docs
I know everything about Industrial MCP. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Reviews
Documentation
π EDGEAI MCP
The Open-Source Bridge Between AI and Industrial Equipment
Features β’ Quick Start β’ Protocols β’ Docs β’ Contributing
π What is Industrial MCP?
Industrial MCP is an open-source project that implements the Model Context Protocol (MCP) for industrial environments. It allows any AI model (Claude, GPT, Mistral, Llama, etc.) to read data from and control industrial equipment through a standardized interface.
Think of it as USB-C for Industrial AI β one universal connector for all your machines.
The Problem We Solve
β Traditional Approach:
AI Model ββ Custom API 1 ββ Machine 1 (Modbus)
AI Model ββ Custom API 2 ββ Machine 2 (OPC UA)
AI Model ββ Custom API 3 ββ Machine 3 (MQTT)
= NΓM integration nightmare π±
β
With Industrial MCP:
AI Model ββ MCP Protocol ββ Industrial MCP Server ββ Any Machine
= One standard interface for everything π
β¨ Features
| Feature | Description |
|---|---|
| π Multi-Protocol Support | Modbus TCP/RTU, OPC UA, MQTT, S7 (Siemens) |
| π€ AI-Ready | Works with Claude, ChatGPT, Mistral, local LLMs |
| π Edge-First | Runs on Raspberry Pi, Jetson, any Linux device |
| π Data Sovereignty | All processing on-premise, no cloud required |
| πͺπΊ GDPR Compliant | Data never leaves your factory |
| π¬ Natural Language | Talk to your machines in plain language |
| π Built-in Monitoring | Real-time dashboards and alerts |
| π§ Extensible | Add custom protocols with simple Python plugins |
π Quick Start
Installation
# Clone the repository
git clone https://github.com/YOUR_USERNAME/industrial-mcp.git
cd industrial-mcp
# Create virtual environment
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install dependencies
pip install -e .
Basic Usage
from industrial_mcp import MCPServer, ModbusAdapter
# Create MCP server
server = MCPServer(name="my-factory")
# Connect to a Modbus device (e.g., a pump)
pump = ModbusAdapter(
host="192.168.1.100",
port=502,
device_name="pump-01"
)
# Register the device
server.register_device(pump)
# Define tools that AI can use
@server.tool("get_pump_status")
async def get_pump_status():
"""Get the current status of the main pump"""
temp = await pump.read_register(address=100)
vibration = await pump.read_register(address=101)
return {
"temperature": temp,
"vibration": vibration,
"status": "normal" if vibration < 50 else "warning"
}
# Start the MCP server
server.run(host="0.0.0.0", port=8080)
Connect with Claude Desktop
Add to your Claude Desktop config (claude_desktop_config.json):
{
"mcpServers": {
"industrial": {
"command": "python",
"args": ["-m", "industrial_mcp", "--config", "config.yaml"]
}
}
}
Now you can ask Claude:
"What's the temperature of pump-01?"
"Is the vibration level normal?"
"Show me the status of all connected devices."
π‘ Supported Protocols
| Protocol | Status | Use Case |
|---|---|---|
| Modbus TCP | β Stable | PLCs, sensors, meters |
| Modbus RTU | β Stable | Serial devices, RS-485 |
| OPC UA | β Stable | Modern industrial systems |
| MQTT | β Stable | IoT sensors, lightweight devices |
| Siemens S7 | π Beta | Siemens PLCs (S7-300/400/1200/1500) |
| BACnet | π Planned | Building automation |
| EtherNet/IP | π Planned | Allen-Bradley, Rockwell |
ποΈ Architecture
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β YOUR FACTORY β
β β
β ββββββββββββ ββββββββββββ ββββββββββββ ββββββββββββ β
β β Machine 1β β Machine 2β β Machine 3β β Sensor N β β
β β (Modbus) β β (OPC UA) β β (MQTT) β β (Modbus) β β
β ββββββ¬ββββββ ββββββ¬ββββββ ββββββ¬ββββββ ββββββ¬ββββββ β
β β β β β β
β βββββββββββββββ΄βββββββ¬βββββββ΄ββββββββββββββ β
β β β
β ββββββββββΌβββββββββ β
β β INDUSTRIAL MCP β β
β β SERVER β β Runs on Edge β
β β ββββββββββββββ β β
β β β Adapters β β β
β β β ββββββββ β β β
β β β βModbusβ β β β
β β β βOPC UAβ β β β
β β β β MQTT β β β β
β β β ββββββββ β β β
β β ββββββββββββββ β β
β β ββββββββββββββ β β
β β β MCP Server β β β
β β ββββββββββββββ β β
β ββββββββββ¬βββββββββ β
β β β
ββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββ
β MCP Protocol (JSON-RPC)
βΌ
βββββββββββββββββββ
β AI CLIENT β
β Claude / GPT β
β Local LLM β
βββββββββββββββββββ
π‘ Use Cases
π§ Predictive Maintenance
@server.tool("analyze_vibration_pattern")
async def analyze_vibration():
"""Compare current vibration with historical failure patterns"""
current = await pump.read_vibration()
historical = await db.get_failure_patterns()
similarity = calculate_similarity(current, historical)
return {
"similarity_to_failure": f"{similarity}%",
"recommendation": "Schedule inspection" if similarity > 80 else "Normal"
}
π Real-time Monitoring
@server.tool("get_production_status")
async def get_production():
"""Get real-time production line status"""
return {
"units_produced": await plc.read("production_count"),
"efficiency": await calculate_oee(),
"downtime_minutes": await get_downtime()
}
π¨ Anomaly Detection
@server.tool("check_anomalies")
async def check_anomalies():
"""Detect anomalies across all connected devices"""
anomalies = []
for device in server.devices:
if await device.is_anomalous():
anomalies.append(device.name)
return {"anomalies": anomalies, "count": len(anomalies)}
π₯οΈ Edge Deployment
Raspberry Pi 4/5
# Install on Raspberry Pi
curl -sSL https://get.industrial-mcp.io | bash
# Or manually
pip install industrial-mcp[raspberry]
NVIDIA Jetson
# Optimized for Jetson with local LLM support
pip install industrial-mcp[jetson]
Docker
docker run -d \
--name industrial-mcp \
-p 8080:8080 \
-v ./config.yaml:/app/config.yaml \
industrialmcp/server:latest
π Documentation
| Document | Description |
|---|---|
| Getting Started | First steps with Industrial MCP |
| Configuration | YAML configuration reference |
| Adapters Guide | How to use protocol adapters |
| Custom Adapters | Write your own adapter |
| Security | Authentication and encryption |
| API Reference | Complete API documentation |
π€ Contributing
We welcome contributions! See CONTRIBUTING.md for guidelines.
Development Setup
# Clone and install dev dependencies
git clone https://github.com/YOUR_USERNAME/industrial-mcp.git
cd industrial-mcp
pip install -e ".[dev]"
# Run tests
pytest
# Run linting
ruff check .
Roadmap
- Modbus TCP/RTU adapter
- OPC UA adapter
- MQTT adapter
- Basic MCP server
- Siemens S7 adapter (in progress)
- Web dashboard
- Local LLM integration (Ollama)
- Anomaly detection ML models
- ATEX certification support
π Community
- π¬ Discord
- π¦ Twitter
- π§ Mailing List
π License
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
π’ Enterprise Edition
Need more features for your enterprise?
| Feature | Open Source | Enterprise |
|---|---|---|
| Core MCP Server | β | β |
| Modbus/OPC UA/MQTT | β | β |
| Community Support | β | β |
| Multi-site Management | β | β |
| Advanced Analytics Dashboard | β | β |
| Priority Support (SLA) | β | β |
| CE/ATEX Certification Kit | β | β |
| Custom Protocol Development | β | β |
π§ Contact: enterprise@industrial-mcp.io
Made with β€οΈ in France π«π·
Part of the La French Tech ecosystem
