Agent♥︎Age
Catalog

plctap

Official

by ymxc152 · Python

Agent-PLC MCP Server: read & diagnose Modbus / FINS / MELSEC / S7 / IEC 104 / ENIP / OPC UA PLCs.

io.github.ymxc152/plctap MCP Server

The Agent-PLC MCP Server connects to, reads from, and diagnoses industrial PLCs. It supports multiple protocols—Modbus TCP, FINS, MELSEC, and Siemens S7comm—and includes protocol auto-detection and a transparent proxy workflow for end-to-end connectivity.

🛠️ Key Features

  • Protocol auto-identification via detect_device using IP-based parallel port probing and response fingerprints (protocol/port/confidence).
  • “Deep mode” device validation that performs reads and generates executable plc_read suggestions (connection phase runs only read operations).
  • Connectivity testing with failure attribution via probe_device (includes MELSEC 3E binary/ASCII automatic fallback).
  • Multi-protocol reading via plc_read, interpreting data by datatype and byte order across four protocols; supports default uint16/int16/float32 byte orders (abcd/cdab/badc/dcba) and int32.

🚀 Use Cases

  • Diagnose and verify PLC connectivity across Modbus, FINS, MELSEC, and Siemens S7comm devices.
  • Automatically determine the correct PLC protocol/port for subsequent reads.
  • Perform structured data reads with datatype and endianness handling.

⚡ Developer Benefits

  • Standardized MCP tools: detect_device, probe_device, and plc_read.
  • Read-focused detect/validate flow with generated plc_read recommendations.
  • Data interpretation includes byte order options and datatype defaults.

⚠️ Limitations

  • detect_device operates only with reads throughout the detection flow.

Topics

agentfastmcpfinsindustrial-automationmcpmelsecmodbusplcscadamcp-servermodelcontextprotocols7s7comm