EMBEDDED DEV TOOLS / HM-DT-131
HM-DT-131 · datasheet

serial-hub-mcp

MCP server that is also a serial hub: byte-transparent I/O on local UARTs and remote serial endpoints (an ESP32-S3 wireless bridge or a Linux serial-hub-server), with durable host-side logs and a browser terminal

01 · What it does

  • List local ports plus every configured remote and open or close connections
  • Read and write raw bytes, or write and wait for a matching response
  • Capture a window until a match, idle time or byte budget
  • Drive DTR/RTS (with pulses for reset sequences) and send BREAK
  • Query, export and clear host logs, and save connection profiles

02 · Install

$ git clone https://github.com/yhuan416/serial-hub-mcp.git
$ cd serial-hub-mcp
$ npm ci
$ node src/server.js
  1. Not on npm yet; install from source. --http serves MCP plus a web UI on 127.0.0.1:8787, and non-loopback binds require a Bearer token
  2. No framing or prompt parsing: the agent sees exactly what the device sent, with raw hex kept as the source of truth
  3. Chinese README also available. Latest release v0.3.4 (Nov 24)

03 · Client config (from README)

{
  "mcpServers": {
    "serial": {
      "command": "node",
      "args": ["/absolute/path/to/serial-hub-mcp/src/server.js"]
    }
  }
}

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.