전체 Chrome 설치 없이도 쿠키, DOM 상태, HTML 폼을 처리할 수 있는 에이전트용 경량 비시각적 웹 런타임을 제공합니다.
다른 이름 protostatis/unbrowser, unbrowser, pyunbrowser
- 스타
- 17
- Tools
- —
- 다운로드, 30일
- 551
- 최신 버전
- 0.0.21
- 마지막 커밋
- 2026년 8월 21일
- 라이선스
- Apache-2.0
unbrowser MCP란?
unbrowser은(는) MCP server입니다. 전체 Chrome 설치 없이도 쿠키, DOM 상태, HTML 폼을 처리할 수 있는 에이전트용 경량 비시각적 웹 런타임을 제공합니다.
프로젝트 README에서 생성된 요약
unbrowser MCP server 정보
unbrowser는 단순한 HTTP fetch보다 더 많은 기능이 필요하지만, 전체 Chrome 설치만큼의 오버헤드는 부담스러운 AI 에이전트를 위해 설계된 경량 비시각적 웹 런타임을 제공합니다. 이 런타임은 세션 내에서 쿠키를 유지하고, DOM 상태를 관리하며, HTML 폼과 링크를 처리하는 상태 유지형 중간 단계 역할을 합니다. 개발자는 네이티브 바이너리, pyunbrowser라는 Python 패키지 또는 distroless Docker 이미지를 통해 로컬에 배포할 수 있습니다.
사용자는 stdio를 통해 MCP로 서버에 연결하거나, 테스트를 위해 공유된 streamable HTTP 엔드포인트를 활용할 수 있습니다. 런타임에는 에이전트가 웹 콘텐츠와 상호작용할 수 있도록 돕는 navigate, query, extract와 같은 도구가 포함되어 있습니다. 정적 HTML만으로 부족할 때 페이지 스크립트를 실행할 수 있도록 제한된 QuickJS 엔진을 갖추고 있지만, 이는 전체 V8 엔진을 대체하는 것은 아닙니다. 에이전트가 복잡한 인터랙티브 요소나 무거운 SPA(Single Page Application)를 마주할 경우, 서버는 해당 작업을 실제 브라우저로 전환하도록 제안하는 특정 시그널을 제공합니다.
활용 사례
- 1복잡한 웹 폼 탐색이 런타임을 통해 에이전트는 쿠키 유지 및 GET 또는 POST 폼 제출 기능을 포함한 세션을 관리할 수 있습니다.
- 2안티 봇 또는 SPA 요구 사항 감지서버는 챌린지나 빈 쉘(empty shell)에 관한 시그널을 제공하여, 사이트에 전체 브라우저가 필요한 시점을 에이전트에게 알립니다.
프로젝트의 README를 바탕으로 작성되었습니다. 모든 활용 사례는 해당 내용의 인용문과 대조하여 확인합니다.
unbrowser MCP 설치 방법
형식 확인: 2026년 11월 10일Cursor에 추가Goose에 추가Claude Code에 unbrowser MCP 설치
$ claude mcp add unbrowser -- uvx pyunbrowserCursor에 unbrowser MCP 설치
~/.cursor/mcp.json
{
"mcpServers": {
"unbrowser": {
"command": "uvx",
"args": [
"pyunbrowser"
]
}
}
}VS Code에 unbrowser MCP 설치
.vscode/mcp.json
{
"servers": {
"unbrowser": {
"type": "stdio",
"command": "uvx",
"args": [
"pyunbrowser"
]
}
}
}VS Code CLI에 unbrowser MCP 설치
$ code --add-mcp '{"name":"unbrowser","type":"stdio","command":"uvx","args":["pyunbrowser"]}'Claude Desktop에 unbrowser MCP 설치
claude_desktop_config.json
{
"mcpServers": {
"unbrowser": {
"command": "uvx",
"args": [
"pyunbrowser"
]
}
}
}Codex에 unbrowser MCP 설치
$ codex mcp add unbrowser -- uvx pyunbrowserCodex config.toml에 unbrowser MCP 설치
~/.codex/config.toml
[mcp_servers.unbrowser] command = "uvx" args = ["pyunbrowser"]
Gemini CLI에 unbrowser MCP 설치
$ gemini mcp add -s user unbrowser uvx -- pyunbrowserGemini settings.json에 unbrowser MCP 설치
~/.gemini/settings.json
{
"mcpServers": {
"unbrowser": {
"command": "uvx",
"args": [
"pyunbrowser"
]
}
}
}자동 검사
2026년 11월 14일에 실행됨전체 보고서 →자동 검사를 통과했습니다. 이는 보안 감사가 아닙니다. 코드를 직접 읽고 서버에 필요한 최소한의 권한만 부여하십시오. 검사 방식
- 소스 저장소 연결 및 접근 가능protostatis/unbrowser is public and reachablegithub.com/protostatis/unbrowser ↗통과
- 패키지가 이 저장소를 소스로 명시pyunbrowser names protostatis/unbrowser as sourcepypi.org/project/pyunbrowser/ ↗통과
- 빌드 출처(Sigstore 증명)Sigstore attestation for pyunbrowserpypi.org/project/pyunbrowser/ ↗통과
- 오픈 소스 라이선스 (OSI)Apache-2.0spdx.org/licenses/Apache-2.0.html ↗통과
- 최근 1년 내 커밋 또는 릴리스Last commit or release 2026-08-21github.com/protostatis/unbrowser ↗통과
- OpenSSF Scorecard검사되지 않음
- 패키지 이름이 인기 패키지와 유사하지 않음No popular package one edit away from pyunbrowser통과
- 패키지 및 해당 종속성에 중요한 보안 권고 없음1 resolved dependencies checked; no critical advisoryosv.dev ↗통과
- 모델에 대한 숨겨진 지침 없음0 tool descriptions and the README read; no override phrases, credential paths or hidden characters통과
- 파괴적인 도구에 라벨 표시됨검사되지 않음
- 원격 엔드포인트가 MCP 핸드셰이크에 응답검사되지 않음
README
GitHub에서 보기unbrowser
The cheap browser pass for agents. One native binary. No Chrome.
Official MCP Registry identity: mcp-name: io.github.protostatis/unbrowser
unbrowser is a stateful, non-visual web runtime for agents. It sits between curl/WebFetch and a real browser: it retains cookies and DOM state, returns queryable element refs, handles links and HTML forms, detects challenge and SPA signals, and can run bounded QuickJS page scripts when static HTML is not enough.
Default
navigateis a fast static/SSR pass. Setexec_scripts: trueonly when you need bounded QuickJS execution. Heavy SPAs, pixels, V8 fidelity, extensions, and interactive anti-bot challenges belong in a real Chrome tier.
Try the live public-web demo before installing. It accepts only the fixed public source sets shown on the page; do not send private data, cookies, or authenticated tasks through it. A shared Streamable HTTP MCP endpoint is available at https://unchainedsky.com/unbrowser-mcp for public smoke tests; production sessions should use a local install.
Use unbrowser only on sites, accounts, and data you are permitted to access.
Challenge detection and cookie import do not grant permission to bypass access
controls or site terms. Treat session cookies as credentials: keep them local,
scope them to the authorized task, and never send them to the public demo.
Pick the right tier
| Need | curl / WebFetch | unbrowser | Real Chrome |
|---|---|---|---|
| Static / SSR HTML | raw response | structured BlockMap + DOM queries | full browser |
| Cookies, links, HTML forms | DIY | built in | built in |
| Client-side page scripts | ❌ | bounded QuickJS, opt-in | V8 |
| Pixels, Canvas, WebGL, Workers, extensions | ❌ | ❌ | ✅ |
| Agent-oriented output | DIY parsing | element refs, page signals, structured extraction | DIY CDP / DOM parsing |
| Interactive access challenge | ❌ | detect + stop or escalate | authorized browser / human confirmation |
Use unbrowser when HTTP alone is too dumb and a full browser is too expensive. When the page needs Chrome, the output tells the agent to escalate rather than pretending compatibility it does not have.
Quick start
Docker — Linux amd64/arm64, ~13 MiB pull
docker pull ghcr.io/protostatis/unbrowser:latest
# One-shot navigation
docker run --rm ghcr.io/protostatis/unbrowser:latest \
navigate https://example.com --json
# Default mode: MCP over stdio
docker run --rm -i ghcr.io/protostatis/unbrowser:latest
The image is distroless and runs as non-root: no shell, package manager, or persistent state. Pin :vX.Y.Z or an image digest in production.
Python
pipx install pyunbrowser # recommended on macOS / modern Linux
# or, inside a Python 3.10+ virtual environment:
pip install pyunbrowser
from unbrowser import Client
with Client() as ub:
ub.navigate("https://news.ycombinator.com")
for link in ub.query(".titleline > a")[:3]:
print(link["text"], link["attrs"]["href"])
On macOS, /usr/bin/python3 is 3.9 and cannot install the wheel; use pipx or a Homebrew Python. The PyPI distribution is pyunbrowser, while the import and executable remain unbrowser.
MCP
{
"mcpServers": {
"unbrowser": {
"command": "unbrowser",
"args": ["--mcp"]
}
}
}
Minimal surface: add "--mcp-profile", "minimal" to expose only navigate/query/extract/help and let the agent discover the rest via help(topic). The Python wrapper ships a 3-tool smart server (search/open/help) as the unbrowser-smart console script.
{
"mcpServers": {
"unbrowser": {
"command": "docker",
"args": [
"run", "--rm", "-i",
"ghcr.io/protostatis/unbrowser:latest"
]
}
}
}
See installation and interface reference for Cargo, release archives, source builds, persistent shell sessions, raw JSON-RPC, and all MCP options.
What an agent gets
navigatereturns a BlockMap: page title, landmarks, headings, interactives, density signals, and an ASCII outline. Its size is page-dependent; it is structured for planning rather than a fixed-token promise.- Stable element refs (
e:142): query an element once, thenclick,type, orsubmitit without re-parsing HTML. - Stateful cookies and forms: cookie jar, GET and URL-encoded POST form submission, links, and redirects persist within a session.
- Page and challenge signals:
density.likely_js_filled,thin_shell, andchallenge.providertell an agent whether to run scripts, inspect embedded data, stop, or escalate to an authorized browser session. - Routing aids on every result:
micro_hint(the single next concrete step),next_tools(ranked candidates),avoid(tools with nothing to act on), and a stableescalationtaxonomy (challenge,thin_shell,partial_result, …) with retryable/severity/evidence — recommendations never contradictavoid. - Structured helpers: route discovery, card extraction, table normalization,
text_main, and selector debugging cover common extraction workflows.
Script mode and escalation
{"id":1,"method":"navigate","params":{"url":"https://example.com","exec_scripts":true}}
With exec_scripts: true, inline and external scripts run in QuickJS under a bounded watchdog. This can materialize light hydration and fetch-visible data; it is not V8 or a rendering engine. Heavy React/Vue/Ember apps may still leave an empty shell.
Escalate to unchainedsky-cli or Unchained when a permitted task needs real pixels, Canvas/WebGL, Workers, browser extensions, V8 compatibility, an authenticated profile, or human confirmation. When the user has already established an authorized session in Chrome, cookies_set can import the required session cookie locally until it expires; it is not a license to circumvent a site's controls.
Documentation
| Need | Read |
|---|---|
| Install paths, session CLI, one-shot CLI, raw RPC, MCP, shims, full RPC table | Usage reference |
| Script compatibility, SPA signals, challenge handling, authorized cookie handoff, escalation | Compatibility and escalation |
| Distribution and supported directory listings | Distribution notes |
| Build the native binary | Build instructions |
License
Apache-2.0 — see LICENSE.
unbrowser MCP 질문
unbrowser MCP를 Claude Code에 추가하려면 어떻게 하나요?
터미널에서 claude mcp add unbrowser -- uvx pyunbrowser를 실행합니다. 모든 프로젝트에서 사용할 수 있게 하려면 --scope user를 추가합니다.
unbrowser MCP를 Cursor에 추가하려면 어떻게 하나요?
~/.cursor/mcp.json를 열고 mcpServers 아래에 서버를 추가합니다. 위 설치 섹션에 표시된 Cursor 구성을 사용합니다.
JavaScript를 실행할 수 있나요?
네, exec_scripts 파라미터를 통해 활성화하면 제한된 QuickJS 페이지 스크립트를 실행할 수 있습니다. 다만, 전체 V8 엔진은 아닙니다.
언제 실제 Chrome 브라우저를 사용하는 것이 더 좋나요?
픽셀, Canvas, WebGL, workers, 확장 프로그램 또는 높은 수준의 V8 호환성이 필요한 경우에는 실제 브라우저로 전환해야 합니다.
Python으로 어떻게 설치하나요?
'pipx install pyunbrowser'를 통해 pipx로 설치하거나, 'pip install pyunbrowser'를 통해 pip로 설치할 수 있습니다.