Skip to main content
Glama
daedalus
by daedalus

mcp-rs232

An MCP server that exposes RS232 serial port connectivity

PyPI Python Ruff

mcp-name: io.github.daedalus/mcp-rs232

Install

pip install mcp-rs232

Related 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 --help

API

Resources

  • serial://ports - Lists all available serial ports with their details

  • serial://port/{port_name} - Get details about a specific port

Tools

  • list_ports_tool() - Returns list of available serial ports

  • open_port(port, baud_rate, ...) - Opens a serial connection

  • close_port(port) - Closes a serial connection

  • read_port(port, size, timeout) - Reads data from port (hex encoded)

  • write_port(port, data) - Writes hex-encoded data to port

  • get_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/
Install Server
A
license - permissive license
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
1Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    -
    quality
    C
    maintenance
    MCP 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.
    Last updated
    MIT
  • A
    license
    -
    quality
    C
    maintenance
    A 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.
    Last updated
    1
    MIT
  • F
    license
    A
    quality
    D
    maintenance
    MCP server for serial port communication. Provides tools to open, read, write, and manage serial ports through the Model Context Protocol.
    Last updated
    10

View all related MCP servers

Related MCP Connectors

  • A basic MCP server to operate on the Postman API.

  • An MCP server giving access to Grafana dashboards, data and more.

  • An MCP server that let you interact with Cycloid.io Internal Development Portal and Platform

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/daedalus/mcp-rs232'

If you have feedback or need assistance with the MCP directory API, please join our Discord server