Skip to main content
Glama
B83C

adalm2000-mcp

by B83C

adalm2000-mcp

MCP server for ADALM2000 (M2k) — AWG, scope, and PSU control via FastMCP 3.4.

Tools

Tool

Operations

adalm_device

list, connect, disconnect, status, check

adalm_awg

configure, start, stop, status

adalm_scope

capture, fft, measure

adalm_psu

set, get, enable, disable, status

Related MCP server: psu-mcp

Usage

uvx adalm2000-mcp serve

opencode config

{
  "mcp": {
    "adalm2000-mcp": {
      "type": "local",
      "command": ["uvx", "adalm2000-mcp", "serve"]
    }
  }
}

Generate a signal

// Connect W1 to 1+ with a wire, then:
adalm_awg(operation="configure", channel=1, waveform="sine", frequency=1000, amplitude=1.0)
adalm_awg(operation="start", channel=1)
adalm_scope(operation="capture", channel=1, sample_count=4096)

Backends

  • IIO backend — real hardware via libiio (iio_readdev/iio_writedev)

  • Mock backend — no hardware needed, generates synthetic waveforms

ADALM_MCP_MOCK=force to force mock mode.

Wiring

AWG output

Scope input

W1 (pin 1)

1+ (pin 1)

W2 (pin 2)

2+ (pin 2)

GND

GND

Publish

git tag v0.2.0
git push --tags

GitHub Actions publishes to PyPI automatically.

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    AI-native oscilloscope control. A pure-Python MCP service that lets LLM agents control Keysight EDUX1052G oscilloscopes via a compact DSL.
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    MCP server for programmable bench power supply control, enabling autonomous bootloader-entry probing via precise power cycling and telemetry.
    1
    -
  • A
    license
    Not graded
    quality
    D
    maintenance
    MCP server for controlling Hantek DSO2D15 and other DSO2000-family oscilloscopes via USB and SCPI, enabling waveform acquisition, measurements, and screen captures.
    1
    MIT
  • F
    license
    Not graded
    quality
    C
    maintenance
    MCP server for controlling SIGLENT oscilloscopes and signal generators via USBTMC, enabling waveform generation, scope configuration, measurement, and evidence reporting for electronics competitions.
    1
    -