arduino-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ARDUINO_CLI_PATH | No | Path to the arduino-cli executable. If not set, the server will try to find arduino-cli on PATH or detect the Arduino IDE-bundled CLI. |
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
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| arduino_cli_versionA | Confirm arduino-cli is available and report its version. Call this first to verify the toolchain before compile/upload. |
| list_portsA | List serial ports detected by arduino-cli (USB adapters, Uno, Portenta, etc.). |
| board_listA | List connected boards with detected FQBN when possible. Alias-friendly companion to list_ports. |
| core_listA | List installed Arduino cores (platform packages), e.g. arduino:avr or arduino:mbed_portenta. |
| core_installA | Install an Arduino core/platform by id. Examples: arduino:avr (Uno), arduino:mbed_portenta (Portenta H7). |
| lib_searchA | Search the Arduino Library Manager by query string. |
| lib_installA | Install one or more Arduino libraries by name from Library Manager. |
| compileA | Compile a sketch for a board FQBN without uploading. Use arduino:avr:uno for Uno or arduino:mbed_portenta:envie_m7 for Portenta H7. |
| uploadA | Upload a sketch to a board on a serial port. Prefer compile first with libraries/buildPath, then pass the same buildPath as inputDir (upload does not accept --libraries). |
| serial_openA | Open a serial port exclusively for read/write. Default baud is 115200 (Ratchet UART). Close any previous session first. |
| serial_readA | Read buffered bytes from the open serial port. Buffer is capped (~64KB) to protect agent context. |
| serial_writeA | Write data to the open serial port. Use hex/base64 for binary UART frames (e.g. Ratchet Phase 2.7). |
| serial_closeA | Close the currently open serial port session. |
| serial_statusA | Report whether a serial session is open and how many bytes are buffered. |
| rattus_crc_self_testA | Verify host-side CRC-8/MAXIM matches firmware RattusUart (expect check vector 0xA1). |
| rattus_send_twistA | Phase 2.7 PC-masquerade: pack a CMD_TWIST frame (CRC-8/MAXIM) and write it to the open serial port (Uno USB). Requires serial_open first. |
| rattus_heartbeatC | Send CMD_TWIST heartbeats at ~20 Hz for durationMs (Phase 2.7 soak / link-up). Uses open serial port. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/JShort-bufr/arduino-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server