8000 GitHub - dylangroos/browser-use-mcp: MCP wrapper of browser-use
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

dylangroos/browser-use-mcp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
< 8000 div class="react-directory-truncate">package-lock.json
 
 
 
 
 
 
 
 

Repository files navigation

Browser-Use MCP Server

A Model Context Protocol server that provides browser automation capabilities.

MCP Configuration

Add this configuration to your MCP-compatible client:

{
  "mcpServers":{
      "browser-use": {
        "command": "docker",
        "args": ["run", "-i", "--rm", "groos12/browser-use-mcp"]
      }
    }
}

Features

This MCP server provides a tool for browser automation:

instruct-browser

This tool allows you to navigate to a URL and perform browser actions according to provided instructions.

Parameters:

  • url (string): The URL to navigate to
  • instructions (string): The instructions to follow in the browser

Example:

{
  "url": "https://example.com",
  "instructions": "Search for 'climate change' and extract the first three results"
}

Returns: A text summary of the browser interaction history and results.

The tool leverages the browser-use library with Google's Gemini model to perform intelligent browser automation.

Docker Setup

Building the Docker Image

Build the Docker image with:

docker build -t mcp/browser-use .

Running the Container

Run the MCP server in a Docker container:

docker run -i --rm --init -e DOCKER_CONTAINER=true mcp/browser-use

Using with Custom Environment Variables

If you need to provide API keys or other environment variables:

docker run -i --rm --init \
  -e GOOGLE_API_KEY=your_api_key \
  -e DOCKER_CONTAINER=true \
  mcp/browser-use

Development Mode

For development with volume mounting:

docker run -i --rm --init \
  -e DOCKER_CONTAINER=true \
  -v $(pwd):/app \
  mcp/browser-use

Notes

  • The Docker container includes Chromium for headless browser automation
  • Make sure any required API keys are provided as environment variables
  • Required Environment Variables:
    • GOOGLE_API_KEY: API key for Google Generative AI (Gemini model)

Dependencies

This project uses:

About

MCP wrapper of browser-use

Resources

Stars

Watchers

Forks

Releases

No releases published
3E1A

Packages

 
 
 
0