1. Conduid
  2. Commerce
  3. io.github.daedalus/mcp-rs485
MCP server · Commerce

io.github.daedalus/mcp-rs485

MCP server that exposes RS485 bus connectivity for reading and writing serial data

Unclaimed commerce
37Low

Scored 6 months ago · breakdown

About io.github.daedalus/mcp-rs485

io.github.daedalus/mcp-rs485 is an MCP server in the Commerce category: mCP server that exposes RS485 bus connectivity for reading and writing serial data.

Install

uvx
uvx mcp-rs485
pip
pip install mcp-rs485

This 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.

Tools (6)

connect_rs485Opens a connection to an RS485 device

Parameters not published.

disconnect_rs485Closes an RS485 connection

Parameters not published.

get_connection_statusGets the status of an RS485 connection

Parameters not published.

list_portsLists all available serial ports on the system

Parameters not published.

read_rs485Reads data from an open RS485 connection

Parameters not published.

write_rs485Writes data to an RS485 connection

Parameters not published.

Ask AI

✦

Ask AI about io.github.daedalus/mcp-rs485

Powered by Claude · Grounded in docs

I know everything about io.github.daedalus/mcp-rs485. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

mcp-rs485

MCP server that exposes RS485 bus connectivity for reading and writing serial data.

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

PyPI Python Ruff

Install

pip install mcp-rs485

Configuration

{
  "mcpServers": {
    "mcp-rs485": {
      "command": "mcp-rs485",
      "env": {},
      "name": "io.github.daedalus/mcp-rs485"
    }
  }
}

Usage

This MCP server exposes RS485 serial bus connectivity through the Model Context Protocol. It allows AI assistants to interact with RS485 devices.

Tools

  • list_ports: Lists all available serial ports on the system
  • connect_rs485: Opens a connection to an RS485 device
  • disconnect_rs485: Closes an RS485 connection
  • read_rs485: Reads data from an open RS485 connection
  • write_rs485: Writes data to an RS485 connection
  • get_connection_status: Gets the status of an RS485 connection

Example

from mcp_rs485.server import connect_rs485, write_rs485, read_rs485

# Connect to a device
conn_id = connect_rs485("/dev/ttyUSB0", baudrate=9600)

# Write data (Modbus RTU example)
write_rs485(conn_id, "01 03 00 00 00 0A")

# Read response
response = read_rs485(conn_id)

# Cleanup
disconnect_rs485(conn_id)

Development

git clone https://github.com/daedalus/mcp-rs485.git
cd mcp-rs485
pip install -e ".[test]"

# run tests
pytest

# format
ruff format src/ tests/

# lint
ruff check src/ tests/

# type check
mypy src/

API

list_ports()

Lists all available serial ports.

Returns: List of port dictionaries with port, description, and hwid.

connect_rs485(port, baudrate=9600, parity="N", stopbits=1, bytesize=8, timeout=1.0)

Opens a connection to an RS485 device.

Parameters:

  • port: Serial port path (e.g., "/dev/ttyUSB0")
  • baudrate: Communication speed (default: 9600)
  • parity: "N" (none), "E" (even), "O" (odd)
  • stopbits: Number of stop bits
  • bytesize: Data bits per frame
  • timeout: Read timeout in seconds

Returns: Connection ID string.

read_rs485(connection_id, length=1024)

Reads data from an open RS485 connection.

Parameters:

  • connection_id: Connection ID from connect_rs485
  • length: Maximum bytes to read

Returns: Hex string of received data.

write_rs485(connection_id, data)

Writes data to an RS485 connection.

Parameters:

  • connection_id: Connection ID from connect_rs485
  • data: Hex string (e.g., "01 03 00 00 00 0A")

Returns: Number of bytes written.

get_connection_status(connection_id)

Gets connection status and statistics.

Returns: Dictionary with connection state and statistics.

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About io.github.daedalus/mcp-rs485

How do I install io.github.daedalus/mcp-rs485?

Run uvx mcp-rs485, then add the server to your MCP client's configuration.

Is io.github.daedalus/mcp-rs485 safe to use with an AI agent?

Its trust score is 37 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is io.github.daedalus/mcp-rs485 still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.