arduino-mcp-server logo

arduino-mcp-server

by dido18

An arduino mcp server written in golang. It allows you to compile and upload Arduino sketches from your computer.

View on GitHub

Last updated: N/A

What is arduino-mcp-server?

This is an Arduino MCP (Multiple Configuration Project) server implemented in Go. It provides a way to interact with Arduino boards for compiling and uploading sketches.

How to use arduino-mcp-server?

  1. Clone the repository.
  2. Build the Go application using go build ..
  3. Move the binary to a desired location.
  4. Configure your IDE (e.g., VSCode) to use the server by specifying the path to the binary in the command field of your settings.

Key features of arduino-mcp-server

  • List connected Arduino boards

  • Compile Arduino sketches

  • Upload sketches to Arduino boards

  • Supports specifying FQBN, sketch path, and port

Use cases of arduino-mcp-server

  • Automated Arduino sketch compilation and uploading

  • Integration with IDEs for a seamless development experience

  • Remote Arduino programming

  • Command-line Arduino development

FAQ from arduino-mcp-server

What is FQBN?

FQBN stands for Fully Qualified Board Name. It uniquely identifies the Arduino board you are using.

How do I find the FQBN of my board?

You can use the list_boards tool provided by the server to list the connected boards and their FQBNs.

What is the 'sketch' parameter?

The 'sketch' parameter is the path to the Arduino sketch file (.ino) that you want to compile or upload.

What is the 'port' parameter?

The 'port' parameter specifies the serial port to which your Arduino board is connected. This is necessary for uploading sketches.

Can I use this server with other IDEs besides VSCode?

Yes, as long as the IDE allows you to configure an external tool with a command and arguments, you can use this server.