home / mcp / chrome mcp server
Chrome MCP Server is a Chrome extension-based Model Context Protocol (MCP) server that exposes your Chrome browser functionality to AI assistants like Claude, enabling complex browser automation, content analysis, and semantic search.
Configuration
View docs{
"mcpServers": {
"hangwin-mcp-chrome": {
"url": "http://127.0.0.1:12306/mcp"
}
}
}Turn your Chrome browser into an intelligent, local assistant by running a Chrome MCP Server. This server exposes your Chrome browser functionality to AI assistants, enabling complex automation, content analysis, and semantic search directly in your existing browser environment while preserving privacy and login state.
You can connect an MCP client to control your Chrome browser through the Streamable HTTP method or via a local stdio workflow. The Streamable HTTP option is the recommended, straightforward path for ongoing interactions. The stdio approach runs a local process that your client can spawn and communicate with directly.
Connection options you can use from your MCP client include the HTTP streamable channel and a local stdio bridge. Use whichever matches your setup and preference. The HTTP method keeps the browser server accessible over a local HTTP endpoint, while the stdio method runs a local process that your client executes and talks to via standard I/O.
Below are explicit configuration examples you can copy into your MCP client setup. Adjust paths and URLs to fit your environment.
{
"mcpServers": {
"chrome-mcp-server": {
"type": "streamableHttp",
"url": "http://127.0.0.1:12306/mcp"
}
}
}{
"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"
]
}
}
}Navigate to URLs and control the browser viewport to move through pages programmatically.
Switch the active browser tab to a target tab by index or identifier.
Close specific tabs or entire browser windows as directed.
Navigate backward or forward through the browser history.
Inject a content script into a web page to modify behavior or extract data.
Send commands from the MCP to an already injected script for dynamic control.
Capture screenshots with options for elements, full-page capture, and custom dimensions.
Begin or end network capture using the webRequest API for monitoring traffic.
Use the debugger API to inspect responses and bodies from network requests.
Send custom HTTP requests from the browser context.
AI-powered semantic search across content from open tabs.
Extract HTML or text content from a loaded page.
Identify clickable or interactive elements on a page for automation.
Capture and retrieve console output from browser tabs.
Search browser history with support for time ranges.
Find bookmarks by keywords across folders.
Add new bookmarks and organize them into folders.
Delete bookmarks as needed.
Click elements using CSS selectors to perform page actions.
Fill form fields and select options to interact with pages.
Simulate keyboard input and shortcuts within the browser.