Chrome for AI

Chrome for AI

Enables AI agents to drive real Google Chrome with stealth and captcha handling, using Patchright to avoid bot detection.

Category
Visit Server

README

Chrome for AI

MCP server: AI agents drive real Google Chrome — click, type, tabs, cookies — with Patchright under official Microsoft Playwright MCP so the CDP handshake is less obvious to bot detection.

Not a fork of microsoft/playwright-mcp. Same official tools (~63 browser_*). Extra stealth/captcha helpers on top.

Docs: ARCHITECTURE.md · CONNECT.md (Grok, Antigravity, Codex, Claude, Cursor, VS Code, Gemini, …)


Tiếng Việt — đã làm được gì

Agent gắn MCP này có thể:

  • Mở trang, click, gõ, điền form, hover, kéo thả, upload, dialog, back, tab
  • Đọc accessibility snapshot (không bắt buộc model vision)
  • Cookie / localStorage, screenshot, PDF, chạy JS, xem network
  • Giữ login giữa các phiên (Chrome profile bền)
  • Audit fingerprint (stealth_audit), mở bot.sannysoft.com (stealth_check)
  • Nhận diện captcha / Cloudflare IUAM; đợi challenge JS thụ động tự hết
  • Proxy, gắn Chrome đang mở (CDP), headed mặc định

Chưa / không làm: giải reCAPTCHA/hCaptcha tương tác, farm token, anti-detect 100%, giả IP (cần proxy).

Grok đã mcp doctor handshake OK, 70 tools.


Install

git clone https://github.com/Pelag-Michael/Chrome-for-AI.git
cd Chrome-for-AI
npm install
npm test
node scripts/doctor.mjs

Then point any MCP client at node /ABS/PATH/Chrome-for-AI/src/index.mjs. Full recipes: CONNECT.md.

Grok shortcut:

node scripts/install-grok.mjs
grok mcp doctor chrome-for-ai   # or grok-browser if you used the older name

Stack

Layer Package Role
Official tools @playwright/mcp@0.0.78 Navigate, click, type, snapshot, PDF, vision, storage
Stealth engine patchright@1.62.1 (npm alias) Patch Runtime.enable, automation flags, webdriver
Browser system Google Chrome Not bundled Chromium
Profile ~/.chrome-for-ai/profile Cookies persist

Do not add a fake User-Agent or a heavy fingerprint init-script. Patchright’s own rule: real Chrome, no injection.

Interactive captchas still need a human in the headed window. This MCP detects them; it does not solve them.

Extra tools

stealth_status · stealth_audit · stealth_check · captcha_detect · challenge_wait · human_wait · human_scroll

License

Apache-2.0. Playwright MCP is Microsoft (Apache-2.0). Patchright is Apache-2.0. This repo only wraps them.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured