mcp-browser-server
Click on "Deploy 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-server Go 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-server
Give your AI assistant a real browser. Navigate, click, fill forms, and take screenshots via any MCP client.
A Model Context Protocol (MCP) server that gives AI assistants like Claude full browser control. Connect to local or cloud browsers (AnchorBrowser, Browserbase) and automate web interactions directly from your AI workflows.
What it does
Instead of telling your AI agent how to scrape a website, you give it a real browser. The AI can:
Navigate to any URL
Click buttons and links
Fill out and submit forms
Take screenshots
Read page content and extract data
Handle authentication (SSO, multi-step logins)
Related MCP server: mcp-browser-kit
MCP Tools Provided
Tool | Description |
| Go to a URL |
| Click an element by selector or description |
| Type text into an input field |
| Take a screenshot of the current page |
| Get page HTML or extracted text |
| Run JavaScript in the browser |
| Wait for an element or condition |
| Scroll the page |
Installation
npm install -g mcp-browser-serverOr clone and run locally:
git clone https://github.com/mehranakila56-ops/mcp-browser-server.git
cd mcp-browser-server
npm installConfiguration
With Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"browser": {
"command": "npx",
"args": ["mcp-browser-server"],
"env": {
"BROWSER_PROVIDER": "local",
"HEADLESS": "true"
}
}
}
}With Cloud Browser (AnchorBrowser)
For stealth mode, CAPTCHA solving, and residential proxies:
{
"mcpServers": {
"browser": {
"command": "npx",
"args": ["mcp-browser-server"],
"env": {
"BROWSER_PROVIDER": "anchorbrowser",
"ANCHOR_API_KEY": "your-api-key-here"
}
}
}
}Environment Variables
Variable | Default | Description |
|
|
|
|
| Run browser in headless mode (local only) |
| — | AnchorBrowser API key |
| — | Browserbase API key |
|
| Browser session timeout (5 min) |
|
| Screenshot format: |
Usage Examples
Once configured with Claude, you can say:
"Go to github.com/trending and show me the top 5 repos today"
"Log into our staging environment at staging.example.com and check if the signup form works"
"Take a screenshot of https://example.com and describe what you see"
"Fill out the contact form at example.com/contact with my info: name=Jane, email=jane@example.com, message='Hello'"
Architecture
Claude / AI Assistant
↓ MCP protocol
mcp-browser-server
↓ WebSocket / CDP
Browser (local Chromium or cloud)
↓
Target WebsiteWhy Cloud Browsers?
Local browsers get blocked by CAPTCHAs and bot detection. Cloud browsers like AnchorBrowser provide:
✅ Human fingerprinting (passes Cloudflare, DataDome)
✅ Residential proxy rotation
✅ CAPTCHA auto-solving
✅ Persistent sessions across runs
✅ No local Chrome installation needed
Development
npm install
npm run dev # Starts MCP server with hot reload
# Run against a specific provider
BROWSER_PROVIDER=local npm run devContributing
PRs welcome! Please open an issue first for significant changes.
License
MIT
Related: awesome-ai-browser-agents — curated list of browser automation tools for AI agents
Available Tools
8 toolsbrowser_clickB
Click on an element in the browser. Can target by CSS selector, text content, or ARIA label.
Inputs: selector, text.
browser_evaluateA
Execute JavaScript in the browser and return the result. Useful for complex extractions.
Inputs: script (required).
browser_get_contentA
Get the text content or HTML of the current page or a specific element.
Inputs: selector, format, maxLength.
browser_screenshotA
Take a screenshot of the current browser page. Returns a base64-encoded PNG image.
Inputs: selector, fullPage.
browser_scrollC
Scroll the page or an element.
Inputs: direction, amount.
browser_typeB
Type text into an input field or textarea.
Inputs: selector (required), text (required), clear.
browser_waitC
Wait for an element to appear on the page.
Inputs: selector (required), timeout, state.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
Each tool has a distinct action (click, type, navigate, etc.) with clear descriptions, making them easily distinguishable for an agent.
All tools follow a consistent `browser_verb` snake_case pattern, making naming predictable and easy to remember.
8 tools cover core browser interactions without being excessive, well-scoped for the purpose of browser automation.
Covers essential operations like navigation, clicking, typing, scrolling, and content extraction. Missing features like browser back/forward or dialog handling, but covers the main workflows.
Maintenance
Related MCP Connectors
MCP server that lets your AI assistant build and deploy apps, hosting each one at a live URL.
Web scraping, browser automation, screenshots and AI data extraction for AI agents via MCP.
Official Browserless MCP server: browser automation, scraping, screenshots and PDFs for AI agents.
MCP server for building and testing AI agents with multi-model experimentation and insights.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn MCP server that enables AI assistants to control a web browser through natural language commands, allowing them to navigate websites and extract information via SSE transport.849MIT
- AlicenseNot gradedqualityBmaintenanceAn MCP Server that enables AI assistants to interact with your local browsers.4,744 npm55MIT
- FlicenseBqualityDmaintenanceAn MCP server that enables AI coding tools to control a browser for automated actions, UI extraction, network interception, and screenshots.231-
- AlicenseAqualityCmaintenanceMCP server that gives AI coding assistants direct access to the browser — navigate, click, fill forms, run JavaScript, take screenshots, and read page content.1175 npm1MIT