Back to Home
Panduza icon

serial-port

Verified Safe

by Panduza

Overview

Controls and monitors serial port-connected power supplies via MQTT or Model Context Protocol (MCP) interfaces, with an optional Terminal User Interface.

Installation

Run Command
cargo run --bin pza-serial-port run

Security Notes

The server primarily acts as a bridge to serial hardware, allowing raw byte/text transmission and reception via MQTT and MCP. This functionality inherently allows for direct manipulation of connected devices, which requires careful use by the client. The MCP server binds to a configurable host and port. By default, it's local (127.0.0.1:5002), which is secure. However, if configured to bind to a public IP (e.g., 0.0.0.0) with the permissive CORS layer enabled (as indicated by `CorsLayer::permissive()`), it could expose the serial port control to unauthorized network access. Input parsing (e.g., hex decoding, UTF-8 conversion) includes error handling, preventing crashes from malformed data. No hardcoded secrets or 'eval' are present.

Similar Servers

Stats

Interest Score30
Security Score7
Cost ClassLow
Stars1
Forks0
Last Update2025-12-02

Tags

Serial PortPower Supply ControlMQTTMCPTUIRustHardware Automation