MICROCONTROLLERS / HM-MC-133
HM-MC-133 · datasheet
mcp-iot-gateway
Zero-dependency Go MCP server with an embedded MQTT broker that discovers ESP32 sensor and relay nodes, reads their telemetry and sends range-checked, acknowledged actuator commands, plus Arduino firmware for a real node
01 · What it does
- List devices that announced their sensors and actuators, with online state
- Read a sensor's latest value plus min, mean and max over the last N samples
- Set an actuator, checked against the range the device declared and confirmed by the device
- Run with simulated nodes (-sim N) to try it without hardware
02 · Install
$ git clone https://github.com/jafarSalim/mcp-iot-gateway.git
$ cd mcp-iot-gateway
$ go build -o bin/gateway ./cmd/gateway
$ claude mcp add iot -- /path/to/bin/gateway -sim 3- The recorded demo uses simulated nodes; firmware/esp32_node (DHT22, relay, LED) speaks the same protocol but is not compiled by the repo's tests, per the README
- Any MQTT broker works with -broker host:1883; the embedded broker is QoS 0 with no TLS or authentication, so keep it on a trusted network
03 · Client config (from README)
{
"mcpServers": {
"iot": { "command": "/path/to/mcp-iot-gateway/bin/gateway", "args": ["-sim", "3"] }
}
}
Install steps taken from the project README (its recommended path first). Placeholders are the maintainer's. Not bench-tested by HardwareMCP yet.
Weekly bulletin
New hardware MCP servers, notable releases and setup notes. One email, Mondays.