
A FastMCP-powered bridge exposing arduino-cli functionality via the Model Context Protocol
A FastMCP-powered bridge exposing arduino-cli functionality via the Model Context Protocol (MCP). Manage sketches, boards, libraries, files, plus generate WireViz schematics from YAML or natural language.
·
A FastMCP-powered bridge exposing arduino-cli functionality via the Model Context Protocol (MCP). Manage sketches, boards, libraries, files, plus generate WireViz schematics from YAML or natural language.
PATHmcp[cli])From PyPI:
pip install mcp-arduino-serverFrom source:
git clone https://github.com/Volt23/mcp-arduino-server.git
cd mcp-arduino-server
pip install .Environment variables override defaults:
| Variable | Default / Description |
|---|---|
| ARDUINO_CLI_PATH | auto-detected |
| WIREVIZ_PATH | auto-detected |
| MCP_SKETCH_DIR | ~/Documents/Arduino_MCP_Sketches/ |
| LOG_LEVEL | INFO |
| OPENAI_API_KEY | your OpenAI API key (required for AI‑powered WireViz) |
| OPENROUTER_API_KEY | optional alternative to OPENAI_API_KEY |
| ARDUINO_SERIAL_LOG_MAX_BYTES | max size per serial log file (bytes; 0 disables) |
| ARDUINO_SERIAL_LOG_ROTATE_COUNT | number of rotated serial logs to keep |
mcp-arduino-serverServer listens on STDIO for JSON-RPC MCP calls. Key methods:
create_new_sketch(name)list_sketches()read_file(path)write_file(path, content[, board_fqbn]) (auto-compiles & opens .ino)verify_code(sketch, board_fqbn)upload_sketch(sketch, port, board_fqbn)lib_search(name[, limit])lib_install(name)list_library_examples(name)list_boards()board_search(query)serial_monitor_start(port, baud, buffer_lines, log_to_file, ...)serial_monitor_read(monitor_id, lines)serial_monitor_list()serial_monitor_stop(monitor_id)rename_file(src, dest)remove_file(path) (destructive; operations sandboxed to home & sketch directories)generate_circuit_diagram_from_description(desc, sketch="", output_base="circuit") (AI‑powered; requires OPENAI_API_KEY, opens PNG automatically)To integrate with MCP clients (e.g., Claude Desktop), set your OpenAI API key in the environment (or alternatively OPENROUTER_API_KEY for OpenRouter):
{
"mcpServers": {
"arduino": {
"command": "/path/to/mcp-arduino-server",
"args": [],
"env": {
"WIREVIZ_PATH": "/path/to/wireviz",
"OPENAI_API_KEY": "<your-openai-api-key>"
}
}
}
}LOG_LEVEL=DEBUG for verbose logs.arduino-cli core install <spec>.arduino-cli commands manually to debug.MIT
Pick your client and paste the snippet. Each one is the same server, written the way that client expects it.
claude mcp add arduino -- /path/to/mcp-arduino-server{
"mcpServers": {
"arduino": {
"env": {
"WIREVIZ_PATH": "",
"OPENAI_API_KEY": ""
},
"args": [],
"command": "/path/to/mcp-arduino-server"
}
}
}code --add-mcp '{"name":"arduino","env":{"WIREVIZ_PATH":"","OPENAI_API_KEY":""},"args":[],"command":"/path/to/mcp-arduino-server"}'[mcp_servers.arduino]
command = "/path/to/mcp-arduino-server"Runs locally on your device. Your client starts the server itself, so nothing has to be hosted.
Paste this prompt into your agent. It reads this page and does the setup for you.
Read https://aiagentslisting.com/mcp/mcp-arduino-server to learn what the "Mcp Arduino Server" MCP server does and how to install it. Add it to my coding agent's MCP configuration as documented on that page, then confirm the server connects and list the tools it exposes.Agents can also browse this directory over MCP at https://aiagentslisting.com/api/mcp
pip install mcp-arduino-serverThis server runs locally, so we can't read its tool list over the web yet.
We could not run this server: it ships no npx package for our sandbox and no public endpoint. The four checks that need a live server are left out, and the grade tops out at B until one exists.
Maintain this server? Claiming proves you own the listing and earns the last 4 points.
Claim this listingPaste this line near the top of your repository's README. The badge always renders the current score.
[](https://aiagentslisting.com/mcp/mcp-arduino-server)Nothing comparable is listed yet.
No tagged releases on record.
Connect to the AI Agents Listing MCP server at https://aiagentslisting.com/api/mcp using the HTTP transport and complete the sign-in when it asks. Then call the submit_review tool for the listing "mcp-arduino-server" with a rating from 1 to 5 and a short note on what worked and what did not.No reviews yet
Be the first to share your experience with this tool.
One email a week. New agents, MCP servers and skills, and what is actually getting traction.