MCP.Market

Arduino MCP Server

by hardware-mcp·io.github.hardware-mcp/arduino-mcp-server·v0.2.8·19 stars

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

A86/100grade A
What users say
No reviews yet
Be the first
Safety scan
A86/100

full report

Adoption
Growing

19 stars

Reviews

Write one

Nobody 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 posts

Read from the package source without running it. The installed server may list more.

  • arduino_cli_doctor

    Check whether arduino-cli is available and return OS-specific installation instructions if missing.

  • compile_sketch

    Compile an Arduino sketch with a specific board FQBN.

  • detect_hardware

    Detect connected Arduino-compatible hardware, infer board/FQBN candidates, and generate next compile/upload commands.

  • ensure_core_installed

    Ensure the Arduino core required by a board FQBN is installed. Can auto-install via `arduino-cli core install`.

  • get_board_details

    Get detailed board metadata from arduino-cli for a specific FQBN.

  • install_arduino_cli

    Attempt to install arduino-cli for the current OS using available package managers, then verify and configure CLI path.

  • list_board_reference

    List local board reference entries with pin/spec metadata.

  • list_connected_boards

    List connected boards and serial ports detected by arduino-cli.

  • list_serial_ports

    List serial ports and any detected board metadata using arduino-cli. Works on Windows/macOS/Linux.

  • list_supported_boards

    List supported/installable boards from the local arduino-cli index.

  • read_serial_snapshot

    Capture serial output for a bounded duration from a given port.

  • safety_preflightwrite action

    Run electrical preflight checks (voltage/current/pin risks) before upload or serial write operations.

  • search_board_reference

    Search local board reference by board name, alias, id, or FQBN.

  • serial_close_session

    Close a serial session and release its port lock.

  • serial_expect

    Wait for a string pattern in a serial session buffer with timeout.

  • serial_list_sessions

    List active serial sessions and current port lock state.

  • serial_open_session

    Open a stateful serial monitor session with port lock ownership.

  • serial_read

    Read buffered bytes from an open serial session.

  • serial_writewrite action

    Write bytes to an open serial session. Safety preflight is enforced unless explicitly skipped.

  • upload_and_wait_readywrite action

    Upload a sketch and wait for a serial readiness pattern, handling post-upload reset/re-enumeration windows.

  • upload_sketchwrite action

    Upload 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

no findings
  • 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 owner7/10
Overall 86/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How Arduino MCP Server compares

Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
86/100
higher than 72% 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
19
more than 91% 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
Add to Cursor

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-server

Add 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

Safety preflight guardrails

safetypreflight (and the safetyContext passed to uploadsketch, uploadandwaitready, and serialwrite) now also covers battery and ESP32-family pin footguns, driven by small, extensible data tables rather than hardcoded to any one board:

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 (86/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.8.
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 86/100 (higher than 72% 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.

  • Netdata
    Real-time infrastructure monitoring with metrics, logs, alerts, and ML-based anomaly detection.
    A