MCP Rs485 logo

MCP Rs485

Connects MCP clients to RS485 serial devices for port discovery, connection management, and hex data transfer.

Install MCP Rs485

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "mcp-rs485": {
      "command": "uvx",
      "args": [
        "mcp-rs485"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

uvx mcp-rs485

Process exited before answering initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked Today.

Overview

mcp-rs485 MCP server exposes RS485 serial bus access through MCP tools for discovering ports, opening connections, checking status, and transferring data. It uses serial connection settings such as port, baud rate, parity, stop bits, byte size, and read timeout. Use it when an AI assistant needs to communicate with an RS485 device, including devices that exchange protocol frames as hexadecimal data. The package runs as an installable command and can be added to an MCP client configuration.

Use cases

  • Discover available RS485 serial ports
  • Open and configure an RS485 device connection
  • Send hexadecimal serial frames
  • Read hexadecimal responses from a device
  • Check connection state and statistics

Key features

  • Serial-port discovery
  • Configurable RS485 connection parameters
  • Hexadecimal data reading and writing
  • Connection lifecycle management
  • Connection status and statistics

Tools6

What MCP Rs485 lets your agent do. Expand a tool for its parameters.

Self-reported~76 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 1d ago

Recent health check succeeded.

4/4 checks healthy over the last 37d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 1d ago via OSV.dev · mcp-rs485 (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

Last commit6mo agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Tools exposed6Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How MCP Rs485 works

What mcp-rs485 does

The mcp-rs485 MCP server gives an MCP-compatible assistant access to RS485 serial communication. It can enumerate serial ports, open and close device connections, inspect connection status, read incoming bytes, and send outgoing bytes. Connections are represented by IDs returned when a device is opened.

Data transfer uses hexadecimal strings. For example, a request can send a frame such as 01 03 00 00 00 0A, and a read operation returns received data as a hexadecimal string. This makes the server suitable for direct serial exchanges where the assistant needs to construct or inspect device messages.

How it works

The mcp-rs485 MCP server exposes its operations as MCP tools rather than requiring the client to call Python functions directly. A typical interaction starts with list_ports to identify available serial devices. The client then calls connect_rs485 with a port path and serial parameters, receives a connection ID, and uses that ID for reading, writing, status checks, and disconnection.

connect_rs485 accepts a port such as /dev/ttyUSB0. Its configurable communication parameters include a default baud rate of 9600, parity set to none by default, one stop bit, eight data bits, and a one-second read timeout. read_rs485 accepts a maximum byte length, while write_rs485 reports the number of bytes written.

Setup and configuration

Install the package with pip:

Terminal
pip install mcp-rs485

Register it in an MCP client by launching the mcp-rs485 command. The supplied configuration uses the server name mcp-rs485, the command mcp-rs485, and an empty environment-variable map:

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

The repository also documents an editable installation for development, followed by pytest, Ruff formatting and linting, and mypy checks.

Tools and capabilities

  • list_ports: returns available serial ports with port, description, and hardware-ID fields.
  • connect_rs485: opens a connection using the selected serial settings and returns a connection ID.
  • disconnect_rs485: closes an existing RS485 connection.
  • read_rs485: reads up to the requested number of bytes and returns hexadecimal data.
  • write_rs485: sends hexadecimal data and returns the byte count.
  • get_connection_status: returns connection state and statistics.

Limitations and notes

Modbus RTU is shown as an example of a message format, not as a separately documented tool or integration.

The connection must be opened before read, write, status, or disconnect operations can use its connection ID. Port paths, serial settings, and message framing must match the attached RS485 device. The documentation does not specify client-specific setup beyond the generic MCP command configuration.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about MCP Rs485

mcp-rs485 is an MCP server that connects AI assistants to RS485 serial devices through MCP tools. It can list available ports, open and close connections, read hexadecimal data, write hexadecimal frames, and report connection status. Connection settings include baud rate, parity, stop bits, byte size, and read timeout.

Install it with pip using `pip install mcp-rs485`. After installation, configure the MCP client to launch the `mcp-rs485` command. The supplied example uses an empty environment-variable configuration.

Call `connect_rs485` with the serial port path and communication settings. The tool returns a connection ID, which you then pass to read, write, status, and disconnect operations. The documented example uses `/dev/ttyUSB0` at 9600 baud.

It uses hexadecimal strings for serial data. `write_rs485` accepts a value such as `01 03 00 00 00 0A`, while `read_rs485` returns received data as a hexadecimal string.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMCP Rs485 AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mcp-rs485?style=directory)](https://allmcps.com/mcp/mcp-rs485)
HTML Embed
<a href="https://allmcps.com/mcp/mcp-rs485"><img src="https://allmcps.com/api/badge/mcp-rs485?style=directory" alt="MCP Rs485 on AllMCPs" /></a>