Arduino MCP Server

v0.2.8
io.github.hardware-mcp/arduino-mcp-server Checked 2 days ago Published 9 months ago

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

Values you need

VariableWhat it is
ARDUINO_CLI_PATHoptional Optional path to arduino-cli binary. Defaults to arduino-cli on PATH.
ARDUINO_SKETCH_ROOToptional Optional absolute path restricting sketch operations to this directory.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add arduino-mcp-server -- npx -y arduino-mcp-server@0.2.8
Add to claude_desktop_config.json
{
  "mcpServers": {
    "arduino-mcp-server": {
      "args": [
        "-y",
        "arduino-mcp-server@0.2.8"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "arduino-mcp-server": {
      "args": [
        "-y",
        "arduino-mcp-server@0.2.8"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "arduino-mcp-server": {
      "args": [
        "-y",
        "arduino-mcp-server@0.2.8"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.arduino-mcp-server]
command = "npx"
args = ["-y", "arduino-mcp-server@0.2.8"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: list_connected_boards, arduino_cli_doctor, install_arduino_cli, list_supported_boards, ensure_core_installed, detect_hardware, list_serial_ports, compile_sketch, ….
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json