Serial MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Serial MCP Serverlist available serial ports"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Serial MCP Server
A Model Context Protocol (MCP) server for serial port communication, enabling LLMs to interact with hardware devices via serial connections.
Features
List available serial ports
Open/close serial port connections
Read and write data to serial ports
Control serial signals (DTR, RTS, CTS, DSR, DCD)
Support for custom baud rates, data bits, stop bits, and parity
JSON and Markdown output formats
Related MCP server: UART MCP Server
Installation
# Install from PyPI (when published)
pip install serial-mcp-newUsage
Running the Server
# Run with stdio transport (default, for local use)
serial-mcpConfig in Claude Code
"mcpServers": {
"ssh-mcp": {
"command": "C:\\Users\\DELL\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python311\\Scripts\\serial-mcp.exe",
"args": [],
"env": {}
}
},Available Tools
Tool | Description |
| List all available serial ports |
| Open a serial port connection |
| Close a serial port connection |
| Write data to a serial port |
| Read data from a serial port |
| Set control signal states |
| Read current signal states |
| List all active connections |
Example Workflow
List available ports:
serial_list_ports()Open a connection:
serial_open(port="COM3", baud_rate=115200)Write data:
serial_write(connection_id="conn_1", data="Hello, device!")Read response:
serial_read(connection_id="conn_1", timeout=2.0)Close when done:
serial_close(connection_id="conn_1")
Dependencies
Python 3.10+
mcp >= 1.6.1
pyserial >= 3.5
pydantic >= 2.0.0
License
MIT
Maintenance
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
- Flicense-quality-maintenanceEnables AI assistants to interact with physical serial port devices across platforms (Windows COM/Linux tty) with support for asynchronous communication, URC pattern recognition, and structured logging.Last updated1
- AlicenseAqualityCmaintenanceEnables AI assistants to communicate with serial port devices, supporting port management, data transmission in text/binary modes, interactive terminal sessions, and automatic reconnection.Last updated1411MIT
- AlicenseAqualityCmaintenanceAllows AI agents to interact with serial devices via RS232/UART, enabling port listing, connection, read/write, control line manipulation, and protocol specification for automated debugging and testing.Last updated2712MIT
- Alicense-qualityCmaintenanceEnables AI agents to communicate with UART/serial devices, offering tools for port management, data read/write, and protocol handling.Last updatedMIT
Related MCP Connectors
Gateway between LLM agents and world data through eight tools and a bundled endpoint catalog.
Give your agent live data from Twitter, Reddit, the web and GitHub. No API keys, no scraping stack.
Provides cloud browser automation capabilities using Stagehand and Browserbase, enabling LLMs to i…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/ifindv/serial-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server