arduino-mcp-server
About
An MCP (Model Context Protocol) server written in Go that integrates with Arduino tooling. It allows listing connected boards, compiling sketches, and uploading firmware, primarily targeting developers using VSCode.
Details
- Author
- dido18
- GitHub stars
- 2
- Downloads
- 574
- Categories
- Other
Jump to
- List connected Arduino boards.
- Compile sketches with a specified board FQBN.
- Compile and upload sketches in one step.
- Upload compiled sketches to a specific port.
Clone the repository, build with go build ., move the binary to a desired location, then configure the server in VSCode’s settings.json or a workspace .vscode/mcp.json file. Set the type to stdio and the command to the binary path.
arduino-mcp-server
An arduino mcp server written in golang.Installation
Vscode
-git clone git@github.com:dido18/arduino-mcp-server.git
- cd arduino-mcp-server && go build .
- move the binary into a location (e.g. mv arduino-mcp-server ~/arduino-mcp-server )
- use the location in the command field of the settings.json (or can add it to a file called .vscode/mcp.json in your workspace)
{
// settings.json
"mcp": {
"servers": {
"arduino-mcp-server": {
"type": "stdio",
"command": "~/arduino-mcp-server",
"args": []
}
}
},
}
Tools:
- list_boards: list the connected board to the pc
- compile: compile (and optionally upload) a sketch
- fqbn the fqbn of the board
- sketch the path of the sketch to compile
- upload if True perform the upload
- port the port wher to upload
- upload: upload
- fqbn the fqbn of the board
- sketch the path of the sketch to compile
- port the port where to upload
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



