Browser Automation

by hrmeetsingh

11 stars
Not rated
GitHub

About

Integrates Playwright with MCP to enable automated web interactions, scraping, and testing across browsers.

Details

Author
hrmeetsingh
Repository
hrmeetsingh/mcp-browser-automation
GitHub stars
11
License
MIT License
Categories
Productivity, Design, Developer Tools, AI, Knowledge Base, Project Management, API, Automation

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 Automation
    Command (node, npx, python, etc.) node
    Arguments
    • Argument 1 /path/to/mcp-browser-automation/dist/index.js

    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

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

Claude Desktop / Cursor

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

{
    "mcpServers": {
        "browser automation": {
            "cwd": "optional",
            "env": {},
            "args": [
                "/path/to/mcp-browser-automation/dist/index.js"
            ],
            "command": "node"
        }
    }
}

Linux

{
    "cwd": "optional",
    "env": [],
    "args": [
        "/path/to/mcp-browser-automation/dist/index.js"
    ],
    "command": "node"
}

Macos

{
    "cwd": "optional",
    "env": [],
    "args": [
        "/path/to/mcp-browser-automation/dist/index.js"
    ],
    "command": "node"
}

Windows

{
    "cwd": "optional",
    "env": [],
    "args": [
        "/path/to/mcp-browser-automation/dist/index.js"
    ],
    "command": "node"
}

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.

<a href="https://glama.ai/mcp/servers/hokppvk1dy">Browser Automation Server MCP server</a>

Pre-requisites

- Playwright
- Claude Desktop
- Node.js

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"]
}
}
}

3. 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
Added MCP Server options

- Navigating to a URL and doing actions with playwright
Navigating to a URL and entering text

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.