Digilent WaveForms MCP Server

io.github.KenosInc由 GitHub 账号 KenosInc 发布v0.2.1更新于 Oct 24, 2026

MCP server for Digilent WaveForms instruments (oscilloscope, AWG, logic analyzer).

发布方自己的服务:Wave AI

已验证STDIO仅桌面开发者工具安全与监控

概览

AI 生成的概览

让 AI 助手控制 Digilent WaveForms 仪器(示波器、任意波形发生器、逻辑分析仪、电源与数字 I/O)的 MCP 服务器。

可以做什么
列出已连接的 Digilent 设备,并获取设备详情及各子仪器的运行/空闲状态,还可打开、关闭持久设备会话并查询其状态。
适用场景
当你接有受支持的 Digilent 设备(Analog Discovery 2/3、Digital Discovery 或其他 WaveForms SDK 设备),希望助手协助完成台式测量、信号生成或协议实验时使用。
运行要求
主机需安装 Docker,并自行构建派生镜像以加入 Digilent 专有的 Adept Runtime 与 WaveForms SDK,因为公开镜像不含这些组件。需要 USB 访问设备,通常通过特权容器和针对厂商 1443 的 udev 规则实现。未声明账号、API 密钥或环境变量。
安装前请注意
容器需以特权模式运行才能访问 USB 设备,这会带来较广的主机权限。这些工具会驱动真实硬件:可输出模拟与数字信号、为可编程电源供电、写入 GPIO 引脚,可能损坏所连电路或造成意外行为。设备会话会持续保持,直到被关闭。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Digilent WaveForms MCP Server,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

dwf-mcp-server

MCP Server for Digilent WaveForms instruments — oscilloscope, arbitrary waveform generator (AWG), and logic analyzer. Built on dwfpy, a Python binding for the Digilent WaveForms SDK (libdwf).

Supported Devices

  • Analog Discovery 2 (AD2)
  • Analog Discovery 3 (AD3)
  • Digital Discovery (DD)
  • Any device supported by the Digilent WaveForms SDK

Prerequisites

  • Docker installed on the host machine.
  • No host-side WaveForms SDK installation is required. The proprietary libdwf.so is added via a derived Dockerfile layer (see Installation).
  • USB device permissions — Digilent USB devices default to root:root 0664. If the container cannot find any devices, add a udev rule on the host:
    # /etc/udev/rules.d/99-digilent.rulesSUBSYSTEM=="usb", ATTRS{idVendor}=="1443", MODE="0666"
    Then reload: sudo udevadm control --reload-rules && sudo udevadm trigger

Installation

The public Docker image does not bundle any Digilent proprietary software (Adept 2 Runtime, WaveForms SDK / libdwf.so). You must create a derived image that adds them.

1. Create a derived Dockerfile

Create a file named Dockerfile.dwf:

dockerfile
FROM ghcr.io/kenosinc/dwf-mcp-server:latest
ARG ADEPT_VERSION=2.27.9ARG WAVEFORMS_VERSION=3.24.4RUN ARCH="$(dpkg --print-architecture)" \    && apt-get update \    && apt-get install -y --no-install-recommends curl \    && curl -fsSL "https://files.digilent.com/Software/Adept2%20Runtime/${ADEPT_VERSION}/digilent.adept.runtime_${ADEPT_VERSION}-${ARCH}.deb" \       -o /tmp/adept-runtime.deb \    && curl -fsSL "https://files.digilent.com/Software/Waveforms/${WAVEFORMS_VERSION}/digilent.waveforms_${WAVEFORMS_VERSION}_${ARCH}.deb" \       -o /tmp/waveforms.deb \    && (apt-get install -y --no-install-recommends /tmp/adept-runtime.deb /tmp/waveforms.deb || true) \    && for cmd in xdg-desktop-menu xdg-icon-resource xdg-mime; do \         printf '#!/bin/sh\nexit 0\n' > "/usr/bin/$cmd" && chmod +x "/usr/bin/$cmd"; \       done \    && dpkg --configure -a \    && apt-get purge -y curl \    && apt-get autoremove -y \    && rm -f /tmp/adept-runtime.deb /tmp/waveforms.deb \    && rm -rf /var/lib/apt/lists/*

2. Build the image

bash
docker build -f Dockerfile.dwf -t dwf-mcp-server .

3. Configure your MCP client

Claude Code
bash
claude mcp add dwf -- docker run -i --rm --privileged dwf-mcp-server
Claude Desktop

Add to claude_desktop_config.json:

json
{  "mcpServers": {    "dwf": {      "command": "docker",      "args": [        "run", "-i", "--rm",        "--privileged",        "dwf-mcp-server"      ]    }  }}

Pass --privileged so the container can access USB devices.

Project-level config (Claude Code)

If you have cloned this repository, copy the bundled example to a project-local .mcp.json (which is gitignored) so Claude Code picks it up automatically when opened against this directory:

bash
cp .mcp.example.json .mcp.json

Edit the resulting .mcp.json to match your local image tag or to add other servers; the original .mcp.example.json stays clean and shareable.

Available MCP Tools

ToolDescription
list_devicesList all connected Digilent WaveForms devices
device_infoGet detailed information about a specific device
analog_captureCapture analog waveform samples (oscilloscope); supports action="single" / "start" / "read" / "stop" for continuous capture across tool calls
generate_waveformGenerate an analog signal (AWG): sine, square, triangle, ...; supports action="pulse" / "start" / "stop" for persistent output
measureMeasure DC voltage, RMS, frequency, period, or peak-to-peak
power_supplyControl the programmable power supply (V+ / V-)
digital_captureCapture digital logic signals (logic analyzer); supports action="single" / "start" / "read" / "stop" for continuous capture across tool calls
gpio_readRead the logic level of a digital I/O pin
gpio_writeSet the logic level of a digital I/O pin
spi_transferSend and receive data over SPI using the digital protocol interface
device_stateReport per-sub-instrument running/idle status (AWG, scope, LA, power supply)
close_deviceClose the persistent device session and stop all outputs
device_session_statusCheck whether the persistent device session is currently open

Development

See CLAUDE.md for development setup, coding conventions, and release procedures.

License

MIT

来源:README.md,提交 4724e46

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.2.1最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Wave 集成