MCP Arduino Server
JSON →An MCP server for the Arduino CLI, offering tools to manage sketches, boards, libraries, and files.
Install
pip install mcp-arduino-server Tools · 18
- create_new_sketch Creates a new Arduino sketch with the given name.
- list_sketches Lists all available Arduino sketches.
- read_file Reads the content of a file at the specified path.
- write_file Writes content to a file at the specified path, with optional board FQBN for auto-compilation.
- verify_code Verifies (compiles) an Arduino sketch for a given board FQBN.
- upload_sketch Uploads an Arduino sketch to a specified port and board FQBN.
- lib_search Searches for Arduino libraries by name with an optional limit.
- lib_install Installs an Arduino library by name.
- list_library_examples Lists examples for a given Arduino library.
- list_boards Lists all available Arduino boards.
- board_search Searches for Arduino boards by query.
- serial_monitor_start Starts a serial monitor session on a given port with specified baud rate and options.
- serial_monitor_read Reads a specified number of lines from a serial monitor session.
- serial_monitor_list Lists all active serial monitor sessions.
- serial_monitor_stop Stops a serial monitor session by ID.
- rename_file Renames a file from source to destination path.
- remove_file Removes a file at the specified path (destructive, sandboxed to home and sketch directories).
- generate_circuit_diagram_from_description Generates a WireViz circuit diagram from a natural language description using AI.
Environment variables
OPENAI_API_KEYOPENROUTER_API_KEY
Links
★ 10 GitHub stars