Skip to main content
Glama

browser-use MCP Server

by co-browser

uso del navegador mcp-servidor

Un servidor MCP que permite a los agentes de IA controlar los navegadores web mediante el uso del navegador .

¿Administras varios servidores MCP? Simplifica tu flujo de trabajo de desarrollo con el agente-navegador.

Prerrequisitos

  • uv - Gestor rápido de paquetes de Python
  • Dramaturgo - Automatización del navegador
  • mcp-proxy : necesario para el modo stdio
# Install prerequisites curl -LsSf https://astral.sh/uv/install.sh | sh uv tool install mcp-proxy uv tool update-shell

Ambiente

Crea un archivo .env :

OPENAI_API_KEY=your-api-key CHROME_PATH=optional/path/to/chrome PATIENT=false # Set to true if API calls should wait for task completion

Instalación

# Install dependencies uv sync uv pip install playwright uv run playwright install --with-deps --no-shell chromium

Uso

Modo SSE

# Run directly from source uv run server --port 8000

Modo stdio

# 1. Build and install globally uv build uv tool uninstall browser-use-mcp-server 2>/dev/null || true uv tool install dist/browser_use_mcp_server-*.whl # 2. Run with stdio transport browser-use-mcp-server run server --port 8000 --stdio --proxy-port 9000

Configuración del cliente

Configuración del cliente en modo SSE

{ "mcpServers": { "browser-use-mcp-server": { "url": "http://localhost:8000/sse" } } }

Configuración del cliente en modo stdio

{ "mcpServers": { "browser-server": { "command": "browser-use-mcp-server", "args": [ "run", "server", "--port", "8000", "--stdio", "--proxy-port", "9000" ], "env": { "OPENAI_API_KEY": "your-api-key" } } } }

Ubicaciones de configuración

ClienteRuta de configuración
Cursor./.cursor/mcp.json
Windsurf~/.codeium/windsurf/mcp_config.json
Claude (Mac)~/Library/Application Support/Claude/claude_desktop_config.json
Claude (Windows)%APPDATA%\Claude\claude_desktop_config.json

Características

  • [x] Automatización del navegador : controle los navegadores mediante agentes de IA
  • [x] Transporte dual : compatibilidad con los protocolos SSE y stdio
  • [x] Transmisión VNC : vea la automatización del navegador en tiempo real
  • [x] Tareas asincrónicas : ejecuta operaciones del navegador de forma asincrónica

Desarrollo local

Para desarrollar y probar el paquete localmente:

  1. Construir una rueda distribuible:
    # From the project root directory uv build
  2. Instalarlo como herramienta global:
    uv tool uninstall browser-use-mcp-server 2>/dev/null || true uv tool install dist/browser_use_mcp_server-*.whl
  3. Ejecutar desde cualquier directorio:
    # Set your OpenAI API key for the current session export OPENAI_API_KEY=your-api-key-here # Or provide it inline for a one-time run OPENAI_API_KEY=your-api-key-here browser-use-mcp-server run server --port 8000 --stdio --proxy-port 9000
  4. Después de realizar los cambios, reconstruya y reinstale:
    uv build uv tool uninstall browser-use-mcp-server uv tool install dist/browser_use_mcp_server-*.whl

Estibador

El uso de Docker proporciona un entorno consistente y aislado para ejecutar el servidor.

# Build the Docker image docker build -t browser-use-mcp-server . # Run the container with the default VNC password ("browser-use") # --rm ensures the container is automatically removed when it stops # -p 8000:8000 maps the server port # -p 5900:5900 maps the VNC port docker run --rm -p8000:8000 -p5900:5900 browser-use-mcp-server # Run with a custom VNC password read from a file # Create a file (e.g., vnc_password.txt) containing only your desired password echo "your-secure-password" > vnc_password.txt # Mount the password file as a secret inside the container docker run --rm -p8000:8000 -p5900:5900 \ -v $(pwd)/vnc_password.txt:/run/secrets/vnc_password:ro \ browser-use-mcp-server

Nota: La bandera :ro en el montaje del volumen ( -v ) hace que el archivo de contraseña sea de sólo lectura dentro del contenedor para mayor seguridad.

Visor VNC

# Browser-based viewer git clone https://github.com/novnc/noVNC cd noVNC ./utils/novnc_proxy --vnc localhost:5900

Contraseña predeterminada: browser-use (a menos que se anule mediante el método de contraseña personalizada)

Ejemplo

Intenta preguntarle a tu IA:

open https://news.ycombinator.com and return the top ranked article

Apoyo

Para problemas o consultas: cobrowser.xyz

Historia de las estrellas

-
security - not tested
A
license - permissive license
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

Un servidor MCP que permite a los asistentes de IA controlar un navegador web a través de comandos de lenguaje natural, lo que les permite navegar por sitios web y extraer información a través del transporte SSE.

  1. Prerrequisitos
    1. Ambiente
      1. Instalación
        1. Uso
          1. Modo SSE
          2. Modo stdio
        2. Configuración del cliente
          1. Configuración del cliente en modo SSE
          2. Configuración del cliente en modo stdio
          3. Ubicaciones de configuración
        3. Características
          1. Desarrollo local
            1. Estibador
              1. Visor VNC
            2. Ejemplo
              1. Apoyo
                1. Historia de las estrellas

                  Related MCP Servers

                  • -
                    security
                    A
                    license
                    -
                    quality
                    An MCP server that helps AI assistants access text content from websites that implement bot detection, bridging the gap between what you can see in your browser and what the AI can access.
                    Last updated -
                    1
                    Python
                    Apache 2.0
                  • -
                    security
                    F
                    license
                    -
                    quality
                    An MCP server that enables AI assistants to access and interact with Google Classroom data, allowing users to view courses, course details, and assignments through natural language commands.
                    Last updated -
                    508
                    1
                    JavaScript
                  • -
                    security
                    F
                    license
                    -
                    quality
                    An MCP server that connects AI assistants to SearchAgora, enabling users to search for, discover, and purchase products across the web through natural language conversations.
                    Last updated -
                    1
                    Python
                    • Apple
                  • -
                    security
                    F
                    license
                    -
                    quality
                    A MCP server that allows AI assistants to interact with the browser, including getting page content as markdown, modifying page styles, and searching browser history.
                    Last updated -
                    5
                    TypeScript

                  View all related MCP servers

                  MCP directory API

                  We provide all the information about MCP servers via our MCP API.

                  curl -X GET 'https://glama.ai/api/mcp/v1/servers/co-browser/browser-use-mcp-server'

                  If you have feedback or need assistance with the MCP directory API, please join our Discord server