browser-use MCP Server with SSE transport
- uv
curl -LsSf https://astral.sh/uv/install.sh | sh
uv sync
uv pip install playwright
uv run playwright install --with-deps --no-shell chromium
uv run server --port 8001
- the .env requires the following:
OPENAI_API_KEY=[your api key]
CHROME_PATH=[only change this if you have a custom chrome build]
- we will be adding support for other LLM providers to power browser-use (claude, grok, bedrock, etc)
when building the docker image, you can use Docker secrets for VNC password:
# With Docker secrets (recommended for production)
echo "your-secure-password" > vnc_password.txt
docker run -v $(pwd)/vnc_password.txt:/run/secrets/vnc_password your-image-name
# Or during development with the default password
docker build .
- SSE transport
- browser_use - Initiates browser tasks with URL and action
- browser_get_result - Retrieves results of async browser tasks
- cursor.ai
- claude desktop
- claude code
windsurf(windsurf doesn't support SSE yet)
after running the server, add http://localhost:8000/sse to your client UI, or in a mcp.json file:
{
"mcpServers": {
"browser-use-mcp-server": {
"url": "http://localhost:8000/sse"
}
}
}./.cursor/mcp.json
~/.codeium/windsurf/mcp_config.json
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json
then try asking your LLM the following:
open https://news.ycombinator.com and return the top ranked article
for issues or interest reach out @ https://cobrowser.xyz