Skip to content
verify mcp Beta VerifyMCP is currently in beta. If you notice any issues, email [email protected] and we’ll put it right.

Arduino MCP Server

NPM · ARDUINO-MCP-SERVER · SCANNED AUG 3

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

Available components

+17 this week 69 Trust /100
Trust breakdown (6 categories)

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score →

Supply Chain Security86
  • No malware found by supply-chain analysis.Pass
  • Only part of the dependency tree could be resolved (94 of 98), so this covers what we could see, not the whole tree.Partial
  • No install/post-install scripts declared.Pass
  • Only part of the dependency tree could be resolved (94 of 98), so this covers what we could see, not the whole tree. View diagnostics → Partial
Provenance & Transparency45
Schema Quality & AI Usability81
  • 100% of prompts and resources have a non-trivial description (not blank, and not just the item's name).Pass
  • AI-judged instruction clarity (good).Pass
  • Tool/resource definitions use about 1535 tokens (~69/item across 22 items; 21 tools + 1 resources), lean.Pass
  • Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management27
  • Stability observed for 8 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage94
  • 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
  • 79% of tool parameters carry a description.Partial
  • Structured output schemas are declared (100% of tools); any adoption earns full credit.Pass
Capabilities100
  • Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
Install

Add this component to your MCP client. Where a client-specific snippet is available, pick your client below and copy it straight into your config; otherwise use the connection detail shown.

npm · arduino-mcp-server

# add to Claude Code
claude mcp add hardware-mcp-arduino-mcp-server -- npx -y arduino-mcp-server
# add to Codex CLI
codex mcp add hardware-mcp-arduino-mcp-server -- npx -y arduino-mcp-server
// opencode.json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "hardware-mcp-arduino-mcp-server": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "arduino-mcp-server"
      ],
      "enabled": true
    }
  }
}
# add to OpenClaw
openclaw mcp add hardware-mcp-arduino-mcp-server --command npx --arg -y --arg arduino-mcp-server
# ~/.hermes/config.yaml
mcp_servers:
  hardware-mcp-arduino-mcp-server:
    command: "npx"
    args: ["-y", "arduino-mcp-server"]
// mcp.json
{
  "mcpServers": {
    "hardware-mcp-arduino-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "arduino-mcp-server"
      ]
    }
  }
}
Changelog

Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.

  • 2 Aug 26 +43
    • Provenance: unverified → fail security
    • Install scripts: unverified → pass security
    • Known CVEs: unverified → partial security
    • Malware scan: unverified → pass security
    • Schema quality: 100 → unverified functional
    • Security disclosure: fail → unverified functional
    • Tool coverage: 100 → unverified functional
    • License: unverified → pass functional
    • Dependency health: unverified → partial functional
    • Maintenance: unverified → pass functional
    • MCP protocol: unverified → pass functional
    • Stability: unverified → 0.23 functional
    • Schema quality: unverified → good functional
    • Licence: MIT functional
  • 31 Jul 26 −8
    • We updated how we score, so this day's move reflects our rubric, not a change to the server See what changed → functional
  • 30 Jul 26 −18
    • Malware scan: pass → unverified security
  • 27 Jul 26 52

    First indexed and scored.

Diagnostics

Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.

Captured 3 Aug 2026 · Analysed npm/[email protected]

Provenance none

Ecosystem: npm · Outcome: none

Dependencies 94 packages

94 packages in the resolved dependency tree · 94 deprecated · 29 stale.

The dependency tree was only partially resolved, so these counts may be incomplete.

MCP tools — 21 exposed · ~1,516 tokens

The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability.

Tool Tokens
arduino_cli_doctor ~27

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

Input schema present but exposes no named parameters.

NameTypeReqDescription
commandstring
data
errorstring
errorCodestring
nextActionsarray
notestring
okbooleanyes
rawobject
rawTailobject
reasonCodesarray
retryableboolean
stagestring
statusstring

No examples provided.

compile_sketch ~131

Compile an Arduino sketch with a specific board FQBN.

NameTypeReqDescription
autoInstallCorebooleanIf true (default), auto-install missing board core before compile.
buildPathstringOptional build output directory.
cleanbooleanIf true, clean build cache before compile.
exportBinariesbooleanIf true, export binaries into sketch folder.
fqbnstringyesBoard FQBN, e.g. arduino:avr:uno.
sketchPathstringyesPath to sketch folder or .ino file.
warningsstring
NameTypeReqDescription
commandstring
data
errorstring
errorCodestring
nextActionsarray
notestring
okbooleanyes
rawobject
rawTailobject
reasonCodesarray
retryableboolean
stagestring
statusstring

No examples provided.

detect_hardware ~80

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

NameTypeReqDescription
includeBoardDetailsbooleanIf true, query `arduino-cli board details` for selected FQBN candidates.
portstringOptional exact port filter, e.g. COM6 or /dev/ttyACM0.
NameTypeReqDescription
commandstring
data
errorstring
errorCodestring
nextActionsarray
notestring
okbooleanyes
rawobject
rawTailobject
reasonCodesarray
retryableboolean
stagestring
statusstring

No examples provided.

ensure_core_installed ~92

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

NameTypeReqDescription
autoInstallbooleanIf true (default), install missing core automatically.
coreIdstringCore ID, e.g. arduino:avr.
fqbnstringBoard FQBN, e.g. arduino:avr:uno.
NameTypeReqDescription
commandstring
data
errorstring
errorCodestring
nextActionsarray
notestring
okbooleanyes
rawobject
rawTailobject
reasonCodesarray
retryableboolean
stagestring
statusstring

No examples provided.

get_board_details ~46

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

NameTypeReqDescription
fqbnstringyesBoard FQBN, e.g. arduino:avr:uno.
NameTypeReqDescription
commandstring
data
errorstring
errorCodestring
nextActionsarray
notestring
okbooleanyes
rawobject
rawTailobject
reasonCodesarray
retryableboolean
stagestring
statusstring

No examples provided.

install_arduino_cli ~83

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

NameTypeReqDescription
methodstringInstall method. Default `auto` tries OS-relevant methods in order.
setCliPathInProcessbooleanIf true (default), set ARDUINO_CLI_PATH in this MCP process after install.
NameTypeReqDescription
commandstring
data
errorstring
errorCodestring
nextActionsarray
notestring
okbooleanyes
rawobject
rawTailobject
reasonCodesarray
retryableboolean
stagestring
statusstring

No examples provided.

list_board_reference ~19

List local board reference entries with pin/spec metadata.

Input schema present but exposes no named parameters.

NameTypeReqDescription
commandstring
data
errorstring
errorCodestring
nextActionsarray
notestring
okbooleanyes
rawobject
rawTailobject
reasonCodesarray
retryableboolean
stagestring
statusstring

No examples provided.

list_connected_boards ~22

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

Input schema present but exposes no named parameters.

NameTypeReqDescription
commandstring
data
errorstring
errorCodestring
nextActionsarray
notestring
okbooleanyes
rawobject
rawTailobject
reasonCodesarray
retryableboolean
stagestring
statusstring

No examples provided.

list_serial_ports ~29

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

Input schema present but exposes no named parameters.

NameTypeReqDescription
commandstring
data
errorstring
errorCodestring
nextActionsarray
notestring
okbooleanyes
rawobject
rawTailobject
reasonCodesarray
retryableboolean
stagestring
statusstring

No examples provided.

list_supported_boards ~40

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

NameTypeReqDescription
searchstringOptional case-insensitive filter for name/FQBN.
NameTypeReqDescription
commandstring
data
errorstring
errorCodestring
nextActionsarray
notestring
okbooleanyes
rawobject
rawTailobject
reasonCodesarray
retryableboolean
stagestring
statusstring

No examples provided.

read_serial_snapshot ~73

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

NameTypeReqDescription
baudRateintegerBaud rate. Default: 9600.
durationMsintegerCapture duration in ms.
portstringyesSerial port path, e.g. COM6 or /dev/ttyACM0.
NameTypeReqDescription
commandstring
data
errorstring
errorCodestring
nextActionsarray
notestring
okbooleanyes
rawobject
rawTailobject
reasonCodesarray
retryableboolean
stagestring
statusstring

No examples provided.

safety_preflight ~84

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

NameTypeReqDescription
boardstringBoard name/id (preferred when known).
fqbnstringBoard FQBN when known.
portstringOptional port for automatic board inference.
powerobject
wiringarray
NameTypeReqDescription
commandstring
data
errorstring
errorCodestring
nextActionsarray
notestring
okbooleanyes
rawobject
rawTailobject
reasonCodesarray
retryableboolean
stagestring
statusstring

No examples provided.

search_board_reference ~33

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

NameTypeReqDescription
querystringyes
NameTypeReqDescription
commandstring
data
errorstring
errorCodestring
nextActionsarray
notestring
okbooleanyes
rawobject
rawTailobject
reasonCodesarray
retryableboolean
stagestring
statusstring

No examples provided.

serial_close_session ~27

Close a serial session and release its port lock.

