1. Conduid
  2. IoT
  3. ProtoForge
MCP server · IoT

ProtoForge

Zero-hardware simulator for 32 industrial protocols — Modbus TCP/S7/OPC UA/BACnet/MQTT & more. Test SCADA, HMI & IoT gateway software without real PLCs. 零硬件仿真32种工业协议设备,测试上位机/SCADA/网关,开箱即用。

76Good

Scored 19 hours ago · breakdown

About ProtoForge

ProtoForge is an MCP server published by suoten in the IoT category: zero-hardware simulator for 32 industrial protocols — Modbus TCP/S7/OPC UA/BACnet/MQTT & more. Test SCADA, HMI & IoT gateway software without real PLCs. 零硬件仿真32种工业协议设备,测试上位机/SCADA/网关,开箱即用。. Conduid read 24 tools from its source: ai_analyze_logs, ai_create_device_from_text, ai_extract_points, connection_guide, create_device, delete_device and 18 more. No package is published for it, so it installs from a source checkout.

The repository has 339 stars and 103 forks, is licensed MIT, and its last commit was on 30 Nov 2026. The latest release is v1.18.0 (30 Nov 2026): ✨ 新增 — 设备停止 → 协议层离线语义(GitHub issue #39) 用户实测(Kepware 类客户端):设备停止后仍收到 good 质量的 0 值——停止的 仿真设备应当"离线"。本版把 Modbus 已有的设备状态拦截机制补齐到全链路: S7:Read/Write Var 在设备停止或未注册时,数据项返回码 0x0A (… It follows v1.17.1 (30 Nov 2026), and the 5 most recent releases go back to v1.16.5 (25 Nov 2026). It passes all 5 static checks Conduid ran on the repository. Its topics include bacnet, dnp3, iec-104, industrial-automation, industrial-iot and iot-gateway.

Install

From source
git clone https://github.com/suoten/ProtoForge

Tools (24)

ai_analyze_logsAI troubleshoot (v1.13.4): analyze recent protocol debug logs with the configured LLM (local Ollama by default). Returns a diagnosis where every finding cites real log lines as evidence. Filters: protocol / device_id / direction (inbound|outbound|system).
ParameterTypeDescription
countinteger
device_idstring
directionstring
protocolstring
questionstring
ai_create_device_from_textOne-shot: LLM parses datasheet text into a point table, then creates + auto-starts the simulated device. Returns device info incl. point count and notes.
ParameterTypeDescription
device_idstring
namestring
protocol_hintstring
text *string
ai_extract_pointsParse unstructured datasheet/manual text into a structured point table via the configured LLM (local Ollama by default). Returns device name/protocol/slave_id/points[] + notes. Review before creating.
ParameterTypeDescription
protocol_hintstring
text *string
connection_guideGet how a client should connect to this simulated device: protocol, host:port, addressing examples.
ParameterTypeDescription
device_id *string
create_deviceCreate a simulated device from a template (auto-started by default). Returns device id/protocol/points. If creation fails with a slave_id conflict, retry with protocol_config={\"slave_id\": <suggested>}.
ParameterTypeDescription
device_idstring
name *string
protocol_configobject
startboolean
template_id *string
delete_deviceDelete a simulated device.
ParameterTypeDescription
device_id *string
get_deviceGet one device's full info: status, points, addresses, config.
ParameterTypeDescription
device_id *string
get_logsFetch recent protocol message logs (WebSocket debug stream snapshot). Filter by protocol or keyword.
ParameterTypeDescription
countinteger
protocolstring
searchstring
get_test_reportFetch one test report with per-step assertion results.
ParameterTypeDescription
report_id *string
list_devicesList simulated devices with id/name/protocol/status/point count.
ParameterTypeDescription
limitinteger
protocolstring
list_protocolsList all protocol services and their running state (modbus_tcp, s7, opcua, mqtt, ...).
list_scenariosList simulation scenarios (multi-device topologies with rules).
list_templatesList device templates (133 built-in: PLC/sensor/CNC/camera/meter/IED...). Filter by protocol, e.g. modbus_tcp.
ParameterTypeDescription
limitinteger
protocolstring
quick_testRun the built-in auto-generated assertion suite (scope: all/device/scenario).
ParameterTypeDescription
scopestring
read_pointsRead current values of all (or up to limit) points on a device.
ParameterTypeDescription
device_id *string
limitinteger
search_templatesSearch device templates by keyword, e.g. 'siemens', '水表', 'camera'.
ParameterTypeDescription
limitinteger
query *string
server_infoGet connected ProtoForge instance info: URL, version, uptime, device count. Call first to verify connectivity.
start_deviceStart a simulated device (protocol endpoints become reachable).
ParameterTypeDescription
device_id *string
start_protocolStart a protocol service (e.g. modbus_tcp / s7 / opcua / mqtt).
ParameterTypeDescription
name *string
start_scenarioStart a whole scenario (all its devices).
ParameterTypeDescription
scenario_id *string
stop_deviceStop a simulated device.
ParameterTypeDescription
device_id *string
stop_protocolStop a running protocol service.
ParameterTypeDescription
name *string
stop_scenarioStop a running scenario.
ParameterTypeDescription
scenario_id *string
write_pointWrite a value to one point (like writing to a real PLC register).
ParameterTypeDescription
device_id *string
point_name *string
value *any

Security checks

  • ✓README presentThe repository's README runs to about 8.9K words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by web/package-lock.json.
  • ✓No dynamic code executionScanned 210 source files and found no eval, dynamic Function or shell execution.

1 check has not been run yet.

What the source scan found

Transport
stdio and Streamable HTTPprotoforge/cli.py:180, protoforge/cli.py:180
Starts other programs
19 callsprotoforge/cli.py:340, protoforge/cli.py:397, protoforge/cli.py:415
Outbound network calls
76 callsprotoforge/ai_extract.py:99, protoforge/ai_extract.py:106, protoforge/cli.py:705
Writes or deletes files
53 callsprotoforge/api/v1/benchmark_routes.py:98, protoforge/api/v1/marketplace_routes.py:57, protoforge/api/v1/marketplace_routes.py:109
Lockfile
web/package-lock.json

Pattern matches on the source text of 210 files: places to read, not proof of what the code does at run time.

Releases

v1.18.0v1.18.0 · 30 Nov 2026✨ 新增 — 设备停止 → 协议层离线语义(GitHub issue #39) 用户实测(Kepware 类客户端):设备停止后仍收到 good 质量的 0 值——停止的 仿真设备应当"离线"。本版把 Modbus 已有的设备状态拦截机制补齐到全链路: S7:Read/Write Var 在设备停止或未注册时,数据项返回码 0x0A (Object does not exist)——客户端立即显示错误/坏质量,不再误读 0 值 Modbus TCP/RTU:新增…
v1.17.1v1.17.1 · 30 Nov 2026🐛 修复 — 配置密码自动同步密码文件:根治"按 .admin_password 文件内容登录失败"(群友实测求助) 便携版用户打开 `data\.admin_password` 按内容登录却失败。根因:`.env` 设置 `PROTOFORGE_ADMIN_PASSWORD` 时其优先级高于密码文件且旧版不同步文件—— 文件内容成为无效的旧密码(尤其 install.bat 源码安装路径会自动往 `.env` 写…
v1.17.0v1.17.0 · 27 Nov 2026✨ 新增 — Web 界面一键升级 + "跳过此版本"(用户反馈:升级别把人升没了) 便携包用户升级要下完整包、拷 data、重新部署——本次把"发现新版本 → 点击 → 自动升级 → 服务自动恢复"做成闭环,且当前版本好用可以不升级: 一键升级(便携包 / pip 形态) 新增 `/system/update/*` 端点族:status(状态机)/ download(后台下载)/ apply(应用)/ dismiss(跳过版本),admin 鉴权…
v1.16.6v1.16.6 · 26 Nov 2026🐛 修复 — S7-200/200 Smart V 区支持(Gitee issue #IKY3ME:Q 区和 V 区都读不出数据) 用户部署 v1.16.3 模拟西门子 S7-200 Smart 设备,Q 区和 V 区都读不出数据。 V 区(本版修复的根因):S7 协议层 V 区即 DB1(MicroWIN/Smart 客户端把 V10.0 映射为 DB1.DBX10.0),但 `_parse_s7_address` 不识别 V 前缀—— V10.0/VD100/VW20…
v1.16.5v1.16.5 · 25 Nov 2026🐛 修复 — S7 位寻址:位号曾被丢弃,同字节位互相污染(用户实测 KEPServer 场景) 用户以 KEPServer 客户端 + S7 仿真(M4.1 固定值 1 / M2.0)联调时发现客户端 读值与 UI 不一致,排查发现 S7 位地址解析时位号被丢弃,整个位寻址按 字节粒度处理——不同字节(M4.1 vs M2.0)无影响,但同字节的位会互相污染: 位读(BIT)返回整字节原值:M4.0=1 时客户端把 M4.1 读成 1; M4.1=1(字节值…

README

The repository's README runs to about 8.9K words, fetched yesterday. The original in the repository is authoritative.

Read full README
Questions

About ProtoForge

How do I install ProtoForge?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is ProtoForge safe to use with an AI agent?

Its trust score is 76 out of 100 (good). It passes all 5 static checks Conduid ran on the repository. Conduid's scan of 210 source files found that it serves MCP over stdio and Streamable HTTP, starts other programs (19 calls), makes outbound network calls (76 calls) and writes or deletes files (53 calls). Its dependencies are pinned by web/package-lock.json. It has no ConduID identity yet, so agent calls to it are not receipted.

Is ProtoForge still maintained?

Yes — the latest release is v1.18.0 (30 Nov 2026), and the last commit was yesterday. The repository has 339 stars and 18 open issues.

What tools does ProtoForge provide?

Conduid read 24 tools from the source: ai_analyze_logs, ai_create_device_from_text, ai_extract_points, connection_guide, create_device, delete_device, get_device, get_logs and 16 more. 21 of them publish their parameters, listed under Tools above.

What license is ProtoForge released under?

The repository declares the MIT license. That applies to the latest release, v1.18.0, as well.