plctap MCP server
Agent-PLC MCP Server: read & diagnose Modbus / FINS / MELSEC / S7 / IEC 104 / ENIP / OPC UA PLCs.
1 stars
Reviews
Write oneNobody has reviewed plctap yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
plctap tools (17, 2 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
detect_device设备自动识别: 给定 host 自动扫端口并判定协议 (v0.4, 全程只读)。
diagnose综合观测给出结构化的故障候选结论 (确定性规则, 不编故事; 全程只读)。
get_listener_frames取监听收下的帧 (direction/peer/frame_hex), 供 parse_frame/diagnose 分析。
get_proxy_frames取代理录制的双向透传帧 (direction: c2s=上位机→PLC, s2c=PLC→上位机)。
list_protocols列出本 server 支持的工业协议及其能力。
parse_frame把一帧报文 hex 逐字段结构化解析 (不需要连接设备)。
parse_pcap解析 Wireshark 导出 pcap: 按 TCP 流聚合载荷 -> 按协议切帧 -> 逐帧 parse_auto。
plc_browse浏览地址空间: 从 node 展开一层子节点 (诊断场景的"列目录")。
plc_read从 PLC 读取数据区并按数据类型解释。
plc_writewrite action写数据点 (危险操作: 需要用户明确授权)。
probe_device测试能否连上 PLC 并通信, 失败时给出层级归因。
send_framewrite action发送任意原始帧并等待一帧响应 (危险: 直接与真实设备交互)。
start_listener起钓鱼模式监听: 待测设备只能当 client 时, 立假 server 钓出它的帧行为。
start_proxy起透明代理: 上位机 → 代理 → 真实 PLC, 透传同时按协议分帧录制双向帧。
stop_listener停掉指定端口的监听, 返回收/发帧统计。
stop_proxy停掉指定端口的代理, 返回录制统计 (c2s/s2c 帧数)。
validate_frame对一帧报文跑规范校验清单, 逐项 pass/fail (不需要连接设备)。
Public scan report
scanner v0.1.5 · 2026-09-19 · same rubric, same numbers if you re-run it
- Code scan63 source files scanned20/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 7 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Findings (1)
- mediumeval / new Function used
exec.evalplctap-0.6.2/src/plctap/pcap.py: …es scapy; install with: uv sync --extra eval (or pip install scapy)" ) from e …
Install directly
claude mcp add plctap -- uvx plctap
plctap: common questions
- Is plctap MCP server safe?
- Yes, by our scan: it is graded A (85/100). Read the plctap safety report
- How do I install plctap?
- It runs on your machine. Copy the Claude Code, Claude Desktop or Cursor config from the install section.
- Does plctap need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is plctap maintained?
- The last commit was 8 days ago (2026-09-13). The latest release is v0.6.2.