Arduino MCP server for CLI setup, board detection, compile/upload, serial monitoring, and pin refs.
Connect Runs on your machine
claude mcp add arduino-mcp-server -e ARDUINO_CLI_PATH=<ARDUINO_CLI_PATH> -e ARDUINO_SKETCH_ROOT=<ARDUINO_SKETCH_ROOT> -- npx -y [email protected]
{
"mcpServers": {
"arduino-mcp-server": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"ARDUINO_CLI_PATH": "<ARDUINO_CLI_PATH>",
"ARDUINO_SKETCH_ROOT": "<ARDUINO_SKETCH_ROOT>"
}
}
}
}
{
"mcpServers": {
"arduino-mcp-server": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"ARDUINO_CLI_PATH": "<ARDUINO_CLI_PATH>",
"ARDUINO_SKETCH_ROOT": "<ARDUINO_SKETCH_ROOT>"
}
}
}
}
{
"servers": {
"arduino-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"ARDUINO_CLI_PATH": "<ARDUINO_CLI_PATH>",
"ARDUINO_SKETCH_ROOT": "<ARDUINO_SKETCH_ROOT>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
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. |
Details
| Package | [email protected] (NPM, stdio) |
| First published | 8 Mar 2026 |
| Last updated | 8 Mar 2026 |
| Registry name | io.github.hardware-mcp/arduino-mcp-server |
More files and documents servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
