loading…
Search for a command to run...
loading…
An MCP server that enables AI agents to control a real Google Chrome instance using specific user profiles, cookies, and extensions. It provides 18 tools for br
An MCP server that enables AI agents to control a real Google Chrome instance using specific user profiles, cookies, and extensions. It provides 18 tools for browser navigation, element interaction, and page inspection via the Chrome DevTools Protocol.
MCP server that launches Chrome with a specific user profile and exposes browser control tools via the Model Context Protocol. AI agents (Claude Code, Claude Desktop, etc.) can then navigate, click, type, take screenshots, and more — all using your real Chrome sessions, cookies, and extensions.
# Interactive mode — pick a profile
npx chrome-profile-mcp
# Non-interactive — specify profile directly
npx chrome-profile-mcp --profile "Default"
| Flag | Description | Default |
|---|---|---|
-p, --profile <name> |
Chrome profile directory name (skip selection) | interactive |
--port <number> |
CDP debugging port | 9222 |
--debug |
Enable debug logging | off |
Add to .mcp.json in your project root:
{
"mcpServers": {
"chrome": {
"type": "stdio",
"command": "npx",
"args": ["-y", "chrome-profile-mcp", "--profile", "Default"]
}
}
}
Or with a local build:
{
"mcpServers": {
"chrome": {
"type": "stdio",
"command": "node",
"args": ["/path/to/chrome-profile-mcp/dist/cli.js", "--profile", "Default"]
}
}
}
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"chrome-browser": {
"command": "node",
"args": ["/path/to/chrome-profile-mcp/dist/cli.js", "--profile", "Default"]
}
}
}
Note:
--profileis required for Claude Code/Desktop since there's no TTY for interactive selection.
| Tool | Description |
|---|---|
navigate |
Navigate active tab to a URL |
go_back |
Go back in browser history |
go_forward |
Go forward in browser history |
reload |
Reload current page |
list_tabs |
List all open tabs with URLs |
switch_tab |
Switch active tab by index |
new_tab |
Open new tab (optionally with URL) |
close_tab |
Close tab by index (default: active) |
| Tool | Description |
|---|---|
click |
Click element by CSS selector |
type |
Type text into input element |
scroll |
Scroll page or element into view |
hover |
Hover over element |
select_option |
Select dropdown option |
press_key |
Press keyboard key |
| Tool | Description |
|---|---|
screenshot |
Capture page/element screenshot (returns PNG) |
get_page_content |
Get page HTML or element text |
evaluate_js |
Execute JavaScript in page context |
wait_for |
Wait for element to appear |
Local State to discover available profiles--remote-debugging-port using the selected profile/Applications/Google Chrome.app)--remote-debugging-port on the same portget_page_content truncates at 50K chars to prevent context overflownpm install
npm run build
npm run dev # Run with tsx (interactive mode)
npm run dev -- --profile Default # Non-interactive
MIT
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"chrome-profile-mcp-server": {
"command": "npx",
"args": []
}
}
}