MICROCONTROLLERS / HM-MC-084
HM-MC-084 · datasheet

esp32-agent

ESP32-S3 firmware that runs its own agent loop and serves an MCP endpoint on the board: devices it finds on I2C, 1-Wire and declared pins become MCP tools, shared by the on-board agent and any external agent

01 · What it does

  • Probe I2C, 1-Wire and declared pins at boot and turn each device that answers into tools
  • Add a new sensor at runtime by applying a JSON manifest that compiles into tools
  • Serve MCP at POST /mcp (Streamable HTTP) with a bearer token, plus an HTTPS web console
  • Run an on-board agent against any OpenAI-compatible or Anthropic endpoint, with memory, skills and scheduled prompts
  • Run a 57-command shell and a small scripting interpreter on the board

02 · Install

$ espflash write-bin --chip esp32s3 0x0 esp32-agent-v<version>.bin --port <PORT>
$ Join the esp32-agent-setup WiFi network, open http://192.168.4.1/ and enter your WiFi details
$ claude mcp add --transport http esp32-agent http://<board-ip>/mcp
  1. The README documents the endpoint with curl (POST http://<ip>:80/mcp); the claude mcp add line above is the standard HTTP form, not copied from the README
  2. Set auth.mcp_token and the portal PIN before the board leaves your desk; shell, script and manifest tools move pins
  3. Default target is an ESP32-S3 N16R8 (16 MiB flash, 8 MiB PSRAM). Flashed by the author on an ESP32-S3-DevKitC-1 on 2026-11-13 (42 tools); camera capture is not implemented
  4. A simulator runs the same agent core against a virtual board. Latest release v0.2.2 (Nov 15)

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.