Playwright MCP
MCP server by oss-invisible Verified · gh:oss-invisible
Playwright MCP is an MCP server that lets an AI assistant drive a stealth Firefox browser on the user's machine. It suits web tasks that need real browser interaction rather than an API. A standalone web UI is also included and uses an OpenRouter key.
Install Playwright MCP
Built from the published package, never by AI.
claude mcp add playwright-mcp -- uvx invisible-playwright-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"playwright-mcp": {
"args": [
"invisible-playwright-mcp"
],
"command": "uvx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"playwright-mcp": {
"args": [
"invisible-playwright-mcp"
],
"command": "uvx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"playwright-mcp": {
"args": [
"invisible-playwright-mcp"
],
"command": "uvx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add playwright-mcp -- uvx invisible-playwright-mcp{
"mcpServers": {
"playwright-mcp": {
"args": [
"invisible-playwright-mcp"
],
"command": "uvx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add playwright-mcp uvx invisible-playwright-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the playwright-mcp block.
About
invisible_playwright_mcp is an MCP server that gives an AI assistant a browser. The browser runs on the user's machine on a stealth Firefox build, and the agent moves the pointer and presses keys the way a person would. The project states that it is invisible to anti-bot systems and captchas.
It can be installed in Claude Code, Codex and Gemini CLI, or run as a standalone web UI at 127.0.0.1:8765 with an OpenRouter key. Options cover proxies, persistent profiles and fixed seeds for the browser identity. It is for people who need web automation on tasks such as checking fares across dates or reading pages that require a real browser.
Written from the project's README and checked against it.
What you need
- uv, the Python package runner, installed with the provided install script
- OpenRouter API key for the standalone web UI
- Windows with PowerShell or Linux with a shell
Try asking
- Check the cheapest one-way Milan to Lisbon fare for each date from the 12th to 16th
- Open this URL in the browser and read the fare shown for each day
- Use the web UI to browse a page and report what it shows
Good to know
- The web UI needs an OpenRouter key; the MCP route uses the client's model.
- Changing the host exposes the interface, which has no authentication.
- The engine is downloaded from GitHub the first time the server or interface starts.
Security check
B- Downloads a script from the internet and runs it (a well-known installer)In
README.md:irm https://astral.sh/uv/install.ps1 | iex
Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work
What you can do with it
- Checking fares across multiple dates
- Reading pages that need a real browser
- Running a browser agent from a web UI
Alternatives to Playwright MCP
All alternatives →Browser Use runs an AI model in a real browser, where it completes web tasks by writing Python against Chrome DevTools Protocol. It is for developers who want to fill forms, navigate sites and extract data locally or on Browser Use Cloud.
Pomerado builds MCP integrations for websites, including sites without an API, from a plain language task description. It is for people who want their agent to use a site reliably without computer use.
Selenide MCP server runs browser automation for AI assistants. It is built on the Selenide Java testing framework, which wraps Selenium WebDriver 4.0+. It suits developers who want AI agents to drive UI tests.
SeleniumBase is a Python browser automation framework for stealth browsing, end-to-end testing and web scraping. It uses CDP Mode to work with Chromium-based browsers, and it is aimed at software teams.
Camofox Browser MCP exposes the camofox-browser REST API as MCP tools for AI coding assistants. It proxies to an already-running camofox-browser server, so agents can browse sites that block standard automation.
Cline is an open source coding agent that edits files, runs commands, and uses the browser. It works in a terminal CLI, a macOS and Windows desktop app, VS Code, JetBrains IDEs, and an SDK for developers building their own agents.
Compare with browser-use, Pomerado or Selenide
Playwright MCP: common questions
Does Playwright MCP need an OpenRouter key?
The standalone web UI needs one, supplied by flag or environment variable. Over MCP, the assistant client you connect to supplies the model instead.
Where is browsing data stored?
Sessions, profiles and screenshots are stored locally, under INVISIBLE_MCP_HOME if set or in the system application-data directory. The privacy policy says nothing else is retained.
What license does it use?
The project is MIT licensed. Releases distributed before 2 September 2026 remain under AGPL-3.0.
How do I install Playwright MCP?
In Claude Code run claude mcp add playwright-mcp -- uvx invisible-playwright-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Playwright MCP the official server?
Playwright MCP is published by gh:oss-invisible from its verified domain in the official MCP Registry.
Is Playwright MCP free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Playwright MCP safe to use?
It scores 86 of 100. Grades: maintenance A, licence A, quality A. Security check: grade B (downloads a script from the internet and runs it (a well-known installer)). Review the code before you install. How grades work.
What are alternatives to Playwright MCP?
Similar MCP servers: browser-use, Pomerado, Selenide, SeleniumBase MCP.
Does Playwright MCP work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
