Complete web tasks in the user's own Chrome via an observe-decide-act browser agent.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent — or use 1-click editor setup below.
One-click editor setup isn’t available for this listing yet — we don’t have a confirmed install command, and we’d rather show nothing than point your editor at the wrong package or host. Follow the project’s own setup instructions, linked above.
English | 简体中文
Prism 是一个 TypeScript 浏览器智能体 CLI。给它一个网址和一句目标,它会把页面读成一张带编号的可见控件表,让决策模型选择「对哪个元素执行哪个操作」,通过 Chrome DevTools Protocol 执行,直到决策模型判定目标达成。
TYPESAFE_API_KEY包含两个可执行入口:prism(CLI)和 prism-mcp(MCP server)
请以远程调试模式启动 Chrome。Chrome 136+ 默认 profile 不允许开启远程调试,因此使用独立 profile 并在其中登录一次:
prism-mcp 是一个 stdio MCP server,只暴露一个任务级工具:
| 工具 | 输入 | 返回 |
|---|---|---|
browser_task | url、goal、max_steps?、record_dir? | status、reason、final_url、final_title、final_text、steps、elapsed_ms |
宿主把整个浏览子任务委托出去;observe/decide/act 循环、新鲜度校验、预算和判定都由 Prism 自己负责。每步进度会以 MCP progress notification 上报;取消请求会中止运行并关闭标签页。
宿主声明了 sampling 能力时(opencode 支持),需要填写的字段文本由宿主自己的模型通过
sampling/createMessage 回答,此时不需要 TEXT_MODEL_API_KEY;否则回退到
TEXT_MODEL_*。决策(选哪个控件/目标)始终只走 TypeSafe,不会交给宿主模型。
opencode(opencode.json):
prism-mcp 需要在 PATH 上(在仓库根目录执行 pnpm link --global),或把 command 指向
["node", "/absolute/path/to/prism/dist/mcp.js"]。其他 MCP 客户端同理。key 和
PRISM_BROWSER_URL 从 server 进程的环境变量及其工作目录下的 .env 读取。
注意:不要在配置里用 "environment": { "TYPESAFE_API_KEY": "{env:TYPESAFE_API_KEY}" }
传未设置的变量——空值会覆盖 .env 里的同名 key,导致加载失败。
src/browser/snapshot.js 来自
browser-use/jev-ultrafast,以 MIT
License 使用。详见 THIRD_PARTY_NOTICES.md。
No reviews yet — be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/prism-4)<a href="https://allmcps.com/mcp/prism-4"><img src="https://allmcps.com/api/badge/prism-4?style=directory" alt="Prism on AllMCPs" /></a>