A FastMCP-powered bridge exposing `arduino-cli` functionality via the Model Context Protocol (MCP). Manage sketches, boards, libraries, files, plus
MCP Arduino Server becomes available to MCP clients through the mcp arduino server mcp server. 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.
Once connected, the assistant can call these 13 tools directly:
arduino — cli** in PATHVariable — Default / DescriptionARDUINO_CLI_PATH — auto-detectedWIREVIZ_PATH — auto-detectedMCP_SKETCH_DIR — ~/Documents/Arduino_MCP_Sketches/LOG_LEVEL — INFOOPENAI_API_KEY — your OpenAI API key (required for AI‑powered WireViz)OPENROUTER_API_KEY — optional alternative to OPENAI_API_KEYARDUINO_SERIAL_LOG_MAX_BYTES — max size per serial log file (bytes; 0 disables)ARDUINO_SERIAL_LOG_ROTATE_COUNT — number of rotated serial logs to keepSketches — The Sketches tool exposed by this serverLibraries — The Libraries tool exposed by this serverBoards — The Boards tool exposed by this serverThe server is distributed via PyPI as mcp-arduino-server, so most clients can run it without a manual build step. Add it to your MCP client's configuration and restart the client to pick it up — the copy-paste configs for Claude Desktop, Claude Code and Cursor are on this page.
Before the server will start you need to supply 4 environment variables: WIREVIZ_PATH, OPENAI_API_KEY, ARDUINO_CLI_PATH, OPENROUTER_API_KEY. Keep credentials in your client's env block or a secrets manager rather than committing them.
PATH - MCP SDK (mcp[cli]) - WireViz (optional; for diagram generation) - OPENAI_API_KEY (for AI‑powered WireViz) - thefuzz[speedup] (optional; enables fuzzy local library search)Monitoring servers replace the paste-the-stack-trace ritual with an assistant that reads the real event, with all its surrounding context intact. MCP Arduino Server sits in that group, and the shape of its toolset — arduino, Variable, ARDUINO_CLI_PATH among others — tells you what it is really for. Worth comparing against the other monitoring security servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.
| Tool | What it does |
|---|---|
| arduino | cli** in PATH |
| 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 |
| Sketches | The Sketches tool exposed by this server. |
| Libraries | The Libraries tool exposed by this server. |
| Boards | The Boards tool exposed by this server. |
{
"mcpServers": {
"arduino-server": {
"command": "uvx",
"args": ["mcp-arduino-server"],
"env": {
"WIREVIZ_PATH": "your-value",
"OPENAI_API_KEY": "your-value",
"ARDUINO_CLI_PATH": "your-value",
"OPENROUTER_API_KEY": "your-value"
}
}
}
}Add to claude_desktop_config.json, then restart Claude Desktop.
PATH - MCP SDK (mcp[cli]) - WireViz (optional; for diagram generation) - OPENAI_API_KEY (for AI‑powered WireViz) - thefuzz[speedup] (optional; enables fuzzy local library search)| Variable | Description | Required |
|---|---|---|
| WIREVIZ_PATH | Filesystem location the server is allowed to use. | Optional |
| OPENAI_API_KEY | Credential the server authenticates with. | Yes |
| ARDUINO_CLI_PATH | Filesystem location the server is allowed to use. | Optional |
| OPENROUTER_API_KEY | Credential the server authenticates with. | Yes |
Give your coding agent the full DevTools toolbox: traces, network, console, heap snapshots and Lighthouse.
Dashboards, Prometheus and Loki queries, incidents and alerts — observability by conversation.
Errors with full context — stack traces, issue triage and AI-powered root-cause analysis from Sentry's server.
Enables enhanced web research capabilities for large language models through intelligent search queuing and advanced content extraction.
Automates browser interactions and enables Large Language Models (LLMs) to interact with web pages through Playwright and Chrome DevTools Protocol
Guides tool usage by providing recommendations for MCP tools at each problem-solving stage.