mcp-iot-go
5
MCP for IOT is a Go-based Model Context Protocol server designed for enabling AI interactions with Arduino devices. It bridges AI models like Claude with IoT hardware, allowing seamless hardware automation through serial communication.
Overview
MCP for IOT is a Go implementation of the Model Context Protocol (MCP) server that allows AI models like Claude to directly interact with IoT devices, specifically Arduino boards. This server acts as a bridge between Claude and your Arduino hardware, enabling AI-controlled hardware automation.
Features
- List available serial ports
- Read data from Arduino's serial port
- Control digital pins (LEDs, relays, etc.)
- Control buzzers with on/off and duration settings
- Seamless integration with Claude AI
Prerequisites
- Go (version 1.24 or later)
- Arduino hardware with USB connection
- Claude Desktop App or compatible MCP client
Installation
- Clone the repository and install the binary using Go.
Arduino Setup
- Connect Arduino to your computer.
- Upload the provided Arduino firmware.
Configuration with MCP Client
Configure Claude Desktop and restart after adding MCP server details.