LeCroy Oscilloscope MCP
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@LeCroy Oscilloscope MCPcapture a screenshot and measure the frequency on channel 1"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
lecroy-mcp
MCP server for controlling LeCroy oscilloscopes via SCPI over LAN (VXI-11). Tested on a WaveSurfer 3024Z with MAUI firmware.
Requirements
Python 3.10+
A LeCroy oscilloscope connected over LAN
The scope's IP address
Installation
pip install -e .Or without installing:
pip install -r requirements.txtMCP configuration
Add to your MCP client config (e.g. Claude Code's .mcp.json):
{
"mcpServers": {
"lecroy-scope": {
"type": "stdio",
"command": "lecroy-mcp",
"env": { "PYTHONUNBUFFERED": "1" }
}
}
}If running without installing, point command at server_stdio.py directly:
{
"mcpServers": {
"lecroy-scope": {
"type": "stdio",
"command": "python",
"args": ["server_stdio.py"],
"env": { "PYTHONUNBUFFERED": "1" }
}
}
}Usage
Once connected to your MCP client, start with:
scope_list_resources— find the VISA address of your scopescope_connect("TCPIP0::192.168.1.x::inst0::INSTR")— connectscope_identify— confirm communication
From there you have tools for channel setup, trigger, timebase, measurements, waveform capture, screenshots, math functions, and the built-in WaveSource generator.
Supported models
The server detects the connected model and adjusts commands accordingly. Profiles are included for:
WaveSurfer 3000Z / 4000HD
HDO4000A / HDO6000B / HDO8000A
WaveRunner 6000 / 8000
WavePro HD
MDA800A, SDA
Unknown models fall back to conservative defaults.
Notes
Requires
pyvisa-pybackend — NI-VISA is not supported (breaks screenshot capture)All VISA access is serialized via a threading lock; parallel MCP tool calls are safe
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/lucasgerads/lecroy-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server