# Repository Briefing: kontext-security/browser-use-mcp-server
> Source: https://repoforai.com/repo/kontext-security/browser-use-mcp-server (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/kontext-security/browser-use-mcp-server
- **Official Docs / Website**: https://kontext.security
- **Category**: Coding, Skills & MCP (AI 编程 / Skills / MCP)
- **Primary Language**: Python
- **License**: MIT
- **Engineering Health**: A (78/100 · Maintenance 31/35 · Adoption 16/25 · Releases 11/20 · License 20/20)
- **Latest Release**: v1.0.3 (2025-04-15) — https://github.com/kontext-security/browser-use-mcp-server/releases
- **Review Snapshot**: 2026-12-04
- **Deployment / Stack Signals**: Docker, Self-Hosted, MCP, CLI
- **Momentum**: 849 ★ total (+0 24h / +0 7d) · 118 forks
- **Topics**: `browser`, `browser-use`, `cursor`, `mcp`, `mcp-server`, `playwright`
- **When to Use**: Best for: Teams that want an MCP client to delegate exploratory browsing or lightweight page tasks, with a self-hosted browser and optional live viewing. Skip if: You need deterministic regression tests, fully offline inference, or verified multi-tenant isolation out of the box.

## Overview
```text
### Architecture & Core Mechanics
This Python service exposes `browser-use` through MCP so a client can delegate a browser task without embedding an agent or browser driver. At the component level, the path is MCP client → server → `browser-use` → Playwright-controlled browser. The API-backed model path uses `langchain-openai` and is configured through `OPENAI_API_KEY`.

The dependency manifest includes `mcp`, Starlette, and Uvicorn alongside the browser and model libraries. For SSE, clients connect to `/sse` on a running server. For stdio, the client starts the CLI and the setup requires `mcp-proxy`; the launch arguments still include both a server port and a proxy port. The integration boundary is MCP, while the server side runs the browser and handles model access.

### Key Capabilities & Differentiators
The service suits tasks in which an agent needs to navigate a page and return a result, such as opening Hacker News and identifying the top-ranked article. Browser operations can execute asynchronously. `PATIENT=false` is the example setting; `PATIENT=true` makes API calls wait for task completion. This setting controls waiting behavior, not guaranteed task duration or concurrency capacity.

VNC provides a live view of the browser, with noVNC available as a browser-based viewer. Client configuration examples cover Cursor, Windsurf, and Claude Desktop on macOS and Windows. The model configuration exposed here is an OpenAI API key; no specific model ID, local inference backend, or alternate provider is established. Browser setup uses Playwright Chromium or an optional `CHROME_PATH`.

### Trade-offs & Limitations
Compared with direct Playwright, the MCP agent layer accepts higher-level goals without requiring a scripted sequence for each task, but model decisions make execution less predictable than explicit selectors and assertions. Compared with embedding `browser-use` directly, the server gives multiple MCP clients a common integration surface at the cost of an additional service or proxy to configure and troubleshoot.

Self-hosting the browser does not make the OpenAI API path offline. Budget for external API calls and network latency as well as host CPU and RAM for Chromium; measure with representative pages and concurrency. VNC helps diagnose what the browser is doing but adds another listener and a credential to manage. Before shared deployment, verify how MCP access, browser sessions, and concurrency are isolated; the listed transports and Docker packaging do not establish those guarantees.

### Hardware & Deployment Guide
The package requires Python `>=3.11,<4.0`. For a source deployment, sync dependencies with `uv`, install Playwright Chromium and its system dependencies using `uv run playwright install --with-deps --no-shell chromium`, and start SSE with `uv run server --port 8000`. For stdio, build the wheel with `uv build`, install it with `uv tool install`, and install `mcp-proxy` separately. Supply `OPENAI_API_KEY` at runtime.

The multi-stage Docker build uses a `uv` Bookworm builder, Python 3.13, and frozen dependency synchronization, then switches to Debian Bookworm Slim. Port 8000 serves MCP; publish 5900 only if VNC is needed. Replace the default VNC password using the read-only secret mount at `/run/secrets/vnc_password`, and keep both listeners on trusted interfaces. Releases v1.0.2 and v1.0.3 on April 15, 2025 focus on CI, release workflows, and upload robustness; they do not establish new runtime capabilities.
```

## Key Capabilities
```text
- Execution stack: `browser-use` handles agent-driven tasks over Playwright; the model integration uses `langchain-openai`.
- MCP transport: connect to `/sse` on port 8000 or launch the stdio CLI with `mcp-proxy` and a separate proxy port.
- Task completion: asynchronous browser work with `PATIENT=true` available to make API calls wait for completion.
- Live observation: VNC on container port 5900, with noVNC as a viewer and a password override at `/run/secrets/vnc_password`.
- Runtime packaging: Python `>=3.11,<4.0`, a `uv` wheel workflow, and a Docker build that uses Python 3.13 and `uv sync --frozen`.
- Browser setup: install Playwright Chromium with system dependencies or configure an optional Chrome executable through `CHROME_PATH`.
```

## Quick Start / Clone
```bash
# Install prerequisites
curl -LsSf https://astral.sh/uv/install.sh | sh
uv tool install mcp-proxy
uv tool update-shell
```
