Skip to main content
Glama

agent-browser-mcp-codex

将本地 agent-browser 功能作为 MCP 工具公开,并快速引导 Codex 集成。

Codex 快速入门

前提条件:必须已在本地安装 agent-browser

  1. 运行 npx agent-browser-mcp-codex init-codex

  2. 重启 Codex 或打开新会话

agent-browser 已提供的功能

agent-browser 已经提供了广泛的浏览器自动化功能,包括:

  • 导航和交互

  • 键盘、鼠标、上传、下载和滚动控制

  • 页面检查和信息检索

  • 标签页、会话、存储和网络操作

  • 调试、差异对比、录制和流式传输

  • 身份验证、聊天、仪表板和设置命令

此 MCP 封装目前公开的功能

此包目前公开了 agent-browser 命令的一个重点子集:

  • 导航:open, back, forward, reload

  • 交互:click, fill, type

  • 读取和页面状态:get_title, get_text, get_html, snapshot, screenshot, wait

  • 标签页:tab_list, tab_new, tab_close

  • 运行时:eval

  • 存储和网络:cookies_get, network_requests

  • 会话和原始透传:session_current, session_list, session_close, run_raw_command

手动设置

如果您想手动连接插件,本地 Codex 模板位于 codex/plugin/ 下。

限制

  • 此包目前仅公开了上游 agent-browser CLI 的一个子集,而非全部功能。

  • 目前某些工具系列被有意限制了范围。

  • 随着时间的推移可能会增加更广泛的覆盖范围,但目前的界面应被视为处于演进中。

开发

用于本地验证:

  • npm test

  • npm run typecheck

发布

  • 在首次自动发布之前,在 GitHub 仓库中配置 NPM_TOKEN 密钥。

  • 创建并发布 GitHub Release 以触发当前包版本的 npm 发布。

-
security - not tested
A
license - permissive license
-
quality - not tested

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

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/Blackman99/agent-browser-mcp'

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