mcp-browser-automation
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-browser-automationGo to example.com and take a screenshot"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-browser-automation
An MCP (Model Context Protocol) server for generic browser automation using Playwright. Exposes a headless Chromium instance as a set of callable tools so that MCP clients — such as AI coding assistants — can navigate pages, inspect elements, execute JavaScript, capture screenshots, and monitor console logs and network traffic.
Requirements
Node.js 18+
npm
Related MCP server: LCBro
Installation
npm install
npx playwright install chromiumUsage
npm run build
npm startOr for development with hot reload:
npm run devThe server listens on stdin/stdout using the MCP stdio transport. Configure your MCP client to launch it as a subprocess.
Claude Desktop:
{
"mcpServers": {
"browser-automation": {
"command": "npx",
"args": ["github:ritesh-jain/MCP-Browser-Automation"]
}
}
}Opencode:
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"mcp-browser-automation": {
"type": "local",
"enabled": true,
"command": [
"npx",
"github:ritesh-jain/MCP-Browser-Automation"
]
}
}
}Tools
Tool | Description |
| Navigate to a URL. Supports custom viewport and mobile emulation. |
| Take a full-page screenshot (saved to |
| Retrieve browser console logs. Optionally clear after read. |
| Retrieve network requests and responses. Optionally clear after read. |
| Execute arbitrary JavaScript in the page context. |
| Click, type, fill, or select on a CSS selector. |
| Return tag name, id, class, inner text, outer HTML, and computed styles for an element. |
Project Structure
src/
types.ts Shared type definitions
McpServer.ts MCP protocol layer — tool registration and dispatch
BrowserManager.ts Playwright orchestration — browser lifecycle and page interactions
index.ts Entry pointHow It Works
index.tscreates anMcpBrowserServerand connects viaStdioServerTransport.An MCP client discovers tools via the
ListToolsrequest and calls them viaCallToolRequest.McpBrowserServerlazily initializes the browser on the first tool call and delegates toBrowserManager.The browser stays open across calls, enabling multi-step interactions on the same page.
License
ISC
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBquality-maintenanceA MCP server that provides browser automation tools, allowing users to navigate websites, take screenshots, click elements, fill forms, and execute JavaScript through Playwright.Last updated82
- Alicense-qualityDmaintenanceA powerful MCP server for browser automation that supports both Playwright and Chrome DevTools Protocol (CDP) with intelligent preprocessing, comprehensive logging, and remote browser management capabilities. Enables users to perform web automation tasks like navigation, content extraction, form interactions, and screenshot capture through natural language.Last updated526MIT
- Alicense-qualityDmaintenanceEnables browser automation and web scraping by exposing Playwright tools through an HTTP-based MCP server. Users can navigate pages, interact with web elements, capture screenshots, and extract structured content using a persistent Chromium instance.Last updatedMIT
- Alicense-qualityDmaintenanceA comprehensive browser automation MCP server using Playwright, offering 50+ tools for page control, element interaction, content extraction, and more across multiple browser engines.Last updated341MIT
Related MCP Connectors
Hosted real Google Chrome MCP with per-user persistent state. Navigate, click, type, screenshot.
Browser MCP for logged-in tasks. Uses your Chrome — credentials stay local. Zero-token replay.
Live browser debugging for AI assistants — DOM, console, network via MCP.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ritesh-jain/MCP-Browser-Automation'
If you have feedback or need assistance with the MCP directory API, please join our Discord server