MCP Browser Automation Server
by hrmeetsingh
local-only server
The server can only run on the client’s local machine because it depends on local resources.
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
- Clone the repository:
git clone https://github.com/hrmeetsingh/mcp-browser-automation.git
- Install dependencies:
npm install
- Verify the output executables are present in
dist
folder
Integration
- Create a configuration file in
~/Application\ Support/Claude/claude_desktop_config.json
(This is for macOS) - Copy the following to the file:
Copy
- Start Claude Desktop
Usage
- Open Claude Desktop
- 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.
Enables automation of browser tasks using Playwright by interacting via Claude Desktop for executing user-defined prompts and operations.