# Smolmux MCP

> Smolmux MCP is an open-source MCP server for developer tools. Serial console and GDB multiplexer for embedded board bring-up, with MCP access for AI. It is available on Linux, CLI, API and Self-hosted.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** Linux, CLI, API, Self-hosted
- **Repository:** https://github.com/magnusmalm/smolmux
- **MCP Registry name:** io.github.magnusmalm/smolmux-mcp
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-18

## About

The README describes smolmux as a broker that holds a device connection open (a UART, a GDB stub, or a serial-over-TCP link) and lets several clients share it over Unix sockets using newline-delimited JSON. Because the broker keeps the port open, a monitor, a script and a flasher can all work with the same board without the connection dropping between them.

The MCP side is smolmux-mcp, which attaches to a running broker and exposes serial tools such as send, read, boot status and autoresponder rules to an AI client. The README also covers expect-style matching, boot stage tracking, anomaly detection with incident logs, and a broker-side key flood for interrupting U-Boot autoboot.

It is aimed at engineers doing daily serial and GDB bring-up on Linux. The README notes that the wire protocol is cleartext, that TCP and WebSocket sinks require a token, and that the I/O log can contain anything typed at a login prompt.

## Features

- **Shared device access:** Multiple clients can attach to one serial or GDB link, with observer, controller and takeover roles.
- **Expect and autoresponder:** Regex matching on the device output with timeouts, plus standing expect-to-send rules.
- **Boot stage tracking:** Ordered boot stages and stall events are reported to connected clients.
- **Output history:** A timestamped ring buffer lets late-joining clients replay recent device output.
- **Suspend for flashers:** The with-port command pauses the broker so an external flasher can use the port, then resumes it.
- **GDB debugging tools:** smolmux-gdb-mcp exposes 21 GDB tools, including breakpoints, registers and memory access, with board probing on ARM Cortex-M.

## Good for

- Watching a board's console while a script sends commands and waits for prompts
- Letting an AI agent drive a serial console during board bring-up
- Interrupting U-Boot autoboot on boards with bootdelay set to zero
- Probing an unknown ARM Cortex-M board over SWD through GDB
- Keeping a serial port open while a flasher tool writes firmware

## Tools

- `serial_send_command`: Sends a command to the serial console through the broker.
- `serial_read`: Reads recent output from the serial console.
- `serial_boot_status`: Reports the current boot stage.
- `serial_add_autoresponder`: Adds a standing expect-to-send rule.

## FAQ

### Which device links does Smolmux MCP support?

The README lists serial UART, GDB MI, and serial-over-TCP links, the last one via telnet and RFC2217.

### How do AI clients connect to Smolmux MCP?

smolmux-mcp connects to a running broker over its socket and exposes serial tools; smolmux-gdb-mcp does the same for a broker holding a GDB link.

### Is Smolmux MCP free?

The repository is MIT-licensed and the README says the full source is available to build yourself. A separate Pro download is sold for $79 one-time, which adds prebuilt static binaries and a profile pack.

### Is remote access secured?

The README says the TCP and WebSocket sinks bind to loopback by default and require a token, and recommends SSH tunnels or WireGuard for remote use.

### What are the best alternatives to Smolmux MCP?

The closest alternatives to Smolmux MCP are Smolmux Gdb MCP, CyanMycelium MCP Broker, Meshtastic MCP, XTELL Serial and droidprobe.

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.

## Alternatives

- [Smolmux Gdb MCP](https://ai-powered.com/mcp/smolmux-gdb-mcp): Smolmux Gdb MCP is an open-source MCP server for developer tools.
- [CyanMycelium MCP Broker](https://ai-powered.com/mcp/cyanmycelium-mcp-broker): CyanMycelium MCP Broker is an open-source MCP server for developer tools.
- [Meshtastic MCP](https://ai-powered.com/mcp/meshtastic-mcp): Meshtastic MCP is an open-source MCP server for developer tools.
- [XTELL Serial](https://ai-powered.com/mcp/xtell-serial): XTELL Serial is an open-source MCP server for developer tools.
- [droidprobe](https://ai-powered.com/mcp/droidprobe): droidprobe is an open-source MCP server for developer tools.
- [Mobai MCP](https://ai-powered.com/mcp/mobai-mcp): Mobai MCP is an open-source MCP server for developer tools.
- [MikroMCP](https://ai-powered.com/mcp/mikromcp): MikroMCP is an open-source MCP server for cloud and infrastructure.
- [Gearboy MCP Server](https://ai-powered.com/mcp/gearboy-mcp-server): Gearboy MCP Server is an open-source MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/smolmux-mcp
