MCP server that lets Claude Desktop drive a serial console: network craft ports, radios, rotators, microcontrollers. Background reader + read-until-prompt, like minicom/expect.
- ✓Open-source license (MIT)
- ✓Actively maintained (<30d)
- ✓Clear description
- ✓Documented (README)
claude mcp add serial-console-mcp -- uvx serial-console-mcp{
"mcpServers": {
"serial-console-mcp": {
"command": "uvx",
"args": ["serial-console-mcp"]
}
}
}MCP Servers overview
# serial-console-mcp
<!-- mcp-name: io.github.sbrunner-atx/serial-console-mcp -->
**AI for the configuration of telecommunication equipment, through the console port it already has.**
[](https://github.com/sbrunner-atx/serial-console-mcp/actions/workflows/build.yml)
[](https://pypi.org/project/serial-console-mcp/)
MIT licensed · Python 3.10+ · **status: 0.3.2, verified live on a Juniper EX2200 console**
serial-console-mcp connects an AI assistant such as Claude to the serial console
of the equipment that runs networks and radio stations, and of anything else
with a serial port:
- **Routers and switches.** Juniper (Junos) and Cisco (IOS, IOS-XE) console and
craft ports: log in, read state, change configuration with a safety net
(`commit confirmed` on Junos, `reload in` on IOS), and leave the console as it
was found.
- **Radio transceivers.** Icom and Xiegu over CI-V; Kenwood, Yaesu and Elecraft
over their text CAT protocols: identify the rig, read and set frequency and
mode.
- **Antenna rotators.** Yaesu GS-232 and the many controllers that speak it:
read the heading, turn, stop.
- **Anything else with a serial port.** Nothing is tied to telecom: the server
talks raw bytes, cleans up ANSI output, or keeps a full VT100/xterm screen, so
IoT gateways, alarm and access-control panels, UPS and PDU menus, lab
instruments, industrial controllers, Linux and BIOS consoles and
microcontrollers work too.
You say what you want in plain language. The assistant drives the console
through this server, Claude Desktop asks you to approve each step, and bundled
operating skills teach it the Junos and IOS basics: which mode a prompt means,
how to get in and out, which show commands answer everyday questions.
Juniper support is verified on a real EX2200 console. Cisco, CI-V, CAT and
rotator support follows the vendors' protocol references and has not yet met
hardware on this bench. The other device types use the generic tools rather than
device-specific helpers.
You do **not** need to know any programming. After it's installed you talk to Claude
normally:
> **You:** What serial ports do you see?
> **Claude:** I found two. One looks like a Silicon Labs CP210x on COM4 — that's
> probably your device.
>
> **You:** Connect to COM4 at 9600 baud.
> **Claude:** Connected.
>
> **You:** Log in and show me the version.
## How it works (the important part)
A serial console isn't a simple question-and-answer channel. It echoes what you
type, prints unsolicited messages on its own (logs, interface flaps), and can dump
pages of output. So the moment a port is open, a background reader keeps draining
it into a buffer. That means Claude can:
- **send** a command (writes only — doesn't guess when the reply is done), then
- **read until a prompt** appears (`# `, `> `, `login:` …) to capture the whole
reply — even a long one — without cutting it off, or
- **read whatever's waiting** for streaming/unsolicited output.
This is the same model `minicom` and `expect` use, which is why it handles
interactive CLIs properly.
### The tools
| Tool | What it does |
| --- | --- |
| `list_serial_ports` | Enumerate ports with description and USB hardware id; marks ones open here |
| `list_presets` | Usual settings per device family: Cisco/Juniper/Linux consoles, Kenwood/Elecraft/Yaesu CAT, Icom CI-V, rotators, Arduino, NMEA GPS |
| `connect` / `reconnect_last` / `disconnect` | Open a port by name. Defaults 9600 8N1, no flow control; baud, data bits, parity, stop bits, RTS/CTS, XON/XOFF, line ending and prompt are all settable, or loaded from a preset. Several ports at once |
| `send_keys` / `screen` | Press Ctrl-C, Esc, Tab, arrows, F-keys by name; view the VT100/xterm screen of a full-screen console (BIOS, BMC, menu switches, vi) |
| `send_text` / `send_hex` | Write an ASCII line (CR / LF / CRLF / none) or raw hex bytes. Write-only |
| `read_until_prompt` | Return buffered output up to a literal or regex prompt, leaving the rest; `auto_reply` pages through `--More--` |
| `read_available` | Return whatever has arrived, as text and hex |
| `query_text` | Clear, send, then read until the prompt or until the line goes idle |
| `expect` | A scripted list of send-and-wait steps in one call: logins, command sequences |
| `set_lines` / `pulse_line` / `send_break` | Drive DTR and RTS (PTT, Arduino reset), send BREAK |
| `capture_start` / `capture_stop` / `get_transcript` | Log a session to a file (raw or timestamped TX/RX); re-read the rolling transcript |
| `port_in_use_by` / `detect_baud` | Which program holds a port; which baud rate produces readable text |
| `cat_build` / `cat_parse` | Kenwood, Elecraft and Yaesu `;` commands: build a frequency set, decode ID, FA, MD, IF and error replies |
| `civ_build` / `civ_parse` / `civ_freq` | Icom CI-V frames: build, decode (echo vs reply, BCD frequency, mode, PTT), convert |
| `rotator_build` / `rotator_parse` | GS-232 rotator commands (read, move, stop, speed) and position replies |
| `clear_buffer` / `status` | Housekeeping; status shows every open port with control-line states |
Ports are opened by name ("rig", "rotator"); tools default to the most recently
used one. Each connection has a terminal mode: `dumb` (raw bytes, the default),
`ansi` (colours and escape sequences stripped, CR/backspace overwrites applied,
prompts matched on the line as displayed even after a device redraws it with
spaces and backspaces; used by the console presets), or `xterm`/`vt100` (a real screen you can read
with `screen`; needs `pip install 'serial-console-mcp[screen]'`, included in
the installers). The receive buffer is capped at 4 MB per port; if a device streams for
hours unread, the oldest bytes are dropped and `status` says how many.
### Operating skills
Three skill files in `skills/` teach an agent the discipline, the way the
fldigi-mcp skills do; copy them into `~/.claude/skills/` or a project's
`.claude/skills/`:
| Skill | What it teaches |
| --- | --- |
| `serial-console` | The console model, the six rules, terminal modes, keys, presets |
| `junos-operating` | Junos modes from the prompt (`%` shell, `>` operational, `#` configure), out of the BSD shell and back, `configure exclusive`, `show \| compare`, `commit confirmed`, `rollback`, `cli -c` and `start shell`, health and interface show commands verified on an EX2200 (`show chassis routing-engine`, `show interfaces terse`/`brief`) |
| `ios-operating` | IOS modes (`>`, `#`, `(config)#`), `enable`/`configure terminal`/`end`, `reload in 10` as the safety net, `write memory`, everyday show commands (`show ip interface brief`, `show processes cpu sorted`) |
### Environment variables
| Variable | Effect |
| --- | --- |
| `SERIAL_CONSOLE_READ_ONLY=1` | Refuse writes except read-style commands (`show`, `ID;`, CI-V reads) and refuse control-line changes |
| `SERIAL_CONSOLE_ALLOW=<regex>` | Override the read-only allowlist |
| `SERIAL_CONSOLE_IDLE_MINUTES=15` | Auto-close a port idle that long (default: never) |
Set them in the server's entry in `claude_desktop_config.json` under `"env"`.
## Installing
1. Download the installer for your computer from the
[Releases page](https://github.com/sbrunner-atx/serial-console-mcp/releases)
(the `.exe` on Windows, or the `.pkg` on a Mac) and click through it like any
normal program. It sets everything up for you. The installers are unsigned for
now, so expect a Gatekeeper / SmartScreen warning.
2. **Completely quit Claude Desktop** — not just closing the window. On Windows,
right-click the Claude icon near the clock and choose Quit. On a Mac, press
⌘Q or choose **Claude → Quit**.
3. Open Claude Desktop again.
4. In a new chat, type: **"What serial ports do you see?"** If Claude lists your
ports, you're done.
That's the whole thing. There's no separate program to keep open and nothing to
configure by hand.
## Installing from PyPI
If you already have Python 3.10+ and [uv](https://docs.astral.sh/uv/) or pipx,
you don't need the installer:
```bash
uvx serial-console-mcp --version # fetches and runs it
uvx serial-console-mcp configure --command uvx --arg serial-console-mcp
```
or
```bash
pipx install serial-console-mcp
serial-console-mcp configure --command "$(which serial-console-mcp)"
```
`configure` writes a `serial-console` entry into `claude_desktop_config.json`
(merging with whatever is already there and backing the old file up first).
Quit and reopen Claude Desktop. `serial-console-mcp configure --remove` undoes
it. Any other MCP client can launch the same command over stdio.
## Installing from source (developers)
```bash
git clone https://github.com/sbrunner-atx/serial-console-mcp.git
cd serial-console-mcp
uv sync # or: python3 -m venv .venv && . .venv/bin/activate && pip install -e . pytest
uv run pytest # fake serial port, no hardware needed
uv run serial-console-mcp configure --command "$PWD/.venv/bin/serial-console-mcp"
```
The package lives in `src/serial_console_mcp/`: `server.py` is the MCP server,
`configure.py` the Claude Desktop registrar. See [BUILD.md](BUILD.md) for the
installers.
## Using it
Plain-English requests work. Some examples:
- "List my serial ports."
- "Connect to the console on /dev/cu.usbserial-10 at 9600 baud."
- "Connect to /dev/cu.BLTH at 38400, 8 data bits, no parity, 1 stop bit, XON/XOFF flow control."
- "Connect to the Kenwood with the kenwood-cat preset and call it rig; connect the rotator on the other port."
- "Log in as admin and run show version" (one `expect` call: return, login, password, command).
- "What baud rate is this thing?" (`detect_baud`).
- "Key the rig for two seconds" (`pulse_line("RTS", 2000)`, after you confirm).
- "Ask the IC-7300 for its What people ask about serial-console-mcp
What is sbrunner-atx/serial-console-mcp?
+
sbrunner-atx/serial-console-mcp is mcp servers for the Claude AI ecosystem. MCP server that lets Claude Desktop drive a serial console: network craft ports, radios, rotators, microcontrollers. Background reader + read-until-prompt, like minicom/expect. It has 0 GitHub stars and its last recorded update is dated 2026-09-15.
How do I install serial-console-mcp?
+
You can install serial-console-mcp by cloning the repository (https://github.com/sbrunner-atx/serial-console-mcp) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is sbrunner-atx/serial-console-mcp safe to use?
+
Our security agent has analyzed sbrunner-atx/serial-console-mcp and assigned a Trust Score of 87/100 (tier: Trusted). See the full breakdown of passed checks and flags on this page.
Who maintains sbrunner-atx/serial-console-mcp?
+
sbrunner-atx/serial-console-mcp is maintained by sbrunner-atx. The last recorded GitHub activity is dated 2026-09-15, with 0 open issues.
Are there alternatives to serial-console-mcp?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy serial-console-mcp to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/sbrunner-atx-serial-console-mcp)<a href="https://claudewave.com/repo/sbrunner-atx-serial-console-mcp"><img src="https://claudewave.com/api/badge/sbrunner-atx-serial-console-mcp" alt="Featured on ClaudeWave: sbrunner-atx/serial-console-mcp" width="320" height="64" /></a>More MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ
The fastest path to AI-powered full stack observability, even for lean teams.