Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Tools

Functions exposed to the LLM to take actions

NameDescription
list_ports

列出所有可用串口设备,返回设备路径、描述信息和硬件ID

open_port

打开指定串口,支持自定义配置参数

close_port

关闭指定串口连接

set_config

修改已打开串口的配置(热更新,无需关闭重开)

get_status

获取已打开串口的当前状态和配置信息

send_data

向已打开的串口发送数据,支持文本和二进制模式

read_data

从已打开的串口读取数据,支持文本和二进制模式

create_session

在已打开串口上创建终端会话,支持配置换行符和本地回显

close_session

关闭指定的终端会话

send_command

向终端发送命令,可选择是否自动添加换行符

read_output

读取终端输出缓冲区的内容

list_sessions

列出所有活动的终端会话

get_session_info

获取指定终端会话的详细信息

clear_buffer

清空指定终端会话的输出缓冲区

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