Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_LOG_LEVELNoLog level. error / warn / info / debug. Logs go to stderr.info

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

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
connect_edgeA

通过 CDP(Chrome DevTools Protocol) 连接本机已用 --remote-debugging-port 启动的 Microsoft Edge。这是所有其它 Tool 的前置步骤(其它 Tool 在未连接时也会自动尝试连接)。返回浏览器版本、CDP 端点以及当前所有标签页的 URL/标题,便于确认"接管"的是正确的窗口。本 Server 不会启动新浏览器、不会关闭用户的浏览器窗口,也不读取或保存任何账号凭据。

take_screenshotA

截取 Edge 当前激活标签页的屏幕截图,以 Base64 PNG 返回(MCP image content)。用途:确认页面当前状态、识别滑动验证码/图形验证码、核对表单是否填写正确、排查操作失败原因。建议在每次关键操作后调用一次,作为"视觉反馈"闭环。为避免报文过大,整页截图超过约 3.5MB 时会自动降级为可视区域截图并在返回中标注。

navigate_tencent_consoleA

快捷导航到腾讯云控制台的指定页面:dnspod=DNSPod 域名解析列表,cvm=云服务器实例列表,lighthouse=轻量应用服务器实例列表,custom=自定义地址(必须提供 customUrl)。导航后会自动检测登录/验证码状态:若需要人工介入,会直接附带截图并给出提示。所有候选地址都不可用时会返回明确错误(腾讯云控制台改版时可据此改用 custom 目标)。

interact_elementA

在当前页面上执行基础 DOM 操作。action 取值:click=点击;fill=填写输入框(自动兼容受控组件,失败会降级为模拟键入);wait_for=等待元素出现/可见/隐藏;hover=鼠标悬停;select=选择下拉项(text 传选项文案);press=发送按键(text 传按键名,如 Enter);type=用真实键盘事件逐字输入(专用于 xterm/Canvas 这类"看不见输入框"的 Web 终端,例如腾讯云 OrcaTerm 在线终端;selector 传终端容器用于点击取得焦点,传 body 表示直接往当前焦点输入,配合 submit=true 会在输入完按 Enter);get_text=读取元素文本。selector 支持 Playwright 全部选择器语法:CSS、text=文字、xpath=//...、以及 :has-text() 等扩展伪类。所有操作失败时返回结构化错误并附上当前页面截图,便于 LLM 修正选择器后重试。

add_dns_recordA

高层封装:在 DNSPod 控制台为指定域名添加或修改一条解析记录。流程为:打开该域名的解析记录页 → 检查是否已存在同主机记录+同类型的记录 → 存在则点"修改",否则点"添加记录" → 按标签填写主机记录/记录类型/记录值/TTL → 保存 → 回读表格校验。mode=auto 时自动判断新增还是修改;mode=create 强制新增;mode=update 要求记录必须已存在。若中途遇到登录过期/滑动验证,会停下来返回截图并提示人工介入(不会盲目继续点)。执行过程会返回完整步骤轨迹;失败时附带失败现场截图,可用 interact_element 手工收尾。

configure_security_groupA

⚠️ 会真实修改云上防火墙配置。高层封装:在服务器控制台为指定实例添加一条入站/出站规则(放行或拒绝端口)。流程为:按地域打开实例列表 → 搜索 instanceId → 打开该实例的安全组/防火墙配置 → 切到对应方向 → 点"添加规则" → 填写来源/协议端口/策略/备注 → 提交 → 回读规则列表确认。product 可显式指定 cvm(云服务器安全组)或 lighthouse(轻量应用服务器防火墙);若不指定,会根据 instanceId 前缀自动判断(ins- 开头为 CVM,lhins- 开头为 Lighthouse)。port 支持单端口(80)、多端口(80,443)、端口段(8000-9000);protocol 为 TCP/UDP/ICMP/ALL,policy 为 ACCEPT/DROP。对 0.0.0.0/0 开放 22/3389/3306/6379 等高危端口时会返回风险提醒(仅提醒,不阻断)。改版导致界面变化时,会返回失败现场截图与手工步骤建议。

wait_for_user_authA

当检测到登录过期、滑动验证码、微信扫码等需要人工介入的情况时,暂停自动化流程并等待用户处理。mode=detect:立即检测当前页面的登录/验证状态并返回截图,不等待(适合客户端有工具超时限制的场景,可反复调用轮询)。mode=wait:持续轮询直到登录/验证完成或超时(默认 180 秒,最长 900 秒)。mode=confirm:用户已人工确认处理完毕,清除挂起状态并返回当前页面状态。无论哪种模式都会返回截图与当前 URL/标题,便于确认人机交接是否成功。

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.4/5.0

Scored across 7 tools

Disambiguation5/5

Each tool has a clear, distinct role: connection setup, screenshot capture, console navigation, low-level DOM interaction, two high-level cloud workflows, and auth wait handling. Even though interact_element overlaps mechanically with the high-level tools, the descriptions clearly position it as a primitive, so an agent should not misselect.

Naming Consistency5/5

All tool names follow an imperative verb_noun pattern in snake_case: connect_edge, take_screenshot, navigate_tencent_console, interact_element, add_dns_record, configure_security_group, wait_for_user_auth. The naming is highly predictable and consistent.

Tool Count5/5

Seven tools is well-scoped for a browser-control server focused on Tencent Cloud console automation. Each tool earns its place: a connection step, a visual feedback step, navigation, a general interaction primitive, two high-level workflows, and a human-in-the-loop auth tool.

Completeness4/5

The core loop of navigate → interact → screenshot → handle auth is well covered, and the two high-level workflows include verification steps. Minor gaps remain: there is no tab-switching, page text extraction beyond get_text, scrolling, or delete operations for DNS/security-group rules, but agents can work around most of these.

Maintenance

ActivityMaintained
ResponsivenessNo issues