UART MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_portsA | 列出所有可用串口设备,返回设备路径、描述信息和硬件ID |
| open_portB | 打开指定串口,支持自定义配置参数 |
| close_portB | 关闭指定串口连接 |
| set_configA | 修改已打开串口的配置(热更新,无需关闭重开) |
| get_statusA | 获取已打开串口的当前状态和配置信息 |
| send_dataB | 向已打开的串口发送数据,支持文本和二进制模式 |
| read_dataB | 从已打开的串口读取数据,支持文本和二进制模式 |
| create_sessionB | 在已打开串口上创建终端会话,支持配置换行符和本地回显 |
| close_sessionB | 关闭指定的终端会话 |
| send_commandC | 向终端发送命令,可选择是否自动添加换行符 |
| read_outputC | 读取终端输出缓冲区的内容 |
| list_sessionsA | 列出所有活动的终端会话 |
| get_session_infoB | 获取指定终端会话的详细信息 |
| clear_bufferA | 清空指定终端会话的输出缓冲区 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 14 tools
Each tool has a clearly distinct purpose, with no overlap. read_data vs read_output and send_command vs send_data are differentiated by their descriptions (serial port vs terminal buffer/command).
All tools follow a consistent verb_noun pattern with underscores, e.g., open_port, send_data, clear_buffer. No mixing of conventions.
14 tools is well-scoped for a UART server, covering port management, session handling, data transfer, and configuration without being excessive or insufficient.
The tool set covers the full lifecycle: opening/closing ports, creating/managing sessions, reading/writing data (text and binary), sending commands, clearing buffers, and retrieving status/info. No obvious gaps.