MCP ExplorerExplorer

Arduino Mcp Server

@dido18on 19 days ago
1 MIT
FreeCommunity
AI Systems
An arduino mcp server written in go

Overview

What is Arduino Mcp Server

arduino-mcp-server is a server application written in Go that facilitates communication between Arduino boards and development environments, enabling users to manage and upload sketches efficiently.

Use cases

Use cases include automating the upload of Arduino sketches in development workflows, managing multiple Arduino boards in a single environment, and integrating Arduino projects with other software tools.

How to use

To use arduino-mcp-server, clone the repository from GitHub, build the application using Go, and configure your development environment (like VSCode) to recognize the server by adding it to the settings.json or creating a mcp.json file.

Key features

Key features include the ability to list connected boards, compile sketches, and upload them to the Arduino board with specified parameters like fqbn and port.

Where to use

arduino-mcp-server can be used in various fields such as robotics, IoT projects, and educational environments where Arduino boards are utilized for prototyping and development.

Content

arduino-mcp-server

An arduino mcp server written in golang.

Installation

Vscode

  • git clone [email protected]: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)

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

Tools

No tools

Comments