alroborol/mcp-uart
3.1
If you are the rightful owner of mcp-uart and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.
This is an MCP (Model Context Protocol) server designed for UART communication using the `pyautoport` library.
UART‑pyAutoPort‑MCP Server
This is an MCP (Model Context Protocol) server for UART communication using the pyautoport library.
Features
- Set UART port and baudrate via MCP tool
- Write commands to UART and read responses with timeout
- Easily integrate with automation workflows
Requirements
- Python 3.8+
pyautoportpackagemcp[cli]package
Installation
Install dependencies if necessary:
pip install pyautoport mcp[cli]
Usage
Connect in Zed
-
Download the script:
uart-pyautoport-mcp.py -
Install
uv:
uv installation guide -
Add MCP server in VS Code or Zed:
Use the following template in your configuration:
{
// The name of your MCP server
"uart-mcp-server": {
"command": {
// The path to the executable
"path": "uv",
// The arguments to pass to the executable
"args": ["run", "path/to/uart-pyautoport-mcp"],
// The environment variables to set for the executable
"env": {}
}
}
}
Reminder: Replace
"path/to/uart-pyautoport-mcp"in the configuration above with the actual path to youruart-pyautoport-mcp.pyscript.
Direct MCP Server
Run the server:
python uart-pyautoport-mcp.py
License
MIT