MCP Browser Automation Server

by hrmeetsingh

MCP Browser Automation

This is demo project to practice Model Context Protocol based server implemenation for automating browsing with Playwright. It interacts with a Claude Desktop client to accept user prompts and use server to control browser.

Pre-requisites

Building

  1. Clone the repository: git clone https://github.com/hrmeetsingh/mcp-browser-automation.git
  2. Install dependencies: npm install
  3. Verify the output executables are present in dist folder

Integration

  1. Create a configuration file in ~/Application\ Support/Claude/claude_desktop_config.json (This is for macOS)
  2. Copy the following to the file:
{ "mcpServers": { "mcp-browser-automation": { "command": "node", "args": ["/path/to/mcp-browser-automation/dist/index.js"] } } }
  1. Start Claude Desktop

Usage

  1. Open Claude Desktop
  2. Start a new conversation to open a browser and navigate to a URL

Example

  • Added MCP Server options
  • Navigating to a URL and doing actions with playwright

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

local-only server

The server can only run on the client's local machine because it depends on local resources.

Enables automation of browser tasks using Playwright by interacting via Claude Desktop for executing user-defined prompts and operations.

  1. Pre-requisites
    1. Building
      1. Integration
        1. Usage
          1. Example

            Related MCP Servers

            • A
              security
              F
              license
              A
              quality
              A server that enables browser automation using Playwright, allowing interaction with web pages, capturing screenshots, and executing JavaScript in a browser environment through LLMs.
              Last updated -
              12
              5,597
              1
              TypeScript
            • -
              security
              F
              license
              -
              quality
              Provides a server utilizing Model Context Protocol to enable human-like browser automation with Playwright, allowing control over browser actions such as navigation, element interaction, and scrolling.
              Last updated -
              2
              TypeScript
            • A
              security
              F
              license
              A
              quality
              Enables LLMs to perform browser automation through the Playwright framework with Chrome DevTools Protocol support, connecting to existing Chrome instances for advanced web interactions and JavaScript execution.
              Last updated -
              12
              9
              TypeScript
            • -
              security
              -
              license
              -
              quality
              Playwright wrapper for MCP that enables LLM-powered clients to control a browser for automation tasks.
              Last updated -
              Python

            View all related MCP servers

            ID: hokppvk1dy