Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/donnel666/uart-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server