Arduino MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_SKETCH_DIR | No | Override default sketch directory | OS-specific |
| ARDUINO_CLI_PATH | No | Path to Arduino CLI executable | arduino-cli |
| ARDUINO_CONFIG_FILE | No | Custom Arduino CLI config file path | Auto-detected |
| ARDUINO_SERIAL_BUFFER_SIZE | No | Serial buffer size in MB | 10 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| extensions | {
"io.modelcontextprotocol/ui": {}
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| arduino_cli_commandD | – |
| list_portsD | – |
| list_connected_boardsD | – |
| verify_portD | – |
| searchA | Search for Arduino cores or libraries. Note: Library searches return only latest version details to reduce output size. Use more specific search terms to narrow results (e.g., "Adafruit_SSD1306" instead of "display"). |
| list_installed_coresD | – |
| install_coreD | – |
| install_libraryD | – |
| list_installed_librariesD | – |
| compile_sketchA | Compile an Arduino sketch. TIP: If you used For project-based workflows, use board attach first: arduino_cli_command("board attach -p COM3 -b arduino:avr:uno MySketch") Then compile without specifying FQBN each time. See the sketch_project_workflow prompt for details. |
| upload_sketchA | Upload a compiled sketch to an Arduino board. TIP: If you used For project-based workflows, use board attach first: arduino_cli_command("board attach -p COM3 -b arduino:avr:uno MySketch") Then upload without specifying FQBN/port each time. See the sketch_project_workflow prompt for details. |
| create_new_sketchD | – |
| clean_cacheD | – |
| serial_monitorD | – |
| convert_image_to_c_arrayA | Convert images to C arrays for hardware displays (OLED, E-Paper, TFT, LEDs) Supports: monochrome (1-bit), grayscale_2bit (4-level), grayscale_4bit (16-level), grayscale (8-bit), rgb565 (16-bit color), rgb888 (24-bit color) Parameters:
|
| lint_arduino_projectB | Lint Arduino project for compliance and best practices. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| blink_led_example | |
| sensor_reading_example | |
| sketch_project_workflow | |
| full_development_workflow | |
| troubleshooting_guide | |
| arduino_lint_workflow |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| read_arduino_config |
TDQS
Scored across 16 tools
Many tools lack descriptions, and 'arduino_cli_command' is overly generic, potentially overlapping with other tools. Several tools like 'clean_cache' are ambiguous, making it hard for agents to distinguish purposes.
Most tools follow a verb_noun pattern with snake_case, but 'arduino_cli_command' is noun_noun and 'search' is just a verb, causing minor inconsistency.
16 tools cover a wide range of Arduino operations without being overwhelming. Each tool serves a distinct aspect of the development workflow.
Core CRUD and lifecycle operations for sketches, libraries, cores, boards, and serial monitoring are present. Missing explicit delete or update tools, but the generic 'arduino_cli_command' can cover gaps.