NameTypeReqDescription
sessionIdstringyes
NameTypeReqDescription
commandstring
data
errorstring
errorCodestring
nextActionsarray
notestring
okbooleanyes
rawobject
rawTailobject
reasonCodesarray
retryableboolean
stagestring
statusstring

No examples provided.

serial_expect ~64

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

NameTypeReqDescription
caseSensitiveboolean
fromOffsetintegerOptional explicit cursor offset.
patternstringyes
sessionIdstringyes
timeoutMsinteger
NameTypeReqDescription
commandstring
data
errorstring
errorCodestring
nextActionsarray
notestring
okbooleanyes
rawobject
rawTailobject
reasonCodesarray
retryableboolean
stagestring
statusstring

No examples provided.

serial_list_sessions ~19

List active serial sessions and current port lock state.

Input schema present but exposes no named parameters.

NameTypeReqDescription
commandstring
data
errorstring
errorCodestring
nextActionsarray
notestring
okbooleanyes
rawobject
rawTailobject
reasonCodesarray
retryableboolean
stagestring
statusstring

No examples provided.

serial_open_session ~88

Open a stateful serial monitor session with port lock ownership.

NameTypeReqDescription
baudRateintegerBaud rate. Default: 9600.
maxBufferBytesintegerMax in-memory receive buffer.
portstringyesSerial port path, e.g. COM6 or /dev/ttyACM0.
ttlMsintegerSession lease TTL in ms.
NameTypeReqDescription
commandstring
data
errorstring
errorCodestring
nextActionsarray
notestring
okbooleanyes
rawobject
rawTailobject
reasonCodesarray
retryableboolean
stagestring
statusstring

No examples provided.

serial_read ~68

Read buffered bytes from an open serial session.

NameTypeReqDescription
encodingstringOutput encoding. Default: utf8.
fromOffsetintegerRead offset cursor. Defaults to current buffer start.
maxBytesintegerMaximum bytes to return.
sessionIdstringyes
NameTypeReqDescription
commandstring
data
errorstring
errorCodestring
nextActionsarray
notestring
okbooleanyes
rawobject
rawTailobject
reasonCodesarray
retryableboolean
stagestring
statusstring

No examples provided.

serial_write ~103

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

NameTypeReqDescription
datastringyesPayload to send.
encodingstringPayload encoding. Default: utf8.
lineEndingstringOptional line ending append.
safetyContextobject
sessionIdstringyes
unsafeSkipPreflightbooleanIf true, bypasses safety_preflight checks. Use only with explicit user acceptance.
NameTypeReqDescription
commandstring
data
errorstring
errorCodestring
nextActionsarray
notestring
okbooleanyes
rawobject
rawTailobject
reasonCodesarray
retryableboolean
stagestring
statusstring

No examples provided.

upload_and_wait_ready ~231

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

NameTypeReqDescription
autoInstallCorebooleanIf true (default), auto-install missing board core when fqbn is provided.
fqbnstringOptional board FQBN when auto-detect is insufficient.
portstringyesSerial port path, e.g. COM6 or /dev/ttyACM0.
readyBaudRateintegerBaud rate for readiness check. Default 115200.
readyCaseSensitivebooleanIf true, readiness matching is case-sensitive.
readyPatternstringOptional serial text pattern to wait for after upload.
readyTimeoutMsintegerHow long to wait for readyPattern.
safetyContextobject
sketchPathstringyesPath to sketch folder or .ino file.
unsafeSkipPreflightbooleanIf true, bypasses safety_preflight checks. Use only when user explicitly accepts risk.
verifybooleanVerify uploaded binary when supported.
NameTypeReqDescription
commandstring
data
errorstring
errorCodestring
nextActionsarray
notestring
okbooleanyes
rawobject
rawTailobject
reasonCodesarray
retryableboolean
stagestring
statusstring

No examples provided.

upload_sketch ~157

Upload a compiled sketch to a connected board/port.

NameTypeReqDescription
autoInstallCorebooleanIf true (default), auto-install missing board core when fqbn is provided.
fqbnstringOptional board FQBN when auto-detect is insufficient.
portstringyesSerial port path, e.g. COM6 or /dev/ttyACM0.
safetyContextobjectOptional electrical context for preflight checks.
sketchPathstringyesPath to sketch folder or .ino file.
unsafeSkipPreflightbooleanIf true, bypasses safety_preflight checks. Use only when user explicitly accepts risk.
verifybooleanVerify uploaded binary when supported.
NameTypeReqDescription
commandstring
data
errorstring
errorCodestring
nextActionsarray
notestring
okbooleanyes
rawobject
rawTailobject
reasonCodesarray
retryableboolean
stagestring
statusstring

No examples provided.