SuperAPI AI Directory

xtell-serial

xtell-serial is a serial terminal tool with a graphical interface that allows AI assistants (such as Claude, Cursor, and other MCP clients) to read the same serial port logs and send commands via the MCP protocol. Users can view scrolling logs in a normal desktop window, while AI clients access the same port through the MCP server. It is currently an early v0.1 preview and supports Windows only. Main features include: baud rates up to 10 Mbaud, support for UTF-8, GBK, GB2312, and ASCII encodings, HEX view and send, timestamps, line numbers, real-time filtering (substring or regex) and highlighting, repeat send, send history, append-to-file saving, a 100,000-line buffer with a usage bar, Chinese and English interfaces, and multiple windows (the first window acts as the local hub). The MCP server xtell-serial-mcp provides 14 tools, covering listing ports, connecting, sending, auto-send, reading sent/received/filtered data, setting filters, saving files, clearing the buffer, and viewing buffer status. The GUI and MCP server communicate through a local TCP hub at 127.0.0.1:50016, listening only on localhost. The project is open source under the Apache License 2.0.

Open website

About this tool

xtell-serial is a serial terminal tool developed by Shenzhen XTELL Future Technology. Its core feature is adding an MCP server on top of a traditional graphical serial terminal, enabling AI assistants to directly drive the serial port.

Purpose: aimed at scenarios such as embedded development and hardware debugging. Users can watch serial logs scroll in a desktop window while letting Claude, Cursor, or other MCP clients read the same logs and send commands to the same port, enabling human-AI collaborative debugging.

Main capabilities:

  • Full serial terminal: baud rates up to 10 Mbaud, support for UTF-8, GBK, GB2312, and ASCII encodings, HEX view and send, timestamps, and line numbers.
  • Real-time filtering: filter by substring or regular expression, highlight matches, and provide a separate filtered view.
  • Auxiliary features: repeat send, send history, append-mode saving to file, a 100,000-line buffer, and a usage bar.
  • Chinese and English interfaces: switch via the language item in the menu bar; the choice is remembered, and the first run follows the Windows display language.
  • Multiple windows: multiple windows can be opened simultaneously and named individually, suitable for multi-board test benches; the first window acts as the local hub, and if it is closed, another window takes over.
  • MCP server xtell-serial-mcp: exposes 14 tools to AI clients, including listing ports, connecting, sending, auto-send, reading received/sent/filtered data (with an optional time range), setting filters, saving to file, clearing the buffer, and checking buffer status.

Usage:

  • Run from source or build the Windows executable, producing dist\xtell-serial.exe (GUI) and dist\xtell-serial-mcp.exe (MCP server).
  • Register xtell-serial-mcp.exe (not the GUI) as an MCP server. Clients such as Claude Code, Claude Desktop, and Cursor need to add the corresponding entry in their MCP configuration; see mcp_config.example.json for an example and docs/MCP_SETUP.md for the full tool reference (including a Chinese version).
  • After registration, you can give the assistant instructions such as: "Connect to COM3 at 115200, send AT+GMR, and tell me what version the module reports."

Communication and security: the GUI and MCP server communicate through the local TCP hub 127.0.0.1:50016; the port can be overridden with the environment variable XTELL_SERIAL_HUB_PORT. The hub only accepts connections from 127.0.0.1 and does not listen on public network interfaces.

Use cases: embedded software and hardware debugging, module AT command testing, parallel debugging of multiple boards, and situations requiring AI-assisted analysis of serial logs.

Limitations: currently an early v0.1 preview, supporting Windows only; AI assistants can send arbitrary bytes to devices on the port, so hardware that could be damaged by unexpected commands should not be connected. The project is licensed under the Apache License 2.0.