Chrome MCP Server is a powerful Chrome extension that transforms your browser into an AI-controlled automation tool. It allows AI assistants like Claude to take control of your existing Chrome browser, leveraging your configurations, login states, and habits to automate tasks, analyze content, and perform semantic searches across your tabs.
Chrome MCP Server implements the Model Context Protocol (MCP) to expose Chrome browser functionality to AI assistants. Unlike traditional browser automation tools that require separate browser instances, Chrome MCP Server works directly with your everyday Chrome browser, preserving all your existing settings and login states.
Download the Chrome extension
Download the latest release from GitHub Releases
Install mcp-chrome-bridge globally
Using npm:
npm install -g mcp-chrome-bridge
Using pnpm:
# Method 1: Enable scripts globally (recommended)
pnpm config set enable-pre-post-scripts true
pnpm install -g mcp-chrome-bridge
# Method 2: Manual registration (if postinstall doesn't run)
pnpm install -g mcp-chrome-bridge
mcp-chrome-bridge register
Note: pnpm v7+ disables postinstall scripts by default for security. If automatic registration fails, use the manual registration command.
Load the Chrome Extension
Add the following configuration to your MCP client (using CherryStudio as an example):
{
"mcpServers": {
"chrome-mcp-server": {
"type": "streamableHttp",
"url": "http://127.0.0.1:12306/mcp"
}
}
}
If your client only supports STDIO connection:
Check the installation location of the npm package:
# npm check method
npm list -g mcp-chrome-bridge
# pnpm check method
pnpm list -g mcp-chrome-bridge
Use the full path in your configuration:
{
"mcpServers": {
"chrome-mcp-stdio": {
"command": "npx",
"args": [
"node",
"/Users/xxx/Library/pnpm/global/5/node_modules/mcp-chrome-bridge/dist/mcp/mcp-server-stdio.js"
]
}
}
}
Chrome MCP Server provides over 20 powerful tools across various categories:
get_windows_and_tabs
- List all browser windows and tabschrome_navigate
- Navigate to URLs and control viewportchrome_close_tabs
- Close specific tabs or windowschrome_go_back_or_forward
- Browser navigation controlchrome_inject_script
- Inject content scripts into web pageschrome_send_command_to_inject_script
- Send commands to injected content scriptschrome_screenshot
- Advanced screenshot capture with element targeting, full-page support, and custom dimensionschrome_network_capture_start/stop
- webRequest API network capturechrome_network_debugger_start/stop
- Debugger API with response bodieschrome_network_request
- Send custom HTTP requestssearch_tabs_content
- AI-powered semantic search across browser tabschrome_get_web_content
- Extract HTML/text content from pageschrome_get_interactive_elements
- Find clickable elementschrome_console
- Capture and retrieve console output from browser tabschrome_click_element
- Click elements using CSS selectorschrome_fill_or_select
- Fill forms and select optionschrome_keyboard
- Simulate keyboard input and shortcutschrome_history
- Search browser history with time filterschrome_bookmark_search
- Find bookmarks by keywordschrome_bookmark_add
- Add new bookmarks with folder supportchrome_bookmark_delete
- Delete bookmarksThe Chrome MCP Server enables AI assistants to perform a variety of tasks:
If you encounter issues:
To add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "chrome-mcp-server" '{"type":"streamableHttp","url":"http://127.0.0.1:12306/mcp"}'
See the official Claude Code MCP documentation for more details.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"chrome-mcp-server": {
"type": "streamableHttp",
"url": "http://127.0.0.1:12306/mcp"
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
2. Add this to your configuration file:
{
"mcpServers": {
"chrome-mcp-server": {
"type": "streamableHttp",
"url": "http://127.0.0.1:12306/mcp"
}
}
}
3. Restart Claude Desktop for the changes to take effect