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:
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
local-only server
The server can only run on the client's local machine because it depends on local resources.
Tools
Enables automation of browser tasks using Playwright by interacting via Claude Desktop for executing user-defined prompts and operations.
Related Resources
Related MCP Servers
- AsecurityFlicenseAqualityA 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 -127,9921
- AsecurityFlicenseAqualityEnables 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 -1236
- AsecurityAlicenseAqualityA browser automation server providing Playwright capabilities for controlling web browsers, capturing screenshots, extracting content, and performing complex interactions through an MCP interface.Last updated -6Apache 2.0
- -security-license-qualityA server that integrates Playwright with Cloudflare Workers to enable browser automation tasks through LLM models in AI platforms like Claude and Copilot.
Appeared in Searches
- Methods for Parsing Emails
- Tools and techniques for scraping website data, creating event calendars, and building YouTube playlists
- A server for finding gaming-related content
- Understanding File System Operations: Read, Write, and Edit Directories
- How to generate theme colors and download fonts in Figma