Chrome Devtools Advanced MCP
Enables AI assistants to control Chrome using real user profiles, providing undetectable automation with over 40 tools for navigation, data extraction, and interaction.
README
Chrome Devtools Advanced MCP
<img src="assets/logo.png" align="right" width="120" height="auto" alt="Logo">
Your Intelligent Bridge Between AI and the Browser.
This Model Context Protocol (MCP) server enables AI assistants like Claude, Roo Code, or Windsurf to interact with Google Chrome in a natural, powerful, and stealthy way. Unlike other automation tools, this solution connects to your actual browser profile, allowing you to use your existing login sessions, cookies, and extensions without detection.
✨ Why Use This?
- 🕵️ "Human" Navigation: Uses your real Chrome profile. If you're logged into LinkedIn, Gmail, or your corporate ERP, your AI assistant is too.
- 🛡️ Undetectable: Advanced "Shadow Profile" technology prevents browser automation blocking on complex sites.
- 🛠️ Robust Toolset: Over 40+ specialized tools optimized for data scraping, specific element extraction, and visual analysis.
- ⚡ Fast & Safe: Safely executes scripts and screenshots, with intelligent output truncation to prevent crashing your AI context.
🚀 Quick Installation
For Users (VS Code / Cline / Kilo Code / Antigravity / Claude Desktop)
Simply add this to your mcp.json configuration file:
{
"mcpServers": {
"chrome-devtools-advanced-mcp": {
"command": "npx",
"args": ["-y", "chrome-devtools-advanced-mcp", "--port=9223"]
}
}
}
Restart your assistant (Ctrl+R in VS Code), and you'll have instant access.
💡 Simplified Usage Guide
1. Launch the Browser
First, ask your AI:
"Launch Chrome with my default profile"
This triggers launch_chrome_with_profile, creating a controllable Chrome instance without closing your other windows.
2. Navigate & Analyze
You can ask:
- "Go to amazon.com and search for laptops"
- "Analyze the HTML of the login form" (Uses optimized
get_html) - "Take a screenshot of the pricing table"
3. Interact
The AI can click, type, and fill forms intelligently, waiting for elements to load automatically.
🛠️ Tool List
<details> <summary><strong>👇 Click here to view all available tools</strong></summary>
🎭 Browser & Session Control
| Tool | Description |
|---|---|
launch_chrome_with_profile |
Start Here! Launches Chrome with your cookies/extensions. |
browser_action |
Navigate, reload, go back/forward. |
manage_tabs |
Create, close, switch, or list tabs. |
close_browser |
Safely closes the controlled session. |
🔍 Analysis & Extraction
| Tool | Description |
|---|---|
get_html |
Critical. Extracts simplified or full HTML. Supports selectors. |
screenshot |
Captures visual proof (png/jpeg). |
get_page_metrics |
Layout and viewport analysis. |
get_accessibility_tree |
See the page structure as screen readers do. |
🖱️ Interaction
| Tool | Description |
|---|---|
perform_interaction |
Click, Type, Hover, Drag & Drop with auto-wait. |
execute_script |
Run custom JavaScript safely (requires return). |
extract_element_data |
Get specific text or attributes from elements. |
set_viewport |
Resize window for responsive testing. |
🛡️ Anti-Detection & Privacy
| Tool | Description |
|---|---|
enable_stealth_mode |
Hides automation flags. |
set_user_agent |
Spoof device/browser identity. |
set_geolocation |
Mock GPS coordinates. |
set_timezone |
Change browser timezone. |
📡 Network (Advanced)
| Tool | Description |
|---|---|
capture_network_on_action |
Record traffic while performing an action. |
resend_network_request |
Replay captured API calls. |
start_har_recording |
Save full network logs (HAR format). |
monitor_websocket_messages |
Listen to socket traffic. |
🍪 Storage & Cookies
| Tool | Description |
|---|---|
get_cookies / set_cookie |
Manage browser cookies. |
get_local_storage |
Read/Write local storage data. |
export_session |
Save current session state to file. |
</details>
❓ FAQ
Do I need to close my Chrome? No! Thanks to "Shadow Profile" technology, this server creates a temporary safe clone of your profile. You can keep browsing normally while the AI works in parallel.
Does it work on Mac/Linux? Yes, it is fully cross-platform.
I see "Tool disabled by user" error This is a VS Code security feature.
- Reload VS Code (
Ctrl+R). - When the AI tries to use a tool again, click "Always Allow" on the popup.
👨💻 For Developers
To contribute or run locally:
git clone https://github.com/Eddym06/devTools-Advance-mcp.git
cd custom-chrome-mcp
npm install
npm run build
npm start
Developed with ❤️ by @eddym06
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。