industriagents-dnp3-mcp
v0.3.0Model Context Protocol server for DNP3 SCADA networks.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
read_inputs
Select one source mode and provide only its parameters. binary: Read binary inputs (DNP3 group 1) from an outstation. Reads indexes start_index to start_index + count - 1 over a fresh TCP connection to DNP3_HOST:DNP3_PORT. Each point has its value, its flag octet, the decoded quality flags and a timestamp when the device sent one. Fails if the outstation does not return every requested index. Any unsolicited data the outstation pushes meanwhile is confirmed (so it is removed from the outstation) and returned in meta.unsolicited. analog: Read analog inputs (DNP3 group 30) from an outstation.…
| Parameter | Type | Description |
|---|---|---|
source * | Select the source mode described above. | |
alias | string | Alias defined in the point map. |
count | integer | Number of consecutive points to read (1-1000). |
outstation_address | integer | DNP3 link address of the outstation (0-65519). |
start_index | integer | First point index to read. |
control_binary_output
Select one target mode and provide only its parameters. address: Operate a binary output with a DNP3 control relay output block (CROB, group 12). value=true sends LATCH_ON, value=false sends LATCH_OFF, using select-before-operate unless DNP3_CONTROL_MODE=direct_operate. Refused unless DNP3_WRITES_ENABLED=true. Succeeds only when the outstation answers with control status SUCCESS and echoes the control unchanged; any other status, a mismatched echo, a timeout or a dropped link is reported as a failure, and the error says whether the output may have changed. meta.outcome is "operated", "reject…
| Parameter | Type | Description |
|---|---|---|
target * | Select the target mode described above. | |
alias | string | Alias defined in the point map. |
index | integer | Point index of the binary output. |
outstation_address | integer | DNP3 link address of the outstation (0-65519). |
value | boolean | true latches the output ON, false latches it OFF. Pass a JSON boolean; the strings "true" and "false" are also accepted. Anything else is rejected. |
poll_class
Poll an outstation for Class 0 static data or Class 1/2/3 events. event_class=0 returns every static point the device reports (inputs, output status, counters). 1, 2 or 3 returns the buffered events of that class and DELETES them on the outstation (they are confirmed), so other masters sharing the association will not see them; repeating the call does not return them again. Each entry has its point type, index, value, quality flags and timestamp if sent. If an event response cannot be fully decoded that fragment is not confirmed and the call fails, with the events of fragments already confirm…
| Parameter | Type | Description |
|---|---|---|
event_class * | integer | 0 reads all static data (Class 0); 1, 2 or 3 reads that event class. |
outstation_address * | integer | DNP3 link address of the outstation (0-65519). |
list_points
List the aliases defined in the point map (POINT_MAP_FILE). Invalid entries are listed with an 'error' field. Does not contact any outstation.
ping
Report the server's configuration: connection settings, write switch and point map. Does not contact any outstation; use a read tool to check that a device answers.