logic-analyzer-mcp
Enables verification of SPI/I2C signals on PCB designs created with KiCad, working in conjunction with a KiCad MCP server.
Click on "Deploy 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., "@logic-analyzer-mcpdecode UART from D0 at 9600 baud"
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.
logic-analyzer-mcp
AI-driven USB logic analyzer control via FastMCP 3.2. Capture digital traces with sigrok or the built-in simulator, decode UART/I2C/SPI, and export VCD for PulseView.
How it runs
Mode | Hardware | When |
Simulator (default) | None | Development, CI, agent dry-runs |
sigrok | Hantek 6022BL (LA mode), DSLogic, FX2 clones | Production bench with sigrok-cli |
The MCP server does not bundle sigrok. Install PulseView or sigrok-cli separately, then connect your USB LA.
Related MCP server: Logic Analyzer AI MCP
Hands-in / Hands-out
Direction | Artifacts | Notes |
Hands-in |
| Via |
Hands-out | Trace preview (downsampled JSON) |
|
Hands-out | CSV, VCD, JSON summary |
|
Hands-out | Protocol decode rows |
|
Fleet pipelines
Partner MCP | Workflow |
Mixed-signal bring-up (analog + digital) | |
Verify SPI/I2C after PCB bring-up | |
Debug FPGA/MCU buses |
Quick Start
Set-Location D:\Dev\repos\logic-analyzer-mcp
uv sync --extra dev
just webapp
# Open http://127.0.0.1:10989STDIO-only (Cursor MCP):
just serveDry-run without hardware:
la_device(operation="connect", device_id="sim-la-001")
la_capture(operation="single", sample_rate_hz=1000000, sample_count=4096)
la_decode(operation="uart", rx="D0")Cursor MCP config
Add to C:\Users\sandr\.cursor\mcp.json:
"logic-analyzer-mcp": {
"command": "C:/Users/sandr/.local/bin/uv.exe",
"args": [
"--directory",
"D:/Dev/repos/logic-analyzer-mcp",
"run",
"python",
"-m",
"logic_analyzer_mcp",
"--stdio"
],
"env": {
"FASTMCP_BANNER": "0",
"FASTMCP_UPDATE_CHECK": "0",
"PYTHONUNBUFFERED": "1",
"LOGIC_ANALYZER_MCP_BACKEND": "auto"
}
}Restart Cursor after editing mcp.json.
Tools
Tool | Operations |
| list, connect, disconnect, status, capabilities, backends |
| channels, sample_rate, get, simulator_pattern |
| set, get |
| single, preview, export_csv, export_vcd, export_summary, last |
| list, run, last, uart, i2c, spi |
| discover, tool_help, status, quickstart, faq, hardware_guide |
Webapp
Port | Role |
10985 | Backend (FastAPI + MCP |
10989 | Frontend (Vite React — dashboard, device, configure, trigger, trace, decode, logs) |
just webappNative App (Tauri)
A Tauri 2.0 wrapper (native/) packages the backend with PyInstaller into a single NSIS installer — one shortcut, embedded Python, no separate runtime.
pwsh -NoProfile -File native/build.ps1 # webapp → PyInstaller → Rust → NSIS
just cua-nsis-test # install → launch → verify → uninstallDocumentation
INSTALL.md — setup paths
docs/ARCHITECTURE.md — system design
docs/TOOLS.md — portmanteau reference
docs/HARDWARE.md — LA buying guide
docs/BACKENDS.md — sigrok + simulator
llms.txt — agent discovery index
License
MIT — see LICENSE.
This server cannot be deployed
Maintenance
Related MCP Connectors
Live browser debugging for AI assistants — DOM, console, network via MCP.
OCR, transcription, file extraction, and image generation for AI agents via MCP.
Reasoning, code, anti-deception, memory harness MCP tools. Stdio or HTTPS api.ejentum.com/mcp
Analytics your AI agent can actually use. Track, experiment, and optimize via MCP.
Related MCP Servers
- FlicenseNot gradedqualityBmaintenanceAn MCP server that provides AI assistants with a persistent, sandboxed Python environment for waveform analysis, enabling loading and manipulation of VCD/FST/FSDB files and temporal pattern matching.9-
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to control Saleae Logic analyzers, capture and analyze digital/analog signals, and export data via MCP.MIT
- AlicenseAqualityBmaintenanceAI-driven USB oscilloscope control via FastMCP, enabling waveform capture, CSV export, and frequency measurements on PicoScope, Hantek, or a built-in simulator.63MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to parse and query VCD/FSDB simulation waveforms, search signals, analyze AXI transactions, render ASCII timing diagrams, and check protocol compliance through structured MCP tools.MIT