Arduino MCP Server
io.github.akshatnerella/arduino-mcp-server·v0.2.7·3 starsArduino MCP server for CLI setup, board detection, compile/upload, serial monitoring, and pin refs.
3 stars
Reviews
Write oneNobody has reviewed Arduino MCP Server yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Arduino MCP Server tools (21, 4 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
arduino_cli_doctorCheck whether arduino-cli is available and return OS-specific installation instructions if missing.
compile_sketchCompile an Arduino sketch with a specific board FQBN.
detect_hardwareDetect connected Arduino-compatible hardware, infer board/FQBN candidates, and generate next compile/upload commands.
ensure_core_installedEnsure the Arduino core required by a board FQBN is installed. Can auto-install via `arduino-cli core install`.
get_board_detailsGet detailed board metadata from arduino-cli for a specific FQBN.
install_arduino_cliAttempt to install arduino-cli for the current OS using available package managers, then verify and configure CLI path.
list_board_referenceList local board reference entries with pin/spec metadata.
list_connected_boardsList connected boards and serial ports detected by arduino-cli.
list_serial_portsList serial ports and any detected board metadata using arduino-cli. Works on Windows/macOS/Linux.
list_supported_boardsList supported/installable boards from the local arduino-cli index.
read_serial_snapshotCapture serial output for a bounded duration from a given port.
safety_preflightwrite actionRun electrical preflight checks (voltage/current/pin risks) before upload or serial write operations.
search_board_referenceSearch local board reference by board name, alias, id, or FQBN.
serial_close_sessionClose a serial session and release its port lock.
serial_expectWait for a string pattern in a serial session buffer with timeout.
serial_list_sessionsList active serial sessions and current port lock state.
serial_open_sessionOpen a stateful serial monitor session with port lock ownership.
serial_readRead buffered bytes from an open serial session.
serial_writewrite actionWrite bytes to an open serial session. Safety preflight is enforced unless explicitly skipped.
upload_and_wait_readywrite actionUpload a sketch and wait for a serial readiness pattern, handling post-upload reset/re-enumeration windows.
upload_sketchwrite actionUpload a compiled sketch to a connected board/port.
Public scan report
scanner v0.1.10 · 2026-09-28 · same rubric, same numbers if you re-run it
- Code scan8 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 36 days ago12/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Arduino MCP Server compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 88/100
- higher than 75% of 48,255 servers
- Tools
- 21
- the typical server has 7
- Tools that change things
- 19%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 3
- more than 80% of 28,688 servers
What its tools let an agent do: 16 read · 2 create · 2 change · 1 run or deploy
Install Arduino MCP Server in Claude Code, Cursor or VS Code
Runs npx -y arduino-mcp-server on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add arduino-mcp-server -- npx -y arduino-mcp-server
What the publisher says
From the Arduino MCP Server repository's README, as published. We do not edit it. Read it on GitHub
arduino-mcp-server
Give your AI assistant full control over Arduino — compile, upload, monitor serial, and verify wiring safety, all through natural language.
Part of the HardwareMCP ecosystem — open-source MCP servers that bridge AI to physical hardware.
What this does
AI assistants can control Jira, GitHub, and databases. They can't talk to a microcontroller — until now.
arduino-mcp-server wraps arduino-cli into an MCP server so your AI can:
- Detect connected boards and ports automatically
- Compile and upload sketches without touching the terminal
- Monitor serial output with stateful sessions (open, read, expect, write, close)
- Run electrical safety checks before sending commands to hardware
- Manage dependencies — cores, libraries, and CLI installation
Quick Start
Install:
npm install -g arduino-mcp-serverAdd to Claude Desktop (claudedesktopconfig.json):
{
"mcpServers": {
"arduino": {
"command": "npx",
"args": ["-y", "arduino-mcp-server"],
"env": {
"ARDUINO_CLI_PATH": "arduino-cli",
"ARDUINO_SKETCH_ROOT": "/path/to/your/sketches"
}
}
}
}Requires arduino-cli on your PATH, or let the server install it for you.
What you can say
Bootstrap from scratch:
"Check if Arduino CLI is installed and set everything up for an Arduino Uno."
Compile and upload:
"Compile my Blink sketch and upload it to the Uno on COM6."
Serial monitoring:
"Open serial on COM6 at 115200 and wait until the device prints READY."
Safety-first workflows:
"Run a safety preflight for an Arduino Uno with 5V on pin 13 at 25mA before I send commands."
Tools
Resources:
- arduino://boards/reference — structured board pin/capability reference
Prompts:
- arduino-cli-bootstrap-policy — policy for arduino-cli setup behavior
- arduino-setup-assistant — guided Arduino environment setup
Configuration
Development
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Arduino MCP Server: common questions
- Is Arduino MCP Server safe?
- Yes, by our scan: it is graded A (88/100). Read the Arduino MCP Server safety report
- How do I install Arduino MCP Server?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Arduino MCP Server need an API key?
- No secret keys are declared. It reads 2 settings from the environment.
- Is Arduino MCP Server maintained?
- The last commit was 73 days ago (2026-08-22). The latest release is v0.2.7.
- What can I use instead of Arduino MCP Server?
- Servers from other publishers that do the same job: Netdata MCP server.
- How does Arduino MCP Server compare with other MCP servers?
- safety score 88/100 (higher than 75% of 48,255 servers); tools 21 (the typical server has 7); tools that change things 19% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to Arduino MCP Server
Same job from other publishers: the closest match first, then the best rated.
- NetdataReal-time infrastructure monitoring with metrics, logs, alerts, and ML-based anomaly detection.not reviewedWidely usedA