Browser Use Mcp Server

by bytedance

366 downloads
Not rated
GitHub

About

Browser automation capabilities using Puppeteer. This server enables LLMs to interact with web pages through structured accessibility snapshots, bypassing the need for screenshots or visually-tuned models.

Details

Author
bytedance
Downloads
366
Categories
Automation

- Fast and lightweight using Puppeteer's label index and accessibility DOM tree.
- LLM-optimized: operates on structured data, no vision models needed.
- Cross-platform and extensible with support for remote and local browsers.
- Works with any MCP client: VS Code, Cursor, Windsurf, Claude Desktop.
- Supports multiple transport modes: stdio, SSE, and Streamable HTTP.
- Offers in-memory integration for JavaScript/TypeScript MCP clients.

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Browser Use Mcp Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install by adding a JSON configuration to your MCP client (VS Code, Cursor, Windsurf, Claude Desktop, or any MCP client) using the command npx @agent-infra/mcp-server-browser@latest. The server supports local (stdio) mode by default, remote mode via SSE or Streamable HTTP by specifying a --port argument, and in-memory calls for JavaScript/TypeScript projects. Key configuration arguments include --browser, --cdp-endpoint, --headless, --proxy-server, --user-agent, and --viewport-size.

browser_navigate

Navigate to a URL

browser_go_back

Go back to the previous page

browser_go_forward

Go forward to the next page

browser_form_input_fill

Fill out an input field, before using the tool, Either 'index' or 'selector' must be provided

browser_get_markdown

Get the markdown content of the current page

browser_get_text

Get the text content of the current page

browser_read_links

Get all links on the current page

browser_new_tab

Open a new tab

browser_tab_list

Get the list of tabs

browser_switch_tab

Switch to a specific tab

browser_close_tab

Close the current tab

browser_evaluate

Execute JavaScript in the browser console

browser_get_download_list

Get the list of downloaded files

browser_screenshot

Take a screenshot of the current page or a specific element

browser_click

Click an element on the page, before using the tool, use `browser_get_clickable_elements` to get the index of the element, but not call `browser_get_clickable_elements` multiple times

browser_select

Select an element on the page with index, Either 'index' or 'selector' must be provided

browser_hover

Hover an element on the page, Either 'index' or 'selector' must be provided

browser_get_clickable_elements

Get the clickable or hoverable or selectable elements on the current page, don't call this tool multiple times

browser_scroll

Scroll the page

browser_close

Close the browser when the task is done and the browser is not needed anymore

browser_press_key

Press a key on the keyboard

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "browser use mcp server": {
            "browser": {
                "command": "npx",
                "args": [
                    "@agent-infra/mcp-server-browser@latest"
                ]
            }
        }
    }
}

McpServers

{
    "browser": {
        "command": "npx",
        "args": [
            "@agent-infra/mcp-server-browser@latest"
        ]
    }
}

Browser Use MCP Server

NPM Downloads

A Model Context Protocol (MCP) server that provides browser automation capabilities using Puppeteer. This server enables LLMs to interact with web pages through structured accessibility snapshots, bypassing the need for screenshots or visually-tuned models.

Key Features

- ⚡ Fast & lightweight. Utilizes Puppeteer's label index, not pixel-based input and accessibility DOM tree.
- 🤖 LLM-optimized. No vision models needed, operates purely on structured data, less context reducing context token usage.
- 🌐 Cross-Platform & Extensible. Support for remote and local browsers, the use of a custom browser engine.

Requirements

- Node.js 18 or newer
- VS Code, Cursor, Windsurf, Claude Desktop or any other MCP client

Getting started

Local (Stdio)

First, install the Browser MCP server with your client. A typical configuration looks like this:

{
  "mcpServers": {
    "browser": {
      "command": "npx",
      "args": [
        "@agent-infra/mcp-server-browser@latest"
      ]
    }
  }
}

Install in VS Code Install in VS Code Insiders

<details><summary><b>Install in VS Code</b></summary>

You can also install the Browser MCP server using the VS Code CLI:

```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.