io.github.daedalus/mcp-rs232
An MCP server that exposes RS232 serial port connectivity
What can you do with io.github.daedalus/mcp-rs232?
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
Install
Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).
mcp-rs232claude mcp add mcp-rs232 -- uvx mcp-rs232==0.1.0
{
"mcpServers": {
"mcp-rs232": {
"command": "uvx",
"args": [
"mcp-rs232==0.1.0"
]
}
}
}
Documentation
From the project's README on GitHub, refreshed weekly. Links open on GitHub.
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/
Frequently asked questions
What is io.github.daedalus/mcp-rs232?
An MCP server that exposes RS232 serial port connectivity
How do I install io.github.daedalus/mcp-rs232?
It runs on your machine. In Claude Code: claude mcp add mcp-rs232 -- uvx mcp-rs232==0.1.0. For other clients, paste the JSON configuration from this page into their MCP settings.
Does io.github.daedalus/mcp-rs232 need an API key?
Its registry entry lists no required key or secret. Some features may still need an account with the service it connects to.
Is io.github.daedalus/mcp-rs232 open source?
Yes. Its code is on GitHub under the MIT license.
Who maintains io.github.daedalus/mcp-rs232?
It is published by daedalus. AI.tn lists it but does not maintain or endorse it.
From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.