A stateful MCP server for working with serial ports and RS232/UART devices over stdio. It lets MCP-compatible clients list ports, open connections, read/write data, toggle control lines like DTR/RTS, and optionally use protocol specs and plugins to automate device-specific workflows.
From the registry: Let AI agents interact with serial devices — list ports, connect, send, and read.

$ pip install serial-mcp-serverPlease install the `serial-mcp-server` MCP server into my current AI client (that's you).
Required prerequisites (do these first if not already done):
- **Python 3.11+** — Required runtime
- **pyserial** — Installed automatically with the package Run: `pip install serial-mcp-server`
Canonical MCP server config (stdio transport):
- command: `serial_mcp`
- args: []
- optional environment variables:
- `SERIAL_MCP_PLUGINS`: Plugin policy: 'all' or comma-separated plugin names. Disabled by default. (example: `all`)
- `SERIAL_MCP_MIRROR`: PTY mirror mode for macOS/Linux: 'off', 'ro', or 'rw' (example: `ro`)
Note: Serial port communication for AI agents. Stateful connections with RS232/UART. Protocol specs and plugins for device-specific high-level operations. PTY mirroring allows simultaneous terminal access.
Add this MCP server to my current client's config in the correct format for you. If you need secrets or credentials I haven't provided, ASK me — do not invent values or leave raw placeholders. After adding it, tell me how to verify the server is connected.Manage UniFi Protect cameras, events, recordings, and smart detections via MCP.