An arduino mcp server written in golang.
git clone [email protected]:dido18/arduino-mcp-server.gitcd 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
commandfield of thesettings.json(or can add it to a file called.vscode/mcp.jsonin your workspace)
{
// settings.json
"mcp": {
"servers": {
"arduino-mcp-server": {
"type": "stdio",
"command": "~/arduino-mcp-server",
"args": []
}
}
},
}
list_boards: list the connected board to the pccompile: compile (and optionally upload) a sketchfqbnthe fqbn of the boardsketchthe path of the sketch to compileuploadif True perform the uploadportthe port wher to upload
upload: uploadfqbnthe fqbn of the boardsketchthe path of the sketch to compileportthe port where to upload