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 整合