Skip to main content
Glama
q35888

agentic-browser-mcp

by q35888

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": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
browser_sessionA

切换/启动浏览器会话。profile: real(连专用 profile Chrome,已登录态) | isolated(独立 profile);headless 仅 isolated 生效;incognito 临时无痕。不传参数=确保默认 real 会话。

browser_navigateC

打开 URL。可顺便切会话(未指定 profile 则用当前/默认 real)。

browser_snapshotA

返回页面 ARIA 无障碍树(YAML 文本,带 role+name)。据此调 click/type 时提供 role+name。

browser_clickA

点击页面元素,用 snapshot 里的 role(+name) 定位。

browser_typeC

在输入框(role 通常 textbox)输入文本,用 role+name 定位。

browser_evalA

在页面执行 JS 表达式(=F12 控制台输入,如 document.title / JSON.stringify({...}) / 1+1 / location.href),返回结果。传表达式,不是箭头函数。可读 DOM/storage/发请求。

browser_storageB

读取存储(F12 Application)。type: cookies|localStorage|sessionStorage。

browser_consoleA

读取累积的 console 日志(F12 Console)。可选 level 过滤。会话启动起开始记录。

browser_wait_humanA

遇到验证码/登录等需人工操作时调用。MCP server 无 GUI,本工具返回当前页面 URL 和需要人工操作的说明;调用方(Codex 等)应在终端暂停,提示用户去浏览器手动操作,完成后回复继续。

browser_screenshotB

截图存为文件(配角:非多模态模型不解读,主要给人看)。默认存 ~/.pi/agent/bw-shots/。

browser_closeA

显式关闭当前浏览器会话,释放资源(real 断开 CDP 连接,不关真实 Chrome;isolated 关闭浏览器进程)。下次工具调用会自动重建。

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/q35888/agentic-browser-mcp'

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