Skip to main content
Glama
zhang-firmware

UART MCP Server

UART MCP Server

Windows-only Python MVP for reading UART logs from Codex through MCP while also showing the same serial stream in a small Tkinter UI.

Features

  • Enumerate available Windows COM ports.

  • Open and close one serial port.

  • Select common baud rates or enter a custom baud rate.

  • Show recent UART logs in a Tkinter window.

  • Let Codex read recent logs through MCP.

  • Clear logs.

  • Send text to the UART, optionally appending CRLF.

Related MCP server: silotek-serial-mcp

Setup

python -m venv .venv
.\.venv\Scripts\Activate.ps1
pip install -r requirements-dev.txt
pip install -e .

Run UI

python -m uart_mcp_server.app --ui

UI supports:

  • Resizable receive and send panes.

  • Receive display as ASCII or HEX.

  • Multi-line one-shot send as ASCII or space-separated HEX.

  • Independent loop send area with format, interval, and repeat count.

  • Loop count 0 means send forever until Stop is clicked.

HEX send format uses space-separated bytes:

01 03 00 00 00 02

Run MCP Server

python -m uart_mcp_server.app --mcp

Codex MCP Example

Add this to your Codex config.toml, adjusting the path to this repository:

[mcp_servers.uart]
command = "python"
args = ["-m", "uart_mcp_server.app", "--mcp"]
cwd = "D:\\UART MCP"
startup_timeout_sec = 10
tool_timeout_sec = 30

Notes

The MVP opens one serial port at a time. Windows usually does not allow two processes to open the same COM port simultaneously.

F
license - not found
-
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    A
    maintenance
    MCP server that lets LLMs talk to serial devices: microcontrollers, routers, modems, embedded Linux, anything with a UART.
    Last updated
    23
    4
    MIT
  • F
    license
    A
    quality
    B
    maintenance
    A headless MCP server that enables AI tools (like Claude Code) to read and analyze serial logs from embedded boards (ESP32, STM32) for firmware debugging, with read-only tools for log retrieval and a built-in web viewer.
    Last updated
    6
  • A
    license
    -
    quality
    D
    maintenance
    Serial communication and protocol analysis MCP server that gives AI coding assistants direct access to serial ports for reading, writing, decoding, and capturing embedded device output.
    Last updated
    MIT

View all related MCP servers

Related MCP Connectors

  • MCP server wrapping the Tesla Fleet API and TeslaMate API

  • Telegram bridge for your MCP-compatible agent. Bidirectional, no LLM in our stack.

  • Local-first RAG engine with MCP server for AI agent integration.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/zhang-firmware/UART-MCP-Server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server