Labsco
lxe logo

Chrome MCP Server

β˜… 48

from lxe

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

πŸ”₯πŸ”₯πŸ”₯βœ“ VerifiedFreeNeeds API keys

Chrome MCP Server

A Model Context Protocol (MCP) server that provides fine-grained control over a Chrome browser instance through the Chrome DevTools Protocol (CDP).

Available Tools

The server provides the following tools for browser control:

navigate

Navigate to a specific URL.

Parameters:

  • url (string): The URL to navigate to

click

Click at specific coordinates.

Parameters:

  • x (number): X coordinate
  • y (number): Y coordinate

type

Type text at the current focus.

Parameters:

  • text (string): Text to type

clickElement

Click on an element by its index in the page info.

Parameters:

  • selector (string): Element index (e.g., "0" for the first element)

getText

Get text content of an element using a CSS selector.

Parameters:

  • selector (string): CSS selector to find the element

getPageInfo

Get semantic information about the page including interactive elements and text nodes.

getPageState

Get current page state including URL, title, scroll position, and viewport size.

Development

To run the server in development mode with hot reloading:

Copy & paste β€” that's it
bun dev

This uses Bun's built-in watch mode to automatically restart the server when files change.

License

MIT