Skip to main content
Glama

Auto Browser

CI License: MIT MCP Server Local First Glama Open in GitHub Codespaces

Auto Browser demo

AI 에이전트에게 사람이 개입할 수 있는 실제 브라우저를 제공하세요.

Auto Browser는 승인된 워크플로우를 위한 MCP 네이티브 브라우저 제어 평면입니다. MCP 클라이언트, LLM 에이전트 및 운영자에게 사람의 개입(takeover), 재사용 가능한 인증 프로필, 승인, 감사 추적 및 로컬 우선 배포 기능을 갖춘 공유 Playwright 브라우저를 제공합니다.

지원 대상:

  • Claude Desktop

  • Cursor

  • HTTP 또는 stdio 통신이 가능한 모든 MCP 클라이언트

  • curl 우선 제어를 원하는 경우 직접 REST 호출

Auto Browser를 사용하는 이유

  • 처음부터 MCP 네이티브. 브라우저 인터페이스가 나중에 추가된 것이 아니라 MCP 서버로 패키징되어 있습니다.

  • 웹이 불안정할 때 사람의 개입 가능. noVNC를 통해 사람이 직접 개입해야 할 때 동일한 라이브 세션을 사용할 수 있습니다.

  • 한 번 로그인하고 나중에 재사용. 명명된 인증 프로필을 저장하고 이미 로그인된 상태의 새로운 세션을 다시 열 수 있습니다.

  • 기본적으로 로컬 우선. Docker Compose를 사용하여 자신의 컴퓨터에서 전체 스택을 실행하거나, 빠른 호스팅 데모를 위해 Codespaces를 사용하세요.

  • 안전 장치 내장. 승인, 운영자 식별, PII(개인식별정보) 스크러빙, Witness 영수증 및 규정 준수 템플릿이 제품의 일부로 포함되어 있습니다.

Related MCP server: Browser-Use MCP Server

릴리스 하이라이트 (v1.0.2)

  • 프레임워크 보안 업데이트: FastAPI 및 Starlette을 현재 패치된 라인으로 고정

  • 더 안전한 오류 경계: 브라우저 작업, CDP, OCR, 메시, 워크플로우, 터널, 소셜 및 공유 토큰 인터페이스 전반에 걸쳐 적용

  • 속도 제한 강화: 제한된 버킷 및 해시된 운영자 식별자 사용

  • 호스트 및 경로 정책 강화: 프로덕션 ALLOWED_HOSTS, 인증 프로필 경로 및 업로드 루트에 대해 적용

  • 1.0 플랫폼 인터페이스: 서명된 메시 위임, 워크플로우 경로, /dashboard, noVNC 개입, MCP 전송, 감사 추적 및 준비 상태 확인 포함

전체 릴리스 기록은 CHANGELOG.md를 참조하세요.

적합한 용도

  • 내부 대시보드 및 관리 도구

  • 운영자 지원 QA 및 브라우저 디버깅

  • 한 번 로그인하고 나중에 재사용하는 계정 워크플로우

  • 사람이 흐름을 복구해야 할 수 있는 불안정한 사이트

  • 단순 HTML 가져오기가 아닌 실제 브라우저가 필요한 MCP 기반 에이전트 워크플로우

목표가 아닌 것

  • 스텔스 또는 봇 방지 우회 작업

  • CAPTCHA 해결

  • 무단 스크래핑 또는 계정 자동화

  • 기만적인 신원 형성 또는 우회 도구

제공 기능

브라우저 제어

운영자 안전

배포 및 통합

스크린샷, DOM 요약, OCR 발췌, 탭 제어, 다운로드 및 네트워크 검사를 지원하는 Playwright 기반 세션

승인 게이트, 운영자 식별 헤더, 감사 이벤트, PII 스크러빙, Witness 영수증 및 보호 프로필

HTTP 기반 MCP, 번들 stdio 브리지, REST API, Docker Compose, Codespaces, 인증 프로필 및 선택적 세션별 격리

퀵스타트

git clone https://github.com/LvcidPsyche/auto-browser.git
cd auto-browser
docker compose up --build

기본 설정으로 로컬 개발을 시작하기에 충분합니다.

선택 사항:

cp .env.example .env
make doctor

로컬 Docker 액세스 권한과 localhost 소켓을 열 수 있는 권한이 있는 일반 터미널에서 make doctor를 실행하세요.

열기:

  • API 문서: http://127.0.0.1:8000/docs

  • 운영자 대시보드: http://127.0.0.1:8000/dashboard

  • 시각적 개입: http://127.0.0.1:6080/vnc.html?autoconnect=true&resize=scale

