arduino-mcp-server

MCP serverMonitoring & ops

Arduino MCP server for CLI setup, board detection, compile/upload, serial monitoring, and pin refs.

This server has no hosted endpoint yet, so ahel can't serve it. You can still add it. It stays paused until ahel can serve it.

Serve it through your gateway

One link, every agent. Your own credentials, stored once.

Tools it gives your agents (21)

ToolWhat it does
list_connected_boardsList connected boards and serial ports detected by arduino-cli.
arduino_cli_doctorCheck whether arduino-cli is available and return OS-specific installation instructions if missing.
install_arduino_cliAttempt to install arduino-cli for the current OS using available package managers, then verify and configure CLI path.
list_supported_boardsList supported/installable boards from the local arduino-cli index.
ensure_core_installedEnsure the Arduino core required by a board FQBN is installed. Can auto-install via `arduino-cli core install`.
detect_hardwareDetect connected Arduino-compatible hardware, infer board/FQBN candidates, and generate next compile/upload commands.
list_serial_portsList serial ports and any detected board metadata using arduino-cli. Works on Windows/macOS/Linux.
compile_sketchCompile an Arduino sketch with a specific board FQBN.
upload_sketchUpload a compiled sketch to a connected board/port.
upload_and_wait_readyUpload a sketch and wait for a serial readiness pattern, handling post-upload reset/re-enumeration windows.
read_serial_snapshotCapture serial output for a bounded duration from a given port.
safety_preflightRun electrical preflight checks (voltage/current/pin risks) before upload or serial write operations.
serial_open_sessionOpen a stateful serial monitor session with port lock ownership.
serial_list_sessionsList active serial sessions and current port lock state.
serial_readRead buffered bytes from an open serial session.
serial_expectWait for a string pattern in a serial session buffer with timeout.
serial_writeWrite bytes to an open serial session. Safety preflight is enforced unless explicitly skipped.
serial_close_sessionClose a serial session and release its port lock.
get_board_detailsGet detailed board metadata from arduino-cli for a specific FQBN.
list_board_referenceList local board reference entries with pin/spec metadata.
search_board_referenceSearch local board reference by board name, alias, id, or FQBN.

Signals

GitHub stars
3
Last commit
Aug 2026
Weekly downloads
126
Tools captured
21