
mcp-browser-agent
by imprvhub·★ 38·Score 45
An MCP server providing Claude with autonomous browser automation capabilities including DOM manipulation, JavaScript execution, and API requests.
Overview
MCP Browser Agent is a comprehensive Model Context Protocol integration that extends Claude Desktop's capabilities with autonomous browser automation. Built on Playwright, it enables AI agents to interact with web content through various tools including navigation, screenshot capture, DOM manipulation, and JavaScript execution. The server maintains persistent browser state, captures console logs, and provides a full-featured API client for making HTTP requests. This allows Claude to perform complex web automation tasks with intelligent error recovery and multi-step instruction following.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose this when you need Claude to autonomously interact with web applications, perform data extraction, or automate browser-based workflows.
When NOT to choose this
Avoid if you need browser automation outside of Claude Desktop, or if you require headless browser operations without visual debugging capabilities.
Tools this server exposes
12 tools extracted from the READMEbrowser_navigateNavigate to a URL
browser_screenshotCapture screenshot
browser_clickClick element
browser_fillFill form input
browser_selectSelect dropdown option
browser_hoverHover over element
browser_evaluateExecute JavaScript
api_getGET request
api_postPOST request
api_putPUT request
api_patchPATCH request
api_deleteDELETE request
Comparable tools
Installation
Installation
- Clone the repository:
git clone https://github.com/imprvhub/mcp-browser-agent
cd mcp-browser-agent- Install dependencies:
npm install- Build the project:
npm run build- Configure Claude Desktop:
Add the following to your claude_desktop_config.json:
{
"mcpServers": {
"browserAgent": {
"command": "node",
"args": ["ABSOLUTE_PATH_TO_DIRECTORY/mcp-browser-agent/dist/index.js", "--browser", "chrome"]
}
}
}Replace ABSOLUTE_PATH_TO_DIRECTORY with the actual path to the project directory.
FAQ
- Which browsers are supported?
- The MCP Browser Agent supports Chrome (default), Firefox, Microsoft Edge, and WebKit (Safari engine). Browser drivers are automatically installed when first used.
- How do I change the browser type?
- You can specify the browser type through configuration file, command line argument, environment variable, or Claude Desktop configuration. See the Browser Selection section in the README for detailed instructions.
On Hacker News
Recent discussion from the developer community.
- Story by ivanimprv · 2025-05-12
Compare mcp-browser-agent with
Last updated · Auto-generated from public README + GitHub signals.