Bench
Enables identification, monitoring, and interaction with Adafruit USB devices and maker boards. Provides tools for device discovery, serial port mapping, firmware flashing, and HID communication with Adafruit hardware.
Provides comprehensive support for Arduino boards including automatic device recognition, serial port detection (/dev/cu.* mapping), firmware flashing via avrdude, and bidirectional serial communication for debugging and programming.
Recognizes Raspberry Pi devices connected via USB and provides detailed device information, serial port enumeration, and system integration for USB-based communication with Raspberry Pi hardware.
Identifies SparkFun development boards and USB devices with support for automatic classification, serial communication, firmware flashing, and event monitoring for connected SparkFun hardware.
Bench is a native macOS MCP server that gives AI tools like Claude Code, Cursor, and Windsurf visibility into connected USB hardware. It identifies devices, finds serial ports, and recognizes common maker boards — so your AI assistant knows what's on your bench.
No API keys. No drivers. One command to install.
What it does
22 tools across four categories:
Discovery
Tool | Description |
| Health check — returns server status, version, macOS version |
| List all connected USB devices with vendor, type, speed, serial |
| Detailed info on a specific device by serial, location ID, or name |
| Smart identification of 83+ known maker/dev boards |
| Enumerate serial ports with USB device matching |
| USB hub tree view showing port hierarchy and connections |
| Full USB descriptor chain — interfaces, endpoints, class codes |
| Detect exact chip type of ESP32/microcontroller via esptool |
Monitoring
Tool | Description |
| Detect USB connect/disconnect events between calls |
| Capture and diff USB device state snapshots |
| Query system logs for USB errors on a specific device |
| Per-device power draw, bus budgets, charging detection |
Management
Tool | Description |
| Safely unmount and eject removable storage |
| Persistent user-defined aliases for devices |
| Reset a USB port to recover frozen devices |
| Flash firmware via esptool/dfu-util/avrdude/UF2 |
| Send/receive raw HID reports |
Serial Communication
Tool | Description |
| Open a serial connection with configurable baud rate, data bits, parity |
| Read available data from an open serial connection |
| Write data or commands to an open serial connection |
| Close an open serial connection |
| Capture serial output for N seconds (boot logs, debug output) |
Features
Device classification — automatically categorizes devices as storage, input, hub, video, serial adapter, microcontroller, or debugger
Serial port detection — maps USB devices to their
/dev/cu.*serial ports (the #1 question makers ask)83+ known boards — recognizes Arduino, Raspberry Pi, ESP32, Adafruit, SparkFun, Teensy, STM32, and common USB-serial chips
Storage info — mount points, capacity, and free space for USB drives
USB monitoring — event tracking, state snapshots, diagnostic log queries, and power analysis
Firmware flashing — flash ESP32, STM32, Arduino AVR, and RP2040 boards directly
HID interaction — send and receive reports from Stream Decks, macro pads, and custom HID devices
Serial communication — open, read, write, and monitor serial ports with configurable baud rate, data bits, parity, and stop bits
Requirements
macOS 14+ (Sonoma or later) on Apple Silicon
An MCP-compatible AI tool (Claude Code, Cursor, Windsurf, etc.)
For building from source: Xcode 16.3+ / Swift 6.1+
Install
Homebrew (recommended)
brew install seayniclabs/tap/benchFrom source
git clone https://github.com/seayniclabs/bench.git
cd bench
swift build -c release
codesign --force --sign - --entitlements Sources/Bench/Bench.entitlements .build/release/BenchThe binary is at .build/release/Bench.
Add to Claude Code
claude mcp add bench -- $(which bench)Or add manually to ~/.claude.json:
{
"mcpServers": {
"bench": {
"command": "/path/to/bench",
"args": []
}
}
}Usage
Once connected, just talk to your AI tool:
"What USB devices are connected?"
"What port is my Arduino on?"
"Identify the device on /dev/cu.usbserial-2120"
"Eject the Samsung T7"
"Show me all storage devices"
"Open a serial connection to /dev/cu.usbserial-2120 at 9600 baud"
"Monitor the serial output from my ESP32 for 10 seconds"
How it works
Bench uses Apple's IOKit framework to enumerate USB devices natively on macOS. It enriches results with serial port detection (/dev/cu.* scanning), storage info (diskutil), and a built-in database of known maker boards. It communicates with AI tools over stdio using the Model Context Protocol (JSON-RPC).
AI Tool --stdio/JSON-RPC--> Bench --IOKit--> USB Device Tree
--diskutil--> Storage Info
--/dev/cu.*--> Serial Ports
--DeviceDB--> Board RecognitionNo special permissions needed. IOKit USB enumeration works without entitlements from a CLI binary.
Building
swift build # debug build
swift build -c release # release build
swift test # run testsBench requires Swift 6.1+ and targets macOS 14+.
License
MIT
Credits
Built by Seaynic Labs.
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/seayniclabs/bench'
If you have feedback or need assistance with the MCP directory API, please join our Discord server