Skip to main content
Glama

🌟 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 πŸŽ‰

Related MCP server: MCP PLC Core

✨ 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


πŸ“œ 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


Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      Universal MCP server for industrial PLC communication, enabling AI agents to read sensors, alarms, status, setpoints, and write setpoints via adapters for Modbus, S7, or custom PLCs.
      6
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      MCP server for industrial PLC integration, enabling AI to read tags, monitor alarms, and interact with Allen-Bradley ControlLogix PLCs via natural language.
      9
      MIT