How to install playwright-mcp in Gemini CLI
Gemini CLI was replaced by Antigravity CLI in June 2026. On an enterprise licence or paid API key you can still install playwright-mcp by running "gemini mcp add playwright-mcp npx -y @playwright/mcp", then type /mcp to check it.
Built from the published package · server updated 4 days ago
- 1
Run the install command
In a terminal, run:
gemini mcp add playwright-mcp npx -y @playwright/mcp - 2
Check it
Inside Gemini CLI, type /mcp to list servers and tools.
MCP servers run with your permissions. If playwright-mcp needs an API key, add it under env in the config. Check its README.
Install playwright-mcp in another app
Similar servers
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.
Questions
Does playwright-mcp work in Gemini CLI?
Yes. Gemini CLI supports local and remote mcp servers, extensions (legacy), and playwright-mcp installs with the steps above.
playwright-mcp does not show up in Gemini CLI. What now?
Restart Gemini CLI fully, check the JSON is valid, and make sure Node.js (for npx) is installed. See common MCP errors and fixes.
Is playwright-mcp safe?
It scores 91 of 100. Review the code before you install it, and only give it the access it needs. Grades and details.
