
Serial Console MCP: AI for telecom equipment and any serial device
io.github.sbrunner-atx由 GitHub 帳號 sbrunner-atx 發布v0.3.2更新於 Oct 24, 2026
Let AI configure telecom gear over serial: Juniper and Cisco, Icom CI-V, Yaesu/Kenwood CAT, rotators
概覽
本機 MCP 伺服器,讓 AI 助理透過序列埠主控台操作網路設備、無線電、旋轉器及其他序列埠裝置。
- 可以做什麼
- 列出序列埠與預設設定,連線、重新連線或中斷埠,查看狀態及佔用埠的程式,可同時開啟多個埠並自動偵測鮑率。傳送文字、十六進位位元組或具名按鍵,讀取到提示字元或讀取目前緩衝內容,執行腳本化的傳送等待序列,檢視 VT100/xterm 畫面。控制 DTR、RTS 控制線,送出 BREAK,錄製或重讀工作階段記錄。建構與解析 Kenwood、Elecraft、Yaesu 的 CAT 指令、Icom CI-V 訊框和 GS-232 旋轉器指令。
- 適用情境
- 適合讓助理登入路由器或交換器主控台、讀取狀態或修改設定,控制無線電收發機或天線旋轉器,或與任何可透過序列埠存取的裝置互動,而不必手動輸入指令。
- 執行需求
- 以本機程序在桌面執行(stdio),僅限桌面,不是網頁端點。可安裝桌面擴充檔案,或使用 Python 3.10+ 搭配 uv 或 pipx 從 PyPI 安裝。需要序列埠裝置與線材;全螢幕終端模式需要額外的 screen 相依套件。選用環境變數 SERIAL_CONSOLE_READ_ONLY、SERIAL_CONSOLE_ALLOW 和 SERIAL_CONSOLE_IDLE_MINUTES。未宣告身分驗證。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Serial Console MCP: AI for telecom equipment and any serial device,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
serial-console-mcp
AI for the configuration of telecommunication equipment, through the console port it already has.
[build] [PyPI] 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 confirmedon Junos,reload inon 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
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 desktop extension). 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/:
Environment variables
Set them in the server's entry in claude_desktop_config.json under "env".
Installing
- Download
serial-console-mcp.mcpbfrom the Releases page. The same file works on Mac, Windows and Linux. - In Claude Desktop, go to Settings → Extensions → Advanced settings → Install Extension… and choose the file. A short settings form offers read-only mode and an idle timeout; both are off unless you turn them on.
- In a new chat, type: "What serial ports do you see?" If Claude lists your ports, you're done.
No terminal, no Python, nothing to configure by hand.
Upgrading from the 0.3.x .pkg or .exe installer? Remove the old copy
first, or Claude Desktop starts two servers. On a Mac:
On Windows, uninstall Serial Console MCP under Settings → Apps. Then quit and reopen Claude Desktop.
Installing from PyPI
If you already have Python 3.10+ and uv or pipx, you can skip the extension:
or
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)
The package lives in src/serial_console_mcp/: server.py is the MCP server,
configure.py the Claude Desktop registrar. manifest.json describes the
desktop extension; npx @anthropic-ai/mcpb pack builds it. BUILD.md
covers the retired .pkg and .exe 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
expectcall: 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 frequency" (
civ_build,send_hex,read_available,civ_parse). - "What is the TS-590 tuned to?" (
query_text("FA;"),cat_parse). - "Turn the rotator to 45 degrees and confirm" (
rotator_build,query_text,rotator_parse). - "Record this console session to a file."
- "Hit Ctrl-C, that ping is still running." (
send_keys) - "Open the BIOS console at 115200 and show me the screen; go down two and press Enter." (
screen-consolepreset,screen,send_keys) - "Reconnect to the same port as last time." (it remembers)
- "Send a return, then read until the login prompt."
- "Log in as admin and run
show interfaces terse, then show me all of it." - "Just read whatever the device is printing right now."
- "Disconnect when you're done."
For a router/switch console, tell Claude the prompt it should wait for (often #
for enable mode or > for user mode) and it will read until it sees it. For an
Icom radio (CI-V), tell Claude — it can send the hex commands those radios expect.
If something doesn't work
"No serial ports found."
- Is the device turned on?
- Is the USB cable a real data cable, not a charge-only one? (A very common gotcha.)
- On Windows, open Device Manager and look under Ports (COM & LPT). If nothing's there, Windows needs the cable's driver (often FTDI, CP210x, or CH340).
"Could not open the port" / "access denied."
- A serial port can only be used by one program at a time. Close anything else that might be holding it: a terminal (PuTTY/minicom/screen), WSJT-X, your contest logger, the device's own software.
Claude says it can't access serial ports at all.
- Make sure you fully quit and reopened Claude Desktop after installing.
- Start a brand-new chat and ask "What serial ports do you see?" again.
It connected but a command gets no reply.
- Almost always the baud rate is wrong, or the line ending is wrong for your gear. Most Unix-style consoles want a plain newline (LF); most rigs want a carriage return (CR). Ask Claude to send a return first to draw a fresh prompt.
A word on safety
These tools send exactly what you (through Claude) ask them to send, to whatever device is on the cable. Claude Desktop asks you to approve each tool call, so you see every command before it runs. Read it. A console session on a router or a rig can reconfigure, reboot, or transmit, and this server does not try to guess which commands are dangerous. If something looks wrong, decline it, and keep a real terminal handy for anything you would not want an assistant to type.
License
MIT. See LICENSE.
73!
來源:README.md,提交 22c791b
工具
0版本歷史
1- v0.3.2最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分