siglent-sds-mcp
v2.1.0MCP server for Siglent SDS oscilloscope control via SCPI over TCP sockets
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
connect
Connect to a Siglent oscilloscope over TCP. Returns device identification on success. Only the configured oscilloscope (SIGLENT_IP), hosts in SIGLENT_ALLOWED_HOSTS, or, if neither is set, private-LAN IP addresses are accepted, on the instrument port.
| Parameter | Type | Description |
|---|---|---|
host | string | IP address of the oscilloscope (defaults to SIGLENT_IP) |
port | integer | TCP port (defaults to SIGLENT_PORT or 5025) |
disconnect
Disconnect from the oscilloscope.
identify
Query the oscilloscope identification (*IDN?). Returns manufacturer, model, serial number, and firmware version.
get_channel
Query the configuration of an analog channel. Returns volts/div, offset, coupling, bandwidth limit, trace on/off, probe attenuation, and unit.
| Parameter | Type | Description |
|---|---|---|
channel * | string | Channel to query (C1, C2, C3, or C4) |
configure_channel
Configure an analog channel's parameters. Only specified parameters will be changed.
| Parameter | Type | Description |
|---|---|---|
channel * | string | Channel to configure (C1, C2, C3, or C4) |
bandwidth_limit | boolean | Enable (true) or disable (false) 20MHz bandwidth limit |
coupling | string | Coupling mode: A1M=AC 1MOhm, A50=AC 50Ohm, D1M=DC 1MOhm, D50=DC 50Ohm, GND=Ground |
offset | string | Vertical offset with unit (e.g. '0V', '-500mV', '1.5V') |
probe | number | Probe attenuation factor (e.g. 1, 10, 100, 1000) |
trace | boolean | Turn channel display on (true) or off (false) |
vdiv | string | Volts per division with unit (e.g. '500mV', '1V', '2V'). Range: 500uV to 10V |
configure_acquisition
Control acquisition state and configure timebase/trigger settings. Use 'command' to run/stop the scope, and optionally set timebase and trigger parameters in the same call.
| Parameter | Type | Description |
|---|---|---|
command | string | Acquisition command: 'run' starts acquisition (ARM), 'stop' stops it, 'single' sets single trigger mode, 'auto' sets auto trigger mode |
timebase | string | Time per division with unit (e.g. '1US', '500NS', '10MS', '1S'). Range: 1NS to 100S |
trigger_delay | string | Trigger delay / horizontal position with unit (e.g. '0S', '-4.8US', '100NS') |
trigger_level | string | Trigger level voltage with unit (e.g. '1.5V', '500mV', '-200mV') |
trigger_mode | string | Trigger sweep mode |
trigger_slope | string | Trigger slope: POS=rising edge, NEG=falling edge, WINDOW=alternating |
trigger_source | string | Trigger source. Setting it selects an edge trigger on that source (TRSE EDGE,SR,<source>), replacing any other trigger type such as pulse or serial. |
get_acquisition_status
Get the current acquisition state including sample rate, memory depth, timebase, trigger configuration, and acquisition status.
measure
Take a measurement on a channel. Common parameters: PKPK (peak-to-peak), FREQ (frequency), RMS, MEAN, RISE (rise time), FALL (fall time), DUTY (duty cycle), ALL (all measurements). Installs the measurement on the scope and returns the value.
| Parameter | Type | Description |
|---|---|---|
channel * | string | Channel to measure (C1, C2, C3, or C4) |
parameter * | string | Measurement type: PKPK, MAX, MIN, AMPL, TOP, BASE, CMEAN, MEAN, RMS, CRMS, OVSN, FPRE, OVSP, RPRE, PER, FREQ, PWID, NWID, RISE, FALL, WID, DUTY, NDUTY, ALL |
measure_statistics
Control measurement statistics. Turn statistics on/off, reset them, or read the statistical values (current, mean, min, max, std-dev, count) for a measurement.
| Parameter | Type | Description |
|---|---|---|
action * | string | Action: 'on' enables statistics, 'off' disables, 'reset' clears accumulated stats, 'read' returns current statistics |
channel * | string | Channel to measure |
parameter * | string | Measurement type |
get_waveform
Download waveform data from a channel. Returns voltage and time arrays reconstructed from the raw oscilloscope data. By default returns up to 1000 points (downsampled from full memory depth).
| Parameter | Type | Description |
|---|---|---|
channel * | string | Channel to download waveform from (C1, C2, C3, or C4) |
max_points | integer | Maximum number of data points to return (default 1000). Higher values give more detail but use more context. |
screenshot
Capture the oscilloscope screen as a PNG image. Returns a base64-encoded image.
scpi_query
Send a SCPI query to the oscilloscope and return the response. Use this as an escape hatch for queries not covered by other tools. Only queries are accepted: a single header ending in '?' (e.g. '*IDN?', 'C1:VDIV?', 'SARA?'); parameters after '?' only for PAVA? (e.g. 'C1:PAVA? FREQ'). Note: CHDR is set to OFF, so responses contain only values (no headers).
| Parameter | Type | Description |
|---|---|---|
command * | string | SCPI query to send (e.g. '*IDN?', 'C1:VDIV?', 'SARA?') |
timeout_ms | integer | Timeout in milliseconds (default 5000) |