hardware-tooling-mcp
Lists connected Android devices and runs ADB commands, including adb shell commands such as logcat, battery dumps, input taps, and app installation.
Detects Arduino boards and compiles/uploads firmware using arduino-cli, including auto-detection from .ino sketches.
Scans for BLE peripherals, discovers GATT services and characteristics, and reads/writes BLE characteristic values.
Provides Linux-specific access to /dev/i2c, /dev/spidev, and /dev/gpiochip hardware interfaces, plus serial permission diagnostics.
Detects PlatformIO projects and compiles/uploads firmware using PlatformIO/pio environments.
Identifies Raspberry Pi Pico boards on serial ports and supports related firmware tooling such as picotool.
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., "@hardware-tooling-mcp read serial logs from my ESP32 at 115200 baud and stop on any crash dump"
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.
Hardware-Tooling-MCP
Embedded & Hardware Tooling Bridge (hardware-tooling-mcp) is a Model Context Protocol (MCP) server that gives AI Agents (Claude Desktop, Cursor, Cline, Roo Code, Antigravity, etc.) direct hands-on access to physical hardware connected to your computer and host OS processes/media over local stdio.
Normally, AI coding assistants live solely in text and source files—they cannot see which USB port an ESP32 is plugged into, read serial panic stack traces, toggle GPIO pins, inspect a board via a USB microscope, or unlock a busy serial port. Hardware-Tooling-MCP bridges that gap.
[ Developer (Natural Language) ]
│
▼
[ AI Agent (Claude / Cursor / CLI) ]
│ (MCP Tool Calls over Local stdio)
▼
[ Hardware Tooling MCP Bridge ]
├── 1. USB / Serial Bridge (pyserial, DTR/RTS Bootloader & Reset, Crash Dump Detector)
├── 2. Firmware Flashing & Toolchains (check_prerequisites, arduino-cli, pio, idf.py, esptool)
├── 3. Direct GPIO / I2C / SPI (FT232H / FTDI MPSSE & Linux i2c/spidev/gpiochip)
├── 4. Host Process & Port Lock Manager (psutil, lsof, free locked serial ports)
├── 5. Audio & Media Control (Mic recording + RMS/dBFS signal analysis, volume, test tones)
├── 6. GUI & Screen Automation (take_screenshot, send_hotkey via xdotool/ffmpeg)
├── 7. Bluetooth Low Energy (BLE) (bleak: scan, GATT service discovery, characteristic R/W)
└── 8. Webcam/Microscope Vision, Logic Analyzer (sigrok-cli) & Android ADBQuick Start (Installation & Client Config)
Because this MCP server interacts directly with local USB/Serial ports, Bluetooth, cameras, and OS processes, it runs locally on your machine via stdio.
Option 1: Run directly from GitHub via uvx (Recommended — Zero manual setup)
Add the following to your MCP client configuration file:
{
"mcpServers": {
"hardware-tooling": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/Pheem49/Hardware-Tooling-MCP.git",
"hardware-tooling-mcp"
]
}
}
}Option 2: Run via uvx from PyPI
{
"mcpServers": {
"hardware-tooling": {
"command": "uvx",
"args": ["hardware-tooling-mcp"]
}
}
}Option 3: Local Clone & Development
git clone https://github.com/Pheem49/Hardware-Tooling-MCP.git
cd Hardware-Tooling-MCP
uv syncConfigure your MCP client to point to your local directory:
{
"mcpServers": {
"hardware-tooling": {
"command": "uv",
"args": [
"run",
"--directory",
"/absolute/path/to/Hardware-Tooling-MCP",
"hardware-tooling-mcp"
]
}
}
}Related MCP server: embedded-mcp
Where to Put Your MCP Config
AI Client | Configuration File Path |
Claude Desktop (Linux) |
|
Claude Desktop (macOS) |
|
Claude Desktop (Windows) |
|
Cursor |
|
Cline / Roo Code (VS Code) | Open MCP Servers panel in the extension → Edit MCP Settings |
Available Tools (33 Tools across 8 Modules)
1. USB / Serial Bridge (tools/serial_bridge.py)
list_serial_ports(include_symlinks, hide_phantom_ttys)— Scan all connected USB/Serial ports with VID/PID, manufacturer, and automatic board identification (ESP32, Arduino, Raspberry Pi Pico, STM32, CP210x, CH340, FTDI).read_serial_logs(port, baudrate, timeout_sec, max_lines, stop_on_pattern, stop_on_crash_dump, reset_before_read)— Read serial monitor output with automatic MCU crash dump detection (Guru Meditation Error,Backtrace:,Brownout detector,HardFault).send_serial_command(port, data, baudrate, encoding, line_ending, read_response_sec)— Send text (utf-8/ascii) or raw byte payloads (hex, e.g."AA 55 01 FF") over UART RX/TX and read back the response. Supports AT commands, G-code, and Modbus RTU frames.toggle_dtr_rts(port, mode, dtr, rts, pulse_ms)— Hardware-reset the microcontroller (mode="reset") or force ESP32 into ROM bootloader mode (mode="esp32_bootloader") via DTR/RTS lines without pressing physical buttons.
2. Firmware Flashing, Toolchains & Readiness (tools/toolchains.py)
check_prerequisites()— Full host environment diagnostic: verifies Linux serial group permissions (dialout/uucp), checks installed embedded toolchains, and provides exact installation or permission-fix commands.check_toolchains()— Detect versions and paths ofarduino-cli,pio(PlatformIO),idf.py(ESP-IDF),esptool,openocd,avrdude,dfu-util, andpicotool.compile_and_flash(project_path, toolchain, port, board_fqbn_or_env, action, extra_args, timeout_sec)— Compile and/or upload firmware usingarduino-cli,platformio, oresp-idf(supportstoolchain="auto"to auto-detect fromplatformio.ini,CMakeLists.txt, or.inosketches).esptool_command(operation, port, baudrate, chip, flash_offset, binary_path, extra_args)— Runesptooldirectly forchip_id,flash_id,read_mac,erase_flash, orwrite_flash.run_custom_toolchain(command, working_directory, timeout_sec)— Execute custom build/flash CLI commands (e.g.,make flash,west build,cargo embed,openocd).
3. Direct GPIO / I2C / SPI Bridge (tools/gpio_bus.py)
scan_hardware_bridges()— Discover USB-to-GPIO/I2C/SPI bridges (FTDIFT232H,FT2232H) and native Linux/dev/i2c-*,/dev/spidev*, and/dev/gpiochip*nodes.ftdi_gpio_control(ftdi_url, direction_mask, write_value)— Drive or read 8-bit GPIO pins directly via an FTDI USB bridge.ftdi_i2c_scan(ftdi_url, frequency_hz)— Scan an I2C bus for active 7-bit slave addresses.ftdi_i2c_transfer(address, ftdi_url, register_addr, write_hex, read_length, frequency_hz)— Read/write I2C registers directly on sensors (e.g. BME280, MPU6050, SSD1306) without needing a microcontroller in between.ftdi_spi_transfer(write_hex, read_length, ftdi_url, cs, freq_hz, mode)— Perform full-duplex SPI transfers (e.g., reading JEDEC IDs or dumping SPI Flash chips).
4. Host Process & Serial Port Lock Management (tools/process_manager.py)
list_processes(filter_name, limit)— List running OS processes filtered by name or command line.find_port_occupiers(port)— Identify which process is holding a lock on a serial port (e.g.,/dev/ttyUSB0) when you hitPort busyerrors.free_serial_port(port, force)— Automatically terminate processes locking a serial port so firmware flashing or monitoring can proceed.start_process(command, args, cwd, background, timeout_sec)— Launch a foreground or background process on the host OS.kill_process(pid, process_name, force)— Terminate a process by PID or name.
5. Audio & Media Device Control (tools/audio_media.py)
list_media_devices()— List microphones, speakers (ALSA / PipeWire / PulseAudio), and video/webcam devices (/dev/video*).set_audio_volume(target, volume_percent, mute, device_id)— Adjust volume or mute/unmute speakers (sink) and microphones (source).record_audio_sample(duration_sec, output_path, sample_rate, channels, alsa_device)— Record audio from a microphone and compute signal metrics (rms_dbfs,peak_dbfs,is_silent) to verify whether an audio circuit/amp is actually producing sound.play_test_tone(frequency_hz, duration_sec)— Generate and play a pure sine wave tone on the host speakers to test microphone sensors (e.g. I2S INMP441) on a board.
6. GUI & Screen Automation (tools/gui_automation.py)
take_screenshot(output_path, region)— Capture a full-screen or region (x,y,width,height) screenshot so the AI can inspect application windows or error dialogs.send_hotkey(keys, window_title, delay_ms)— Send keyboard shortcuts (e.g.,ctrl+shift+b,ctrl+s) to the active or specified window viaxdotool.
7. Bluetooth Low Energy (BLE) (tools/ble_bridge.py)
ble_scan_devices(timeout_sec, name_filter)— Scan for nearby BLE peripherals (ESP32 BLE, nRF52, wireless sensors) with RSSI, service UUIDs, and manufacturer data.ble_inspect_gatt(address, timeout_sec)— Connect to a BLE device and enumerate all GATT Services, Characteristics, and properties (read,write,notify).ble_read_write_characteristic(address, characteristic_uuid, write_data, encoding, read_after_write, with_response, timeout_sec)— Read or write text/hex payloads to a BLE GATT Characteristic.
8. Webcam/Microscope Vision, Logic Analyzer & Android ADB (tools/external_devices.py)
capture_camera_snapshot(device, output_path, resolution, skip_warmup_frames)— Capture a photo from a connected Webcam or USB Microscope (/dev/video*) to visually verify LED states, OLED/LCD screens, or PCB wiring.sigrok_scan_devices()— Discover connected Logic Analyzers, Oscilloscopes, and Multimeters viasigrok-cli(FX2lafw 24MHz 8-ch, Saleae clones, DSLogic, etc.).sigrok_capture_and_decode(driver, samplerate, samples, time_ms, channels, protocol_decoder, output_file)— Capture digital signals and run protocol decoders (uart,i2c,spi,pwm,ws281x).adb_list_devices()— List connected Android phones, tablets, or embedded Android boards viaadb.adb_command(command, device_serial, is_shell, timeout_sec)— Runadb shellcommands (e.g.,logcat -d -t 50,dumpsys battery,input tap) or host ADB commands (install app.apk).
Example Workflows
Automated Crash Loop Debugging:
"My ESP32 keeps rebooting when I initialize the I2S microphone. Read the serial logs, find why it's crashing, fix the code, and flash it back to the board." The AI calls
list_serial_ports→read_serial_logs(catches theGuru Meditation Error& stack trace) → edits your C++ code → callscompile_and_flash→ callsread_serial_logsagain to confirm the crash is gone.Hardware-in-the-Loop Audio & Visual Verification:
"Send the 'LED_ON' command over serial, take a snapshot from
/dev/video0to verify the red LED turned on, and play a 1kHz test tone while reading the I2S peak values from serial."
Troubleshooting Checklist
You can ask the AI to run check_prerequisites at any time to automatically diagnose your system.
1. Permission denied: '/dev/ttyUSB0' on Linux
Add your user to the dialout (Debian/Ubuntu) or uucp (Arch) group so you can access serial ports without sudo:
# Ubuntu / Debian / Raspberry Pi OS
sudo usermod -aG dialout $USER
# Arch Linux / Manjaro
sudo usermod -aG uucp $USER(Log out and log back in after running this command for group changes to take effect.)
2. Port busy / Resource temporarily unavailable
If another serial monitor (screen, minicom, Arduino IDE) is holding the port, simply ask the AI:
"Check what process is locking
/dev/ttyUSB0and free the port." The AI will callfind_port_occupiersandfree_serial_portautomatically.
3. Installing Optional External CLI Toolchains
Install whichever tools match your workflow:
PlatformIO:
uv tool install platformioesptool:
uv tool install esptoolArduino CLI:
brew install arduino-clior via official installer scriptLogic Analyzer (
sigrok-cli):sudo apt install sigrok-cli sigrok-firmware-fx2lafwAndroid ADB:
sudo apt install adb
Running Tests
uv run pytest -vLicense
Available Tools
33 toolsadb_commandA
Execute an ADB shell command or host ADB operation on a connected Android device.
Args:
command: Shell command (e.g. 'logcat -d -t 50', 'dumpsys battery', 'input keyevent 26')
or ADB subcommand when is_shell=False (e.g. 'install app.apk', 'forward tcp:8000 tcp:8000').
device_serial: Optional target device serial from adb_list_devices (when multiple devices are connected).
is_shell: If True (default), runs adb shell <command>. If False, runs adb <command>.
timeout_sec: Command timeout in seconds (default 20.0).
Inputs: command (required), is_shell, timeout_sec, device_serial. Returns: object
adb_list_devicesA
List connected Android phones, tablets, or embedded Android boards via ADB.
Inputs: no named parameters. Returns: object
ble_inspect_gattB
Connect to a BLE device and list all GATT Services, Characteristics, and their properties.
Args: address: BLE MAC address (Linux/Windows, e.g. 'AA:BB:CC:DD:EE:FF') or UUID (macOS). timeout_sec: Connection timeout in seconds (default 10.0).
Inputs: address (required), timeout_sec. Returns: object
ble_read_write_characteristicA
Read from and/or write to a GATT Characteristic on a BLE peripheral.
Args: address: BLE MAC address or UUID of the target board/sensor. characteristic_uuid: UUID of the GATT characteristic to read/write. write_data: Optional payload to write. If None, performs a read-only operation. encoding: 'utf-8', 'ascii', or 'hex' (e.g. '01 FF 0A') when writing data. read_after_write: Whether to read the characteristic value back after writing. with_response: Request GATT write-with-response (True) or write-without-response (False). timeout_sec: Connection timeout in seconds (default 10.0).
Inputs: address (required), characteristic_uuid (required), encoding, write_data, +3 more. Returns: object
ble_scan_devicesA
Scan for nearby Bluetooth Low Energy (BLE) devices (ESP32, nRF52, sensors, beacons).
Args: timeout_sec: Scan duration in seconds (1.0 to 20.0, default 5.0). name_filter: Optional case-insensitive substring to filter by device name or address.
Inputs: name_filter, timeout_sec. Returns: object
capture_camera_snapshotA
Capture a photo from a connected Webcam or USB Microscope to inspect physical hardware.
Use this to visually verify if an LED on the board is turned on, read an OLED/LCD display, or inspect PCB soldering and jumper wiring on the desk.
Args: device: Video device path on Linux (e.g. '/dev/video0', '/dev/video1'). output_path: Optional file path to save the captured PNG image. resolution: Capture resolution such as '1280x720' or '1920x1080'. skip_warmup_frames: Number of initial frames to skip so camera auto-exposure settles (default 10).
Inputs: device, resolution, output_path, skip_warmup_frames. Returns: object
check_prerequisitesA
Run a full host readiness & prerequisite check for hardware tooling.
Checks:
OS & Serial port permissions (e.g. Linux 'dialout' / 'uucp' / 'plugdev' group membership).
Embedded toolchains (arduino-cli, platformio, esp-idf, esptool, openocd, avrdude, dfu-util, picotool) with install hints.
Host OS & Audio utilities (lsof, arecord, aplay, wpctl, pactl, ffmpeg). Returns actionable recommendations so the AI can guide the user if anything is missing.
Inputs: no named parameters. Returns: object
check_toolchainsA
Check availability and versions of embedded toolchains on the host machine.
Checks for arduino-cli, pio (PlatformIO), idf.py (ESP-IDF), esptool.py / esptool, openocd, dfu-util, avrdude, and picotool.
Inputs: no named parameters. Returns: object
compile_and_flashB
Compile and/or flash firmware to a microcontroller using Arduino CLI, PlatformIO, or ESP-IDF.
Args:
project_path: Path to the project directory or sketch file.
toolchain: 'auto', 'arduino-cli', 'platformio', or 'esp-idf'.
When 'auto', detects from platformio.ini, CMakeLists.txt, or .ino files.
port: Serial port for uploading (e.g., '/dev/ttyUSB0').
board_fqbn_or_env:
- For arduino-cli: Board FQBN (e.g., 'esp32:esp32:esp32', 'arduino:avr:uno').
- For platformio: Environment name (-e <env>).
- For esp-idf: Target chip (e.g., 'esp32', 'esp32s3') if setting target.
action: 'compile', 'upload', or 'compile_and_upload'.
extra_args: Optional list of extra CLI flags to append.
timeout_sec: Maximum execution time in seconds (default 300).
Inputs: project_path (required), port, action, toolchain, +3 more. Returns: object
esptool_commandA
Run esptool directly to inspect ESP8266/ESP32 chips, read MAC, erase flash, or write raw binary firmware.
Args: operation: 'chip_id', 'flash_id', 'read_mac', 'erase_flash', or 'write_flash'. port: Serial port (e.g., '/dev/ttyUSB0'). baudrate: Baud rate for flashing (default 460800). chip: Target chip ('auto', 'esp32', 'esp32s3', 'esp32c3', 'esp8266', etc.). flash_offset: Hex address offset when operation='write_flash' (e.g., '0x10000' or '0x0'). binary_path: Path to .bin file when operation='write_flash'. extra_args: Additional arguments passed to esptool.
Inputs: chip, port, baudrate, operation, +3 more. Returns: object
find_port_occupiersA
Check which processes are currently locking/using a serial port (e.g. '/dev/ttyUSB0').
Use this when you encounter 'Port busy' or 'Resource temporarily unavailable' errors.
Inputs: port (required). Returns: object
free_serial_portA
Terminate processes that are locking a serial port so it can be used for flashing or monitoring.
Args: port: Device path (e.g., '/dev/ttyUSB0' or '/dev/ttyACM0'). force: Send SIGKILL instead of SIGTERM if true.
Inputs: port (required), force. Returns: object
ftdi_gpio_controlA
Read or write GPIO pins directly on an FTDI USB bridge (e.g. FT232H, FT2232H).
Args: ftdi_url: PyFtdi device URL (default 'ftdi:///1' for first connected FTDI device). direction_mask: 8-bit bitmask where 1 = Output, 0 = Input (e.g., 0xFF = all outputs, 0x01 = pin 0 output). write_value: Optional 8-bit value to drive on output pins (0x00 to 0xFF). Always reads back current pin states.
Inputs: ftdi_url, write_value, direction_mask. Returns: object
ftdi_i2c_scanA
Scan an I2C bus connected via an FT232H/FT2232H MPSSE bridge for active slave addresses.
Args: ftdi_url: PyFtdi URL (e.g., 'ftdi:///1'). frequency_hz: I2C clock frequency in Hz (default 100000 for 100kHz standard mode).
Inputs: ftdi_url, frequency_hz. Returns: object
ftdi_i2c_transferA
Read and/or write registers on an I2C slave device via an FT232H/FTDI bridge.
Args: address: 7-bit I2C slave address (e.g., 0x68 for MPU6050, 0x3C for SSD1306 OLED, 0x76 for BME280). ftdi_url: PyFtdi device URL (default 'ftdi:///1'). register_addr: Optional 8-bit register address to read from or write to. write_hex: Optional hex bytes string to write (e.g., '01 FF'). read_length: Number of bytes to read back (0 for write-only). frequency_hz: I2C clock speed in Hz (default 100000).
Inputs: address (required), ftdi_url, write_hex, read_length, +2 more. Returns: object
ftdi_spi_transferB
Perform an SPI exchange/transfer via an FT232H/FTDI MPSSE bridge.
Args: write_hex: Hex bytes string to transmit over MOSI (e.g., '9F' to read JEDEC Flash ID). read_length: Number of bytes to read back on MISO after writing. ftdi_url: PyFtdi device URL (default 'ftdi:///1'). cs: Chip Select index (0..3, default 0). freq_hz: SPI clock frequency in Hz (default 1MHz). mode: SPI mode (0, 1, 2, or 3).
Inputs: write_hex (required), cs, mode, freq_hz, +2 more. Returns: object
kill_processB
Stop/terminate a running process by PID or by process name.
Args: pid: Specific Process ID to kill. process_name: Name of the process to kill (if pid is not specified). force: Use SIGKILL (force kill) instead of graceful SIGTERM.
Inputs: pid, force, process_name. Returns: object
list_media_devicesA
List connected audio input/output devices (microphones, speakers) and video/webcam devices.
Inputs: no named parameters. Returns: object
list_processesA
List running OS processes, optionally filtered by process name or command line.
Useful for checking if IDE serial monitors, minicom, screen, openocd, gdb, or emulators are running.
Args: filter_name: Case-insensitive substring to match against process name or cmdline. limit: Maximum number of processes to return (default 50).
Inputs: limit, filter_name. Returns: object
list_serial_portsA
Scan and list all USB/Serial ports connected to the computer.
Identifies VID/PID, manufacturer, serial number, and provides hints about what board or USB-to-UART chip is connected (e.g. ESP32, Arduino, Pico, FTDI).
Args: include_symlinks: Include symlinked device paths. hide_phantom_ttys: Filter out unpopulated Linux /dev/ttyS* ports with 'n/a' hwid (default True).
Inputs: include_symlinks, hide_phantom_ttys. Returns: object
play_test_toneA
Play a pure sine wave test tone on the host speakers (useful for testing I2S/ADC mic sensors on an MCU).
Args: frequency_hz: Tone frequency in Hz (default 440Hz A4). duration_sec: Duration in seconds (0.5 to 10.0, default 2.0).
Inputs: duration_sec, frequency_hz. Returns: object
read_serial_logsA
Open a serial port and read stdout/logs for timeout_sec seconds.
Automatically detects MCU crash dumps (e.g., ESP32 Guru Meditation Error, Brownout detector, Backtrace, HardFault) and extracts them for debugging.
Args: port: Serial port path (e.g., '/dev/ttyUSB0', '/dev/ttyACM0', 'COM3'). baudrate: Baud rate (default 115200). timeout_sec: Maximum duration in seconds to listen (default 5.0, max 60.0). max_lines: Maximum number of lines to collect before stopping. stop_on_pattern: Optional regex or substring to stop reading early when matched. stop_on_crash_dump: Whether to finish reading shortly after detecting a crash dump. reset_before_read: Pulse DTR/RTS to reset the board right after opening the port.
Inputs: port (required), baudrate, max_lines, timeout_sec, +3 more. Returns: object
record_audio_sampleA
Record audio from a microphone for duration_sec seconds and analyze the signal level (RMS/dBFS).
Great for verifying hardware audio output (speaker -> host mic) or testing a connected USB microphone.
Args: duration_sec: Recording duration in seconds (1 to 30, default 5.0). output_path: File path to save the .wav file (defaults to a temporary file). sample_rate: Sample rate in Hz (default 16000). channels: Number of channels (1 for mono, 2 for stereo). alsa_device: Optional ALSA device string (e.g. 'default', 'hw:0,0', 'plughw:1,0').
Inputs: channels, alsa_device, output_path, sample_rate, +1 more. Returns: object
run_custom_toolchainB
Run a custom build/flash CLI command (e.g., make flash, west build, cargo embed, openocd).
Args: command: Full CLI command string to execute. working_directory: Directory where the command should be run. timeout_sec: Timeout in seconds (default 300).
Inputs: command (required), timeout_sec, working_directory. Returns: object
scan_hardware_bridgesA
Discover connected USB-to-GPIO/I2C/SPI bridges (FT232H, FT2232H, CH341) and Linux bus devices.
Returns FTDI URLs (e.g. 'ftdi://ftdi:232h/1') and Linux '/dev/i2c-', '/dev/spidev', and '/dev/gpiochip*' nodes.
Inputs: no named parameters. Returns: object
send_hotkeyA
Send keyboard shortcuts or keystrokes to the active window or a specific application window.
Args: keys: Key combination such as 'ctrl+shift+b', 'ctrl+s', 'alt+F4', or 'Return'. window_title: Optional window title substring to focus before sending the hotkey. delay_ms: Delay between key events in milliseconds (default 50).
Inputs: keys (required), delay_ms, window_title. Returns: object
send_serial_commandA
Send a command string or raw hex bytes to a serial port and optionally read the response.
Args: port: Serial port device (e.g., '/dev/ttyUSB0'). data: Text string to send, or hex bytes string (e.g., 'AA 55 01 FF') when encoding='hex'. baudrate: Serial baud rate (default 115200). encoding: 'utf-8', 'ascii', or 'hex' for raw byte arrays. line_ending: Appended to text payloads ('\n', '\r\n', '\r', or '' for none). Ignored if encoding='hex'. read_response_sec: Seconds to listen for response after sending (0 to skip reading).
Inputs: data (required), port (required), baudrate, encoding, +2 more. Returns: object
set_audio_volumeA
Set volume or mute state for speaker ('sink') or microphone ('source').
Args: target: 'sink' (speaker/output) or 'source' (microphone/input). volume_percent: Volume level from 0 to 150 (e.g., 80 for 80%). mute: True to mute, False to unmute, or None to leave unchanged. device_id: Optional PipeWire/PulseAudio node ID or name (defaults to default sink/source).
Inputs: mute, target, device_id, volume_percent. Returns: object
sigrok_capture_and_decodeB
Capture digital signal pulses from a Logic Analyzer and optionally decode protocols (UART, I2C, SPI, PWM).
Args:
driver: Sigrok driver name (default 'fx2lafw' for 8-ch 24MHz logic analyzers, or 'demo' for testing).
samplerate: Sample rate string (e.g. '1m' for 1MHz, '4m' for 4MHz, '24m' for 24MHz).
samples: Number of samples to capture (e.g. 10000). Ignored if time_ms is set.
time_ms: Capture duration in milliseconds (e.g. 500 for 500ms). Overrides samples if provided.
channels: Optional channel selection (e.g. 'D0,D1' or 'D0=sda,D1=scl').
protocol_decoder: Optional sigrok protocol decoder specification
(e.g. 'uart:baudrate=115200:rx=D0', 'i2c:scl=D0:sda=D1', 'spi:clk=D0:mosi=D1:miso=D2:cs=D3').
output_file: Optional file path to save raw capture (.sr format).
Inputs: driver, samples, time_ms, channels, +3 more. Returns: object
sigrok_scan_devicesA
Scan for connected Logic Analyzers, Oscilloscopes, and Multimeters via sigrok-cli.
Supports FX2lafw (24MHz 8-ch Saleae logic clones), DSLogic, Kingst, Rigol, and other sigrok drivers.
Inputs: no named parameters. Returns: object
start_processB
Start an application or CLI utility on the host machine.
Args:
command: Executable name or full command line string.
args: Optional list of arguments (if not already in command).
cwd: Optional working directory.
background: If True, runs the process in the background and returns its PID immediately.
timeout_sec: When background=False, wait up to this many seconds for completion.
Inputs: command (required), cwd, args, background, +1 more. Returns: object
take_screenshotA
Capture a screenshot of the full screen or a specific region (x,y,width,height).
Useful for letting the AI inspect application windows, error dialogs, or logic analyzer/oscilloscope GUIs.
Args: output_path: Optional file path to save the PNG image (defaults to a temporary file). region: Optional region in format 'x,y,width,height' (e.g., '0,0,800,600').
Inputs: region, output_path. Returns: object
toggle_dtr_rtsA
Control DTR and RTS lines on a serial port to reset the board or enter bootloader mode.
Args:
port: Serial port path (e.g., '/dev/ttyUSB0').
mode:
- 'reset': Pulse RTS/DTR to hard-reset the microcontroller.
- 'esp32_bootloader': Classic ESP32 auto-program DTR/RTS sequence to enter ROM download mode.
- 'custom': Explicitly set DTR and RTS to the boolean values passed in dtr and rts.
dtr: Explicit DTR state when mode='custom'.
rts: Explicit RTS state when mode='custom'.
pulse_ms: Duration in milliseconds for reset/bootloader pulses (default 100ms).
Inputs: port (required), dtr, rts, mode, +1 more. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 33 tools
Most tools target distinct hardware domains and actions: serial, FTDI/I2C/SPI, BLE, sigrok, audio/video, ADB, and process management. There are some overlaps, notably check_toolchains versus check_prerequisites, and compile_and_flash versus esptool_command/run_custom_toolchain, but the descriptions usually make the intended choice clear.
All tool names use consistent snake_case and are readable. The convention is mostly verb_noun, with domain-prefixed variants like ble_scan_devices and ftdi_i2c_transfer, plus a few noun-style names such as adb_command and esptool_command.
The server exposes 33 tools, which is heavy for a single MCP surface even though the underlying hardware-tooling domain is broad. Each domain is reasonably scoped, but the overall count exceeds the 25-tool threshold where tool selection and maintenance burden become significant.
The surface covers many major hardware workflows: serial monitoring, firmware build/flash, FTDI GPIO/I2C/SPI, BLE GATT, logic analysis, audio/video inspection, ADB, and process/port management. Minor gaps remain for native Linux I2C/SPI/GPIO access and direct JTAG/SWD operations, though generic process and custom-toolchain tools provide escape hatches.
Related MCP Connectors
Run, build, and validate firmware on virtual hardware from your AI agent. Hardware knowledge corpus.
Use your own Windows, Mac or Linux computer from ChatGPT, Claude, Cursor or Gemini CLI: run commands, read, write and search files, run long processes. Your computer only makes an outgoing connection (no open ports or VPN). Read-only mode, allowed folders, blocked commands and an action log keep you in control. Free plan available.
Connect ChatGPT, Claude, Cursor or VS Code to your Windows PC: files, terminal, browser, apps.
Give your AI hands on every computer you own. Remote control of your Windows, Mac and Linux machines from one ChatGPT, Claude or Cursor chat — even from your phone. Ask it to find out why the office server is crawling, update every PC in the house, sort out your mom's laptop from another city, or ship the site from your work machine while you're on a train. It runs commands and reads and writes files; screenshots are a beta you can request. You decide what each computer allows, and you can cut any of them off in a second.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to interact with Arduino boards for compiling, uploading sketches, and serial communication.6MIT
- FlicenseAqualityCmaintenanceEnables AI agents to compile, flash, erase, and read serial output from embedded development boards, with guardrails such as budget limits, serial port mutexes, and mandatory human confirmation for destructive operations.5-
- AlicenseAqualityBmaintenanceLocal serial and USB hardware access for coding agents, with typed YAML protocol commands, checksum validation, audited writes, lossless captures, hardware-free replay, and MCP App visualizations. Runs locally over stdio; live hardware use requires a serial device connected to the same machine.187MIT
- AlicenseAqualityBmaintenanceEnables AI clients to compile and upload Arduino sketches, manage boards, cores, and libraries via arduino-cli, scaffold projects, and read serial output over stdio.261MIT