oss-invisible/playwright_mcp

invisible playwright mcp: Playwright MCP server undetected by anti-bots and captchas: AI agent browses the web on anti-detect stealth Firefox, Python, undetected browser automation, scraping, computer use.

What it solves

Many AI browser agents get blocked by captchas and anti-bot systems when they try to automate real websites. This project provides a browser agent that is designed to be invisible to those anti-bot checks, so it can browse and interact with pages the way a person would without being detected.

How it works

It drives a real Firefox browser (using Playwright under the hood) and simulates human-like actions: moving the pointer, clicking, typing, and reading page content. You can use it in two ways:

  1. As an MCP server – plug it into AI assistants like Claude Code, Codex, or Gemini CLI. Then you can ask the assistant to perform tasks on live websites, like checking flight fares across multiple dates and reading the results.
  2. As a standalone web UI – run a local web interface where you chat on the left and see the live browser on the right. This mode requires an OpenRouter API key to power the model.

The agent supports options like proxy (HTTP/SOCKS5), a persistent profile directory for logins and cookies, a seed for consistent browser identity, and a choice of model via OpenRouter. Configuration can be placed in a .env file next to the command, and it follows a priority order: command-line flags > environment variables > .env > defaults.

Who it's for

Developers and users who want an AI-driven web automation tool that avoids anti-bot detection, whether to build automation scripts, test websites, or simply let an AI assistant perform real-world browsing tasks that require human judgement about page content. It is intended for responsible use: respecting site terms and rate limits, and ensuring a human reviews any submitted data.

Highlights

  • Anti-bot invisibility: Designed to avoid captchas and detection by anti-bot systems.
  • Two usage modes: MCP server for AI assistants (Claude, Codex, Gemini CLI) or standalone web UI with an OpenRouter key.
  • Flexible configuration: Proxy, profile directory, seed for consistent identity, model selection, and .env support.
  • Privacy-conscious: Runs entirely on your machine, with no server of its own; only sends data to the sites you visit and your chosen model provider. Launches are counted via an anonymous one-line counter fetched from GitHub.

Related

  • Project
  • Project
  • Project
  • Project