mcp-rs232
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-rs232 List available serial ports"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-rs232
An MCP server that exposes RS232 serial port connectivity
mcp-name: io.github.daedalus/mcp-rs232
Install
pip install mcp-rs232Related MCP server: embedded-serial-mcp
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 --helpAPI
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/Available Tools
6 toolsclose_portB
Close an open serial port connection.
Inputs: port (required). Returns: result
get_port_configB
Get the current configuration of an open serial port.
Inputs: port (required). Returns: object
list_ports_toolA
Tool to list all available serial ports.
Returns: List of available serial ports with their details.
Inputs: no named parameters. Returns: result
open_portC
Open a serial port connection.
Inputs: port (required), baud_rate, parity, stop_bits, +2 more. Returns: result
read_portC
Read data from an open serial port.
Inputs: port (required), size, timeout. Returns: result
write_portB
Write data to an open serial port.
Inputs: port (required), data (required). Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Each tool has a distinct purpose: listing, opening, closing, configuring, reading, and writing serial ports. There is no overlap or ambiguity between them.
All tools follow a consistent verb_noun pattern in snake_case (e.g., close_port, get_port_config). The naming is predictable and clear.
Six tools cover the essential operations for serial port management without being excessive. The count is well-scoped for the domain.
Core lifecycle operations are present (list, open, close, read, write, get config). A minor gap is the lack of a set_config tool for modifying port settings, but agents can work around this.
Maintenance
Related MCP Connectors
An MCP server that provides read access to your cloud storage providers, bank accounts and more.
MCP server with quote and live cryptocurrency price tools, local and cloud-deployed transports.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceMCP server that exposes RS485 bus connectivity, enabling AI assistants to read and write serial data to RS485 devices through tools like list_ports, connect_rs485, and read_rs485.73 PyPIMIT
- AlicenseNot gradedqualityDmaintenanceA professional MCP server for serial port communication, enabling AI assistants to list, connect, send/receive data, and manage serial connections with embedded systems, IoT devices, and hardware debugging hardware.2MIT
- AlicenseNot gradedqualityBmaintenanceMCP server for serial ports — non-blocking reads, DTR/RTS, streaming subscriptions, port allowlist.20MIT
- FlicenseAqualityDmaintenanceMCP server for serial port communication. Provides tools to open, read, write, and manage serial ports through the Model Context Protocol.1040 PyPI-