From 95269108645a028716728364be304f355d5e0fe4 Mon Sep 17 00:00:00 2001 From: Pavel Feldman Date: Thu, 17 Jul 2025 09:06:10 -0700 Subject: [PATCH] chore: sort install sections (#682) --- README.md | 186 +++++++++++++++++++----------------------------------- 1 file changed, 64 insertions(+), 122 deletions(-) diff --git a/README.md b/README.md index 582d79a..5e42796 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,9 @@ node utils/generate-links.js ### Getting started -First, install the Playwright MCP server with your client. A typical configuration looks like this: +First, install the Playwright MCP server with your client. + +**Standard config** works in most of the tools: ```js { @@ -37,7 +39,65 @@ First, install the Playwright MCP server with your client. A typical configurati [Install in VS Code](https://insiders.vscode.dev/redirect?url=vscode%3Amcp%2Finstall%3F%257B%2522name%2522%253A%2522playwright%2522%252C%2522command%2522%253A%2522npx%2522%252C%2522args%2522%253A%255B%2522%2540playwright%252Fmcp%2540latest%2522%255D%257D) [Install in VS Code Insiders](https://insiders.vscode.dev/redirect?url=vscode-insiders%3Amcp%2Finstall%3F%257B%2522name%2522%253A%2522playwright%2522%252C%2522command%2522%253A%2522npx%2522%252C%2522args%2522%253A%255B%2522%2540playwright%252Fmcp%2540latest%2522%255D%257D) -
Install in VS Code +
+Claude Code + +Use the Claude Code CLI to add the Playwright MCP server: + +```bash +claude mcp add playwright npx @playwright/mcp@latest +``` +
+ +
+Claude Desktop + +Follow the MCP install [guide](https://modelcontextprotocol.io/quickstart/user), use the standard config above. + +
+ +
+Cursor + +#### Click the button to install: + +[![Install MCP Server](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/install-mcp?name=playwright&config=eyJjb21tYW5kIjoibnB4IEBwbGF5d3JpZ2h0L21jcEBsYXRlc3QifQ%3D%3D) + +#### Or install manually: + +Go to `Cursor Settings` -> `MCP` -> `Add new MCP Server`. Name to your liking, use `command` type with the command `npx @playwright/mcp`. You can also verify config or add command like arguments via clicking `Edit`. + +
+ +
+Gemini CLI + +Follow the MCP install [guide](https://github.com/google-gemini/gemini-cli/blob/main/docs/tools/mcp-server.md#configure-the-mcp-server-in-settingsjson), use the standard config above. + +
+ +
+Goose + +#### Click the button to install: + +[![Install in Goose](https://block.github.io/goose/img/extension-install-dark.svg)](https://block.github.io/goose/extension?cmd=npx&arg=%40playwright%2Fmcp%40latest&id=playwright&name=Playwright&description=Interact%20with%20web%20pages%20through%20structured%20accessibility%20snapshots%20using%20Playwright) + +#### Or install manually: + +Go to `Advanced settings` -> `Extensions` -> `Add custom extension`. Name to your liking, use type `STDIO`, and set the `command` to `npx @playwright/mcp`. Click "Add Extension". +
+ +
+Qodo Gen + +Open [Qodo Gen](https://docs.qodo.ai/qodo-documentation/qodo-gen) chat panel in VSCode or IntelliJ → Connect more tools → + Add new MCP → Paste the standard config above. + +Click Save. +
+ +
+VS Code You can also install the Playwright MCP server using the VS Code CLI: @@ -50,128 +110,10 @@ After installation, the Playwright MCP server will be available for use with you
-Install in Cursor +Windsurf -#### Click the button to install: +Follow Windsurf MCP [documentation](https://docs.windsurf.com/windsurf/cascade/mcp). Use the standard config above. -[![Install MCP Server](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/install-mcp?name=playwright&config=eyJjb21tYW5kIjoibnB4IEBwbGF5d3JpZ2h0L21jcEBsYXRlc3QifQ%3D%3D) - -#### Or install manually: - -Go to `Cursor Settings` -> `MCP` -> `Add new MCP Server`. Name to your liking, use `command` type with the command `npx @playwright/mcp`. You can also verify config or add command like arguments via clicking `Edit`. - -```js -{ - "mcpServers": { - "playwright": { - "command": "npx", - "args": [ - "@playwright/mcp@latest" - ] - } - } -} -``` -
- -
-Install in Windsurf - -Follow Windsurf MCP [documentation](https://docs.windsurf.com/windsurf/cascade/mcp). Use following configuration: - -```js -{ - "mcpServers": { - "playwright": { - "command": "npx", - "args": [ - "@playwright/mcp@latest" - ] - } - } -} -``` -
- -
-Install in Claude Desktop - -Follow the MCP install [guide](https://modelcontextprotocol.io/quickstart/user), use following configuration: - -```js -{ - "mcpServers": { - "playwright": { - "command": "npx", - "args": [ - "@playwright/mcp@latest" - ] - } - } -} -``` -
- -
-Install in Claude Code - -Use the Claude Code CLI to add the Playwright MCP server: - -```bash -claude mcp add playwright npx @playwright/mcp@latest -``` -
- -
-Install in Goose - -#### Click the button to install: - -[![Install in Goose](https://block.github.io/goose/img/extension-install-dark.svg)](https://block.github.io/goose/extension?cmd=npx&arg=%40playwright%2Fmcp%40latest&id=playwright&name=Playwright&description=Interact%20with%20web%20pages%20through%20structured%20accessibility%20snapshots%20using%20Playwright) - -#### Or install manually: - -Go to `Advanced settings` -> `Extensions` -> `Add custom extension`. Name to your liking, use type `STDIO`, and set the `command` to `npx @playwright/mcp`. Click "Add Extension". -
- -
-Install in Qodo Gen - -Open [Qodo Gen](https://docs.qodo.ai/qodo-documentation/qodo-gen) chat panel in VSCode or IntelliJ → Connect more tools → + Add new MCP → Paste the following configuration: - -```js -{ - "mcpServers": { - "playwright": { - "command": "npx", - "args": [ - "@playwright/mcp@latest" - ] - } - } -} -``` - -Click Save. -
- -
-Install in Gemini CLI - -Follow the MCP install [guide](https://github.com/google-gemini/gemini-cli/blob/main/docs/tools/mcp-server.md#configure-the-mcp-server-in-settingsjson), use following configuration: - -```js -{ - "mcpServers": { - "playwright": { - "command": "npx", - "args": [ - "@playwright/mcp@latest" - ] - } - } -} -```
### Configuration