
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A FastMCP-based MCP server that lets agents communicate with devices over serial ports, with buffering, error handling and connection management.
Serial-MCP: an MCP server for serial port communication is cataloged as an MCP server attributed to padev1. A FastMCP-based MCP server that lets agents communicate with devices over serial ports, with buffering, error handling and connection management. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Serial-MCP: an MCP server for serial port communication are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
Yes. send_message accepts wait_for_response and response_timeout parameters; the response status can be received, no_response, not_checked or error.
Configuration can come from environment variables SERIAL_PORT, SERIAL_BAUD_RATE and SERIAL_BUFFER_LENGTH, or via the configure_serial tool after initialization.
README.md · c0d819b312f6 · 采集于 2026-11-13 10:35:53 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
MCP server allowing Agents to talk to devices connected to serial port of the computer. Tested only with MAC atm.
A robust serial communication server built with FastMCP framework, providing a reliable interface for serial port communication with features like message buffering, error handling, and connection management.
git clone https://github.com/PaDev1/Serial-MCP.git
cd Serial-MCP
pip install -r requirements.txt
Add the server after installing to your Claude Desktop or similar with the following structure
"serial_MCP": { "command": "uv", "args": [ "run", "--with", "fastmcp,pyserial", "fastmcp", "run", "/serial_MCP.py" ], "env": { "SERIAL_PORT": "", "SERIAL_BAUD_RATE": "9600", "SERIAL_BUFFER_LENGTH": "100" } }
Wait for a specified number of seconds.
Parameters:
delay (float): Number of seconds to wait (must be positive)Returns:
Example:
await delay({
"delay": 2.5 # Wait for 2.5 seconds
})
Initialize a serial connection with specified parameters.
Parameters:
port (str): Serial port device path (e.g., '/dev/tty.usbmodem1101')baudrate (int): Communication speed in bauds (default: 9600)buffer_length (int): Maximum number of messages to buffer (default: 100)Returns:
Send a message through the serial connection and optionally wait for a response.
Parameters:
message (str): Message to sendwait_for_response (bool): Whether to wait for a response after sending (default: False)response_timeout (float): Time in seconds to wait for a response (default: 0.5)Returns:
success (bool): Overall operation successstatus (str): Operation status ("success", "error", etc.)mode (str): Current connection mode ("real", "disconnected")write_status (str): Write operation status:
connection_state (str): Current connection state:
response_status (str): Response status:
response_messages (list): List of received messages (if any)bytes_written (int): Number of bytes successfully writtenerror_type (str): Type of error if operation failedmessage (str): Human-readable status messageerror_details (dict): Additional error information if applicableExample Send Without Response Check:
await send_message({
"message": "Hello",
"wait_for_response": False
})
# Returns:
{
"success": True,
"status": "success",
"mode": "real",
"write_status": "success",
"connection_state": "connected",
"response_status": "not_checked",
"response_messages": [],
"bytes_written": 6,
"message": "Message sent successfully in real mode"
}
Example Send With Response Check:
await send_message({
"message": "Hello",
"wait_for_response": True,
"response_timeout": 1.0
})
# Returns:
{
"success": True,
"status": "success",
"mode": "real",
"write_status": "success",
"connection_state": "connected",
"response_status": "received",
"response_messages": [
{
"timestamp": "2024-03-14T15:30:45.123456",
"message": "Hello received"
}
],
"bytes_written": 6,
"message": "Message sent successfully in real mode"
}
Example No Response Within Timeout:
await send_message({
"message": "Hello",
"wait_for_response": True,
"response_timeout": 0.5
})
# Returns:
{
"success": True,
"status": "success",
"mode": "real",
"write_status": "success",
"connection_state": "connected",
"response_status": "no_response",
"response_messages": [],
"bytes_written": 6,
"message": "Message sent successfully in real mode"
}
Read messages from the buffer.
Parameters:
wait (bool): Whether to wait for messages if buffer is empty (default: False)timeout (float): Time to wait for messages in seconds (default: 1.0)Returns:
List all available serial ports on the system.
Parameters: None
Returns:
Get the current status of the serial connection.
Parameters: None
Returns:
Configure the serial connection after initialization.
Parameters:
port (str, optional): New port to usebaudrate (int, optional): New baudrate to uselist_ports (bool): Whether to just list ports (default: False)Returns:
Close the current serial connection.
Parameters: None
Returns:
Get detailed instructions on how to use the Serial MCP server.
Parameters: None
Returns:
Example:
await help()
# Returns comprehensive help information about all available tools and their usage
The server can be configured using environment variables:
SERIAL_PORT: Serial port device path (default: '/dev/tty.usb*')SERIAL_BAUD_RATE: Communication speed in bauds (default: 9600)SERIAL_BUFFER_LENGTH: Maximum number of messages to buffer (default: 100)python serial_MCP.py
await init_serial({
"port": "/dev/tty.usbmodem1101",
"baudrate": 9600,
"buffer_length": 100
})
await send_message({
"message": "Hello, device!"
})
await read_message({
"wait": False, # Whether to wait for messages
"timeout": 1.0 # Timeout in seconds
})
await list_serial_ports()
await get_serial_status()
await configure_serial({
"port": "/dev/tty.usbmodem1101",
"baudrate": 9600,
"list_ports": False
})
await close_serial()
Messages in the buffer are stored with timestamps:
{
"timestamp": "2024-03-14T15:30:45.123456", # ISO format
"message": "Actual message content"
}
The server provides detailed error messages for various scenarios:
Logs are written to logs/serial_MCP.log with the following format:
[timestamp] - [level] - [message]
git checkout -b feature/amazing-feature)git commit -m 'Add some amazing feature')git push origin feature/amazing-feature)This project is licensed under the MIT License - see the LICENSE file for details.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Serial-MCP: an MCP server for serial port communication from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/serial-mcp)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.