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.