MCP.so
Sign In

MCP Web Browser Server

@random-robbie

About MCP Web Browser Server

An advanced web browsing server for the Model Context Protocol (MCP) powered by Playwright, enabling headless browser interactions through a flexible, secure API.

Basic information

Category

Browser Automation

License

MIT

Runtime

python

Transports

stdio

Publisher

random-robbie

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "mcp-web-browser": {
      "command": "python",
      "args": [
        "-m",
        "venv",
        "venv"
      ]
    }
  }
}

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is MCP Web Browser Server?

MCP Web Browser Server is an advanced headless browsing server for the Model Context Protocol, powered by Playwright. It enables secure, programmatic browser interactions through a flexible API, making it suitable for developers who need to automate web tasks or extract data.

How to use MCP Web Browser Server?

Install the server with pip install mcp playwright and then run playwright install to install browser dependencies. Configure it for Claude Desktop by adding a JSON entry in claude_desktop_config.json that points to the server script. Use Python code to invoke tools like browse_to, click_element, and get_page_screenshots.

Key features of MCP Web Browser Server

  • Headless web browsing with SSL validation bypass
  • Full page content extraction including JavaScript-rendered content
  • Multi-tab creation, management, and switching
  • Click elements, input text, and capture screenshots
  • Extract page links with optional filtering
  • Scroll pages and execute JavaScript on pages

Use cases of MCP Web Browser Server

  • Automate form filling and login flows on websites
  • Extract structured data from dynamic web pages
  • Capture full-page or element-specific screenshots for testing
  • Conduct multi-tab research by opening and switching between pages
  • Perform automated web UI regression checks with headless browsing

FAQ from MCP Web Browser Server

What are the runtime requirements for MCP Web Browser Server?

Python 3.10 or higher, MCP SDK, Playwright, and browser dependencies installed via playwright install.

How is MCP Web Browser Server configured for Claude Desktop?

Add an entry to claude_desktop_config.json with the command python and the path to the server script as an argument.

What happens to browser resources after a period of inactivity?

Unused browser resources are automatically cleaned up to free memory and prevent resource leaks.

Does MCP Web Browser Server handle SSL certificate errors?

Yes, SSL certificate validation is automatically bypassed during navigation.

Can I use multiple browser tabs simultaneously?

Yes, the server provides tools to create, list, switch between, and close multiple tabs.

Comments

More Browser Automation MCP servers