devsignal-mcp
Enables AI agents to control Siglent SDG-series signal generators, configure waveforms, and switch outputs via natural language.
README
devsignal
Agent-friendly signal generator control for the embedded bench, built for the Agentic Firmware Workbench. Configure waveforms and switch outputs on Siglent SDG-series generators — from the command line or from an AI agent via MCP.
Sibling of devpower (USB power control). Typical use: an agent testing an ADC driver or input-capture firmware needs a known stimulus — it sets a 1 kHz sine at 2 Vpp, enables the output, runs the test, and switches the output off.
Supported hardware
Built and verified against the SDG2042X; the C{n}:BSWV / C{n}:OUTP
SCPI dialect is shared across the Siglent SDG family (SDG1000X/2000X/6000X),
so other models are expected to work.
Transport is PyVISA with the pure-Python pyvisa-py backend:
- USB (USBTMC): plug in and go — needs
libusb(brew install libusb/ distro package). - LAN: pass
--resource "TCPIP::<ip>::INSTR"— no drivers needed.
Install
pip install .
Requires Python 3.10+.
CLI
devsignal list # find instruments (USB)
devsignal idn # identity
devsignal status # both channels: wave + output
devsignal wave 1 sine --freq 1000 --amp 3.3 # configure CH1
devsignal wave 1 square --freq 1e6 --amp 3.3 --duty 25
devsignal output 1 on --load HZ # enable CH1 into Hi-Z
devsignal output 1 off
devsignal raw "C1:BSWV?" # raw SCPI escape hatch
devsignal --json status # machine-readable
MCP server
devsignal-mcp runs an MCP server over stdio exposing list_instruments,
get_status, set_wave, set_output, and scpi (raw escape hatch), with
agent-facing safety guidance baked into the tool descriptions.
Register with Claude Code:
claude mcp add --scope user devsignal devsignal-mcp
Safety notes
- Load setting scales the delivered voltage. A 50 Ω setting driving a
high-impedance input delivers twice the programmed amplitude. Use
--load HZwhen driving MCU/logic inputs. - Session limits (human-in-the-loop): on the first amplitude-affecting
MCP call of a session, the user is prompted (MCP elicitation) for the
session's max amplitude; agent requests above it require explicit user
approval, and raw
scpiamplitude changes are gated the same way. Hosts without elicitation support fail safe (over-limit requests are refused). - Hard ceiling: set
DEVSIGNAL_MAX_VPP(e.g.3.3) in the MCP server's environment and nothing above it is accepted - not even with in-session user approval. - Configure the waveform first, verify with
status, then enable the output.
Development
pip install -e ".[dev]"
pytest
The test suite runs against a fake VISA layer — no instrument required.
License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。