About io.github.daedalus/mcp-rs232
io.github.daedalus/mcp-rs232 is an MCP server in the Commerce category: an MCP server that exposes RS232 serial port connectivity.
Install
uvx mcp-rs232pip install mcp-rs232This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about io.github.daedalus/mcp-rs232
Powered by Claude · Grounded in docs
Security checks
- ✓README presentThe repository ships documentation.
5 checks have not been run yet.
README
mcp-rs232
An MCP server that exposes RS232 serial port connectivity
mcp-name: io.github.daedalus/mcp-rs232
Install
pip install mcp-rs232
Usage
from mcp_rs232 import list_ports, open_port, close_port, read_port, write_port
# List available ports
ports = list_ports()
print(ports)
# Open a port
open_port("COM1", baud_rate=9600)
# Write data (hex encoded)
write_port("COM1", "48656c6c6f") # "Hello"
# Read data (returns hex encoded)
data = read_port("COM1")
# Close the port
close_port("COM1")
CLI
mcp-rs232 --help
API
Resources
serial://ports- Lists all available serial ports with their detailsserial://port/{port_name}- Get details about a specific port
Tools
list_ports_tool()- Returns list of available serial portsopen_port(port, baud_rate, ...)- Opens a serial connectionclose_port(port)- Closes a serial connectionread_port(port, size, timeout)- Reads data from port (hex encoded)write_port(port, data)- Writes hex-encoded data to portget_port_config(port)- Returns current port configuration
Development
git clone https://github.com/daedalus/mcp-rs232.git
cd mcp-rs232
pip install -e ".[test]"
# run tests
pytest
# format
ruff format src/ tests/
# lint
ruff check src/ tests/
# type check
mypy src/
README copy captured when this server was indexed; it may lag the repository. The original is authoritative.