nbrain-industrial-ot-zkteco-modbus
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@nbrain-industrial-ot-zkteco-modbus read holding registers 0-9 from the PLC at 192.168.1.20:502"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
nbrain-industrial-ot-zkteco-modbus — Industrial OT Modbus RTU/TCP, IEC 62443-3-3 AI Agent Safety Firewall & ZKTeco Biometric Attendance Protocol + MCP Server
Engineered by Eng. Nadeem Mohamed Badr El-Din at NBrain (منظومة إن برين — nbra.in) from production factory ERP, water-treatment telemetry, and Odoo 19 ZKTeco biometric integrations.
Capabilities
Modbus RTU (
CRC-16/MODBUS0xA001LSB-first) & Modbus TCP (MBAP7-byte header): Deterministic binary framing, hex/byte decoding, and CRC-16 corruption detection.IEC 62443-3-3AI Agent Read-Only Firewall: Prevents autonomous AI agents from issuing destructive coil/register writes (FC05,FC06,FC0F,FC10,FC16,FC17) to PLCs unless anHMAC-SHA256dual-control authorization token is verified.ZKTeco Biometric Protocol (
ZK Packed 32-Bit Epoch&ADMS / iClock ATTLOG): Exact conversion of ZKTeco's non-Unix 31-day-month packed 32-bit integer timestamps +ATTLOGshift overtime (1.5xDecimal) payroll bridge.
Related MCP server: AetherEdge
Quick Verification
PYTHONPATH=src python -m unittest discover -s tests -vAvailable Tools
4 toolsaudit_iec62443_agent_modbus_commandCInspect
Enforce IEC 62443-3-3 autonomous AI agent read-only safety firewall on Modbus PLC commands.
Inputs: slave_id (required), payload_hex (required), function_code (required), supervisor_secret, +1 more.
decode_or_encode_zkteco_epochCInspect
Convert between ZKTeco 32-bit packed biometric timestamps and ISO-8601 datetimes.
Inputs: zk_time, iso_datetime.
frame_and_verify_modbus_pduCInspect
Encode or decode Modbus RTU (CRC-16 0xA001) and Modbus TCP (MBAP) binary frames.
Inputs: mode (required), slave_id, frame_hex, payload_hex, +2 more.
reconcile_zkteco_adms_attlogBInspect
Deduplicate ZKTeco ADMS /iclock/cdata ATTLOG biometric punch records and compute exact-Decimal overtime pay.
Inputs: attlog_lines (required), hourly_wage, overtime_multiplier, scheduled_hours_per_day.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool has a clearly distinct role: Modbus frame encoding/decoding, IEC 62443 command safety auditing, ZKTeco timestamp conversion, and ZKTeco ATTLOG reconciliation. The two Modbus tools are separated by codec vs. safety enforcement, and the two ZKTeco tools by timestamp conversion vs. log processing.
All names use snake_case and begin with an action verb, making the set readable and predictable. The compound verbs such as frame_and_verify and decode_or_encode are semantically justified but slightly reduce strict verb_noun uniformity.
Four tools is well within the expected range for a specialized industrial OT integration toolkit. Each tool covers a distinct, non-trivial operation and none appears redundant.
The tools cover the advertised narrow utilities: Modbus frame codec, IEC 62443 command audit, ZKTeco epoch conversion, and ATTLOG reconciliation. However, there is no direct Modbus transaction/read-write tool or broader ZKTeco ADMS/device management surface, leaving notable operational gaps.
Maintenance
Related MCP Connectors
Tamper-evident SHA-256 hash-chained decision notary for EU AI Act, NIST AI RMF & SOC2.
Zero-data-retention deterministic validation and financial close workflow harnesses for LLMs.
Timestamp files and verify cryptographic provenance records directly from your AI agent.
Deterministic EU AI Act risk classification, GDPR Art. 30/12(3) audits, CSRD iXBRL & NIS2/DORA.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI agents to sign decisions with post-quantum cryptographic proofs and maintain secure audit trails for compliance. It provides tools for stamping events, verifying chain integrity, and exporting audit data across industries like finance and healthcare.465 npmMIT
- AlicenseBqualityBmaintenanceExposes a deterministic IoT edge runtime — Modbus/CAN/J1939 acquisition, local rules, alarms, and history — to AI assistants as typed, governed MCP tools. Reads are safe by default; device control stays deny-by-default, explicitly confirmed, and audited.233Apache 2.0
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to generate and statically verify IEC 61131-3 Structured Text logic, mutate .csp/.cpj OLE2 project containers, trigger in-GUI Error Check compilation, manage HMI screens, and run deterministic OCS scan-cycle simulations and Modbus telemetry scaling against Cscape 10.2. All physical hardware and firmware-download paths are intercepted fail-closed, so commissioning must be performed manually by authorized field personnel.MIT
- AlicenseNot gradedqualityDmaintenanceEnables LLM agents to inspect multi-modal IoT telemetry and query safety policies, then dispatch actuator commands through typed MCP tools that enforce deterministic safety interlocks and record a tamper-evident SHA-256 chained audit trail. This lets automated agents control building hardware without violating safety invariants, while rejecting cross-sensor false alarms and cutting redundant telemetry and token usage.MIT