모든 게시된 포트는 기본적으로 127.0.0.1에 바인딩됩니다.

Codespaces에서 사용해 보기

Open in GitHub Codespaces

Codespaces는 스택을 자동으로 프로비저닝합니다. 대시보드와 noVNC 탭은 일반적으로 약 90초 내에 준비됩니다.

첫 번째 유용한 데모

이 저장소에서 가장 신호가 강한 흐름은 다음과 같습니다:

  1. 세션 생성

  2. 사이트에 사람의 개입이 필요한 경우 수동으로 로그인

  3. 세션을 명명된 인증 프로필로 저장

  4. 해당 인증 프로필에서 새 세션 열기

  5. 재인증 없이 작업 계속

여기서 시작하세요:

최소 세션 생성:

curl -s http://127.0.0.1:8000/sessions \
  -X POST \
  -H 'content-type: application/json' \
  -d '{"name":"demo","start_url":"https://example.com"}' | jq

최소 관찰:

curl -s http://127.0.0.1:8000/sessions/<session-id>/observe | jq

MCP 클라이언트

Auto Browser는 다음을 노출합니다:

  • http://127.0.0.1:8000/mcp의 HTTP MCP 엔드포인트

  • http://127.0.0.1:8000/mcp/tools 및 http://127.0.0.1:8000/mcp/tools/call의 편의 엔드포인트

  • scripts/mcp_stdio_bridge.py의 번들 stdio 브리지

기본 MCP 도구 프로필은 curated이며, 더 나은 도구 선택을 위해 브라우저 인터페이스를 간결하게 유지합니다. 전체 내부 도구 인터페이스를 원하면 다음을 설정하세요:

MCP_TOOL_PROFILE=full

원시 도구 호출 예시:

curl -s http://127.0.0.1:8000/mcp/tools/call \
  -X POST \
  -H 'content-type: application/json' \
  -d '{
    "name":"browser.create_session",
    "arguments":{
      "name":"demo",
      "start_url":"https://example.com"
    }
  }' | jq

클라이언트 설정 가이드:

보안 및 규정 준수

실제 비공개 배포를 위해서는 최소한 다음을 설정하세요:

APP_ENV=production
API_BEARER_TOKEN=<strong-random-secret>
REQUIRE_OPERATOR_ID=true
AUTH_STATE_ENCRYPTION_KEY=<44-char-fernet-key>
REQUIRE_AUTH_STATE_ENCRYPTION=true
REQUEST_RATE_LIMIT_ENABLED=true
METRICS_ENABLED=true

COMPLIANCE_TEMPLATE은 시작 시 미리 구성된 상태를 적용할 수 있습니다:

템플릿

인증 암호화

운영자 ID

PII 스크러빙

격리

최대 세션 기간

HIPAA

필수

필수

모든 계층

docker_ephemeral

4시간

PCI-DSS

필수

필수

모든 계층

docker_ephemeral

1시간

SOC2

-

필수

네트워크 + 텍스트

공유

24시간

GDPR

-

-

모든 계층

공유

24시간

모든 템플릿은 업로드 승인이 필요합니다. HIPAA, SOC2 및 PCI-DSS는 Witness 영수증도 활성화합니다. 시작 시 적용된 정책을 /data/compliance-manifest.json에 기록합니다.

예시:

COMPLIANCE_TEMPLATE=HIPAA docker compose up

배포 세부 정보, 호스팅된 Witness 노트, CLI 인증 모드 및 역방향 SSH 지침은 다음을 참조하세요:

아키텍처 요약

flowchart LR
    User[Human operator] -->|watch / takeover| noVNC[noVNC]
    LLM[OpenAI / Claude / Gemini] -->|shared tools| Controller[Controller API]
    Controller -->|Playwright protocol| Browser[Browser node]
    noVNC --> Browser
    Browser --> Artifacts[(screenshots / traces / auth state)]
    Controller --> Artifacts
    Controller --> Policy[Allowlist + approval gates]

핵심 구성 요소:

  • browser-node/: Chromium, Xvfb, x11vnc 및 noVNC 실행

  • controller/: FastAPI 컨트롤러, MCP 전송, 정책 레일 및 오케스트레이션 엔드포인트 노출

  • data/: 런타임 아티팩트, 인증 상태, 승인, 감사 로그 및 선택적 CLI 캐시 보관

  • scripts/: doctor, 스모크 테스트, 브리지 및 릴리스 확인을 위한 로컬 도우미 포함

저장소 가이드

경로

포함 내용

controller/

컨트롤러 API, MCP 전송, 테스트 및 패키징

browser-node/

브라우저 런타임 및 Playwright 연결 계층

examples/

복사-붙여넣기 흐름 및 MCP 클라이언트 설정

integrations/langchain/

LangChain, LangGraph 및 CrewAI 어댑터

docs/

아키텍처, 배포, 강화 및 시작 문서

scripts/

doctor, 스모크 하네스, stdio 브리지 및 인증 도우미

ops/

지원 서비스 템플릿 및 운영 자산

공통 명령어

명령어

목적

make help

사용 가능한 저장소 명령어 나열

make lint

앱, 테스트 및 도우미 스크립트에서 Ruff 검사 실행

make test

Docker에서 컨트롤러 테스트 실행

make test-local

호스트 Python 3.10+에서 컨트롤러 테스트 실행

make doctor

로컬 준비 상태 스모크 테스트 실행

make release-audit

더 완전한 릴리스 검증 패스 실행

make smoke-isolation

세션별 Docker 격리 확인

make smoke-reverse-ssh

역방향 SSH 원격 액세스 확인

문서 맵

원하는 작업...

여기서 시작

시스템 형태 이해

docs/architecture.md

Claude Desktop 또는 Cursor 연결

docs/mcp-clients.md

curl 우선 예제 실행

examples/README.md

신뢰할 수 있는 호스트에 배포

docs/deployment.md

프로덕션 제약 조건 검토

docs/production-hardening.md

릴리스 기록 검토

CHANGELOG.md

프로젝트의 향후 방향 확인

ROADMAP.md

기여

도움을 주고 싶다면 다음에서 시작하세요:

Auto Browser가 유용하다면, 별표(star)를 눌러 다른 사람들이 찾을 수 있도록 도와주세요.

Available Tools

20 tools
browser.activate_tabA

Bring one tab to the foreground so subsequent observations and actions target it. Tab indexes come from browser.list_tabs. Returns the activated index, the updated session summary, and the current tab list.

Inputs: index (required), session_id.

browser.close_sessionB
Destructive

Close a session and finalize its trace/artifacts.

Inputs: session_id, approval_id, workflow_profile.

browser.close_tabB
Destructive

Close one tab index if more than one tab is open.

Inputs: index (required), session_id, approval_id, workflow_profile.

browser.create_sessionA

Create a new browser session and optionally navigate to a start URL.

Inputs: name, start_url, totp_hosts, user_agent, +9 more.

browser.eval_jsA

Execute a JavaScript expression in the current page context and return the result. Every call needs operator approval for that exact expression: the first call returns status approval_required with an approval_id; retry with approval_id once it is approved. Prefer find_elements, get_html or observe for reading the page — they need no approval.

Inputs: expression (required), session_id, timeout_ms, approval_id, +1 more.

browser.execute_actionA

Execute one browser action (navigate, click, hover, type, press, select_option, scroll, …) in a session, using the same action schema the agent planner emits. Actions are policy-checked and audited, and governed actions may require a granted approval_id. Call browser.observe first to get targetable element IDs and selectors. Returns the action's verification (what changed) and an observation of the page after it (up to 20 interactables).

Inputs: action (required), detail, session_id, approval_id, +1 more.

browser.find_elementsA

Find elements either by CSS selector or by a text/regex query across the page's text content. selector mode returns matching elements' text, href, value, bounding box, and visibility -- useful before clicking or scraping multiple items. query mode (set query, optionally regex and context) returns the matched text plus surrounding context for each hit -- a cheap way to locate a specific string on the page without a full observe.

Inputs: limit, query, regex, context, +2 more.

browser.fork_sessionA

Fork a session: snapshot its cookies, storage state, and current URL, then create a new independent session with that state. Useful for branching workflows or running parallel variants. Without start_url, a page that is no URL to open (blank, data:, Chrome's error page) forks onto a blank page. Counts as a new session: needs MAX_SESSIONS of at least 2.

Inputs: name, start_url, session_id, user_agent, +2 more.

browser.get_htmlA
Read-onlyIdempotent

Read the current page: its serialized DOM (the whole document, not just the viewport), or with text_only=true its visible text — the cheapest way to read a page's content. Returns up to max_chars (default 20,000) from offset; when truncated is true, call again with offset=next_offset for the rest. On Chrome's error page for a navigation the pre-request gate stopped, blocked_navigation says what was stopped and why.

Inputs: offset, max_chars, text_only, session_id.

browser.get_sessionA
Read-onlyIdempotent

Get the full record for one browser session by ID: the live session summary (status, current page, tabs) when the session is active, or the persisted session record when it has been closed. Use browser.list_sessions to discover session IDs.

Inputs: session_id.

browser.list_auth_profilesA
Read-onlyIdempotent

List reusable saved auth profiles that can be loaded into a new session.

Inputs: no named parameters.

browser.list_downloadsA
Read-onlyIdempotent

List files captured from browser downloads for one session.

Inputs: session_id.

browser.list_sessionsA
Read-onlyIdempotent

List live and persisted browser sessions, one reference each (id, name, status, live, current page, takeover URL). browser.get_session returns a full record.

Inputs: no named parameters.

browser.list_tabsA
Read-onlyIdempotent

List currently open tabs/pages for one session.

Inputs: session_id.

browser.observeA
Read-only

Capture the current browser observation: interactables, tabs, console, and a perception summary. Presets: 'text' — no screenshot or OCR: interactables, accessibility tree and the first 2,000 characters of page text; for text-only models. 'fast' — screenshot only, returned as an image, no text/accessibility extraction; for vision models. 'normal' (default) — text plus a screenshot URL and OCR. 'rich' — normal with twice the interactables and 4,000 characters of text. To read a whole page, use browser.get_html with text_only=true. On Chrome's error page for a navigation the pre-request gate stopped, blocked_navigation says what was stopped and why.

Inputs: limit, detail, preset, session_id.

browser.read_downloadA

Read a downloaded file as text (CSV, JSON, TXT, HTML, ...), by download_id from browser.list_downloads or, if omitted, the latest completed download. Paged like browser.get_html. Binary files (PDF, XLSX, images) are refused with their artifact URL. With PII scrubbing on, the text is scrubbed; pii_scrub says whether it was and how many redactions were made.

Inputs: offset, max_chars, session_id, download_id.

browser.request_human_takeoverC

Ask for a human to take over the shared browser desktop.

Inputs: reason, session_id, approval_id, workflow_profile.

browser.save_auth_profileB

Save the current session storage state into a reusable named auth profile.

Inputs: profile_name (required), session_id, approval_id, workflow_profile.

browser.screenshotA
Read-only

Capture the current viewport and return it as an image (plus its artifact URL), without the full observe payload.

Inputs: label, session_id.

browser.wait_for_selectorA
Read-only

Wait for a CSS selector to reach a specific state (visible, hidden, attached, detached). Returns when the condition is met or raises on timeout.

Inputs: selector (required), state, session_id, timeout_ms.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 20 tools

    Disambiguation4/5

    Most tools target clearly distinct concerns (sessions, tabs, observation, downloads, auth profiles). The read-side tools (observe, screenshot, get_html, find_elements) overlap somewhat, but each description explicitly scopes itself and cross-references the alternatives, so an agent can reliably choose.

    Naming Consistency5/5

    Every tool follows a consistent verb_noun snake_case pattern under a uniform browser. namespace (list_tabs, close_tab, create_session, read_download). No mixed conventions or casing.

    Tool Count4/5

    20 tools is on the heavy side, but the server legitimately spans sessions, tabs, observation, downloads, and auth profiles, and each tool maps to a real operation. Slightly over the comfortable range but not padded.

    Completeness4/5

    The session lifecycle (create/list/get/close/fork), tab management, observation, navigation/actions, downloads, and auth profiles are all covered. Minor gaps like deleting saved auth profiles or an explicit new-tab tool are workable around via execute_action.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • -
      license
      Not graded
      quality
      F
      maintenance
      This server provides cloud browser automation capabilities using Browserbase, Puppeteer, and Stagehand. This server enables LLMs to interact with web pages, take screenshots, and execute JavaScript in a cloud browser environment.
      1,158 npm
      3,397
      MIT
    • A
      license
      A
      quality
      F
      maintenance
      Enables LLMs like Claude to navigate the web through Puppeteer-based tools and Steel. Based on the Web Voyager framework, it provides tools for all the standard web actions click clicking/scrolling/typing/etc and taking screenshots.
      16
      58
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      A Model Context Protocol (MCP) integration that provides Claude Desktop with autonomous browser automation capabilities. This agent enables Claude to interact with web content, manipulate DOM elements, execute JavaScript, and perform API requests.
      13
      43
      TypeScript
      Mozilla Public 2.0