Labsco
dlwjdtn535 logo

MCP Chrome Integration

β˜… 6

from dlwjdtn535

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

πŸ”₯πŸ”₯πŸ”₯βœ“ VerifiedFreeQuick setup

MCP Chrome Integration

smithery badge Buy Me A Coffee

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

Key Features

1. Page Navigation & Interaction

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

2. Element Manipulation

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

3. Page Analysis

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

4. Browser Features

  • Bookmark Management
  • Access Browser History
  • Handle Downloads
  • Show Notifications
  • Clipboard Management
  • Cookie Handling

5. System Integration

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

Important Notes

1. Chrome Security Restrictions

  • 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

2. Tab Management

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

3. Error Handling

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

Extension Features

1. Popup Interface

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

2. Background Features

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

3. Security Features

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

4. Debugging

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

License

MIT