MCP Chrome Integration

by dlwjdtn535

Not rated
GitHub

About

Control the Chrome browser for web automation using an AI model. Requires the MCP Chrome extension.

Details

Author
dlwjdtn535
Categories
Web Scraping, Automation, Other

1. Chrome Extension Installation & Setup

# Navigate to extension directory cd mcp-client

- Open Chrome browser
- Enterchrome://extensions/in address bar
- Enable "Developer mode" toggle in top-right
- Click "Load unpacked" button in top-left
- Select themcp-clientdirectory

- Click MCP extension icon in Chrome toolbar
- Enter server URL (default:ws://localhost:8012)
- Click "Connect" button to connect to server
- Connection status should change to "Connected"

- Works automatically in connected tabs
- For new tabs, click extension icon and connect
- Monitor operations in log window
- Click "Disconnect" to end connection

# Navigate to server directory cd mcp-server # Install dependencies pip install -r requirements.txt # Start server python src/server.py

- Server URL Configuration
- Connect/Disconnect Button
- Current Tab Status
- Log Message Viewer

- Tab Management
- WebSocket Connection Maintenance
- Automatic Reconnection
- Error Recovery

- HTTPS Support
- CSP Compliance
- Secure Script Execution
- Permission Management

- Log Viewing in Developer Tools
- Detailed Error Messages
- Network Communication Monitoring
- Execution State Tracking

- Verify Server URL
- Check Server Status
- Check Firewall Settings
- Verify WebSocket Port (8012) Availability

- Check CSP Restrictions
- Grant Required Permissions
- Review Console Error Messages
- Validate Tab IDs

- Monitor Memory Usage
- Disconnect Unused Tabs
- Adjust Status Update Frequency
- Optimize Large Data Processing

MCP server for browser automation via Vercel agent-browser CLI

Convert any URL to LLM-ready Markdown via real Chrome browsers. 3 tools: scrape, crawl, search. Free via MCP, pay-per-use via x402.

An MCP server that allows AI agents to control a web browser using the browser-use library.

Exposes Chrome browser functionality to AI assistants for automation, content analysis, and semantic search via a Chrome extension.

Control a Chrome browser through the Chrome DevTools Protocol (CDP) from MCP clients for browsing, inspection, and automation workflows.

Stealthy, LLM-drivable browser engine — a Python library + 85-tool MCP server on stealth Chromium with full Chrome DevTools Protocol.

Multi-session browser MCP for AI agents — stealth mode, session pooling, humanization, 10x fewer tokens than Playwright

A Go-based MCP server for interacting with the Lightpanda Browser using the Chrome DevTools Protocol (CDP).

A browser automation agent using the Model Context Protocol (MCP) to enable browser interactions.

A browser automation service for capturing console output, useful for tasks like public sentiment analysis.

A protocol that enables AI models to control Chrome browser and perform web automation.

- Python 3.12
- Google Chrome browser extension installed (websocket client)
- uv (Python package installer) or Docker

To install Chrome Browser Automation Server for Claude Desktop automatically viaSmithery:

npx -y @smithery/cli install @dlwjdtn535/mcp-chrome-integration --client claude

Choose one of the following setup methods based on your environment:

{ "mcpServers": { "mcp-chrome-integration": { "command": "uv", "args": [ "run", "--directory", "%LOCALAPPDATA%\\Programs\\mcp-chrome-integration\\src", "mcp-server" ], "env": { "WEBSOCKET_PORT": "8012" } } } }
{ "mcpServers": { "mcp-chrome-integration": { "command": "uv", "args": [ "run", "--directory", "/usr/local/bin/mcp-chrome-integration/src", "mcp-server" ], "env": { "WEBSOCKET_PORT": "8012" } } } }
{ "mcpServers": { "mcp-chrome-integration": { "command": "uv", "args": [ "run", "--directory", "/usr/local/bin/mcp-chrome-integration/src", "mcp-server" ], "env": { "WEBSOCKET_PORT": "8012" } } } }

- URL Navigation
- Element Clicking
- Text Input
- Form Filling
- Page Scrolling
- Table Data Extraction
- JavaScript Code Execution

- Get Element Information (dimensions, styles, visibility)
- Wait for Elements
- Change Background Colors
- Get Page State and Content

- Get HTML Content
- Count Links
- Extract Meta Tags
- Get Image Information
- Form Analysis
- Page Content Streaming

- Get System Information
- Access Geolocation
- Monitor Power/Battery Status
- Take Screenshots

# Navigate to URL tool_navigate_to(url="https://example.com", tab_id="your_tab_id") # Click Element tool_click_element(selector="#submit-button", tab_id="your_tab_id") # Type Text tool_type_text(selector="#search", text="query", tab_id="your_tab_id") # Check Page State tool_state(tab_id="your_tab_id") # Execute JavaScript tool_execute_script(script="console.log('Hello')", tab_id="your_tab_id") # Extract Table Data tool_extract_table(selector=".data-table", tab_id="your_tab_id") # Get Element Info tool_get_element_info(selector=".my-element", tab_id="your_tab_id")

- Does not work on chrome:// URLs
- Only works on regular websites (http:// or https://)
- Some websites' Content Security Policy (CSP) may restrict certain operations
- Consider website's CSP when executing JavaScript

- tab_id required for all operations
- Use tool_tab_list() to check available tabs
- Check tab state before operations

- Check return values for success/failure status
- Handle timeouts for wait operations
- Consider website loading state

1. Chrome Extension Installation & Setup

# Navigate to extension directory cd mcp-client

- Open Chrome browser
- Enterchrome://extensions/in address bar
- Enable "Developer mode" toggle in top-right
- Click "Load unpacked" button in top-left
- Select themcp-clientdirectory

- Click MCP extension icon in Chrome toolbar
- Enter server URL (default:ws://localhost:8012)
- Click "Connect" button to connect to server
- Connection status should change to "Connected"

- Works automatically in connected tabs
- For new tabs, click extension icon and connect
- Monitor operations in log window
- Click "Disconnect" to end connection

# Navigate to server directory cd mcp-server # Install dependencies pip install -r requirements.txt # Start server python src/server.py

- Server URL Configuration
- Connect/Disconnect Button
- Current Tab Status
- Log Message Viewer

- Tab Management
- WebSocket Connection Maintenance
- Automatic Reconnection
- Error Recovery

- HTTPS Support
- CSP Compliance
- Secure Script Execution
- Permission Management

- Log Viewing in Developer Tools
- Detailed Error Messages
- Network Communication Monitoring
- Execution State Tracking

- Verify Server URL
- Check Server Status
- Check Firewall Settings
- Verify WebSocket Port (8012) Availability

- Check CSP Restrictions
- Grant Required Permissions
- Review Console Error Messages
- Validate Tab IDs

- Monitor Memory Usage
- Disconnect Unused Tabs
- Adjust Status Update Frequency
- Optimize Large Data Processing

MCP server for browser automation via Vercel agent-browser CLI

Convert any URL to LLM-ready Markdown via real Chrome browsers. 3 tools: scrape, crawl, search. Free via MCP, pay-per-use via x402.

An MCP server that allows AI agents to control a web browser using the browser-use library.

Exposes Chrome browser functionality to AI assistants for automation, content analysis, and semantic search via a Chrome extension.

Control a Chrome browser through the Chrome DevTools Protocol (CDP) from MCP clients for browsing, inspection, and automation workflows.

Stealthy, LLM-drivable browser engine — a Python library + 85-tool MCP server on stealth Chromium with full Chrome DevTools Protocol.

Multi-session browser MCP for AI agents — stealth mode, session pooling, humanization, 10x fewer tokens than Playwright

A Go-based MCP server for interacting with the Lightpanda Browser using the Chrome DevTools Protocol (CDP).

A browser automation agent using the Model Context Protocol (MCP) to enable browser interactions.

A browser automation service for capturing console output, useful for tasks like public sentiment analysis.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.