@playwright/mcp 0.0.40-alpha-2025-09-29 → 0.0.40-alpha-2025-10-01
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -20
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -36,7 +36,7 @@ First, install the Playwright MCP server with your client.
|
|
|
36
36
|
}
|
|
37
37
|
```
|
|
38
38
|
|
|
39
|
-
[<img src="https://img.shields.io/badge/VS_Code-VS_Code?style=flat-square&label=Install%20Server&color=0098FF" alt="Install in VS Code">](https://insiders.vscode.dev/redirect?url=vscode%3Amcp%2Finstall%3F%
|
|
39
|
+
[<img src="https://img.shields.io/badge/VS_Code-VS_Code?style=flat-square&label=Install%20Server&color=0098FF" alt="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) [<img alt="Install in VS Code Insiders" src="https://img.shields.io/badge/VS_Code_Insiders-VS_Code_Insiders?style=flat-square&label=Install%20Server&color=24bfa5">](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)
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
<details>
|
|
@@ -151,31 +151,15 @@ Click <code>Save</code>.
|
|
|
151
151
|
|
|
152
152
|
#### Click the button to install:
|
|
153
153
|
|
|
154
|
-
[<img src="https://img.shields.io/badge/VS_Code-VS_Code?style=flat-square&label=Install%20Server&color=0098FF" alt="Install in VS Code">](https://insiders.vscode.dev/redirect?url=vscode%3Amcp%2Finstall%3F%
|
|
154
|
+
[<img src="https://img.shields.io/badge/VS_Code-VS_Code?style=flat-square&label=Install%20Server&color=0098FF" alt="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) [<img alt="Install in VS Code Insiders" src="https://img.shields.io/badge/VS_Code_Insiders-VS_Code_Insiders?style=flat-square&label=Install%20Server&color=24bfa5">](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)
|
|
155
155
|
|
|
156
156
|
#### Or install manually:
|
|
157
157
|
|
|
158
|
-
Follow the MCP install [guide](https://code.visualstudio.com/docs/copilot/chat/mcp-servers#_add-an-mcp-server), use the config
|
|
159
|
-
|
|
160
|
-
```js
|
|
161
|
-
{
|
|
162
|
-
"mcpServers": {
|
|
163
|
-
"playwright": {
|
|
164
|
-
"command": "npx",
|
|
165
|
-
"args": [
|
|
166
|
-
"@playwright/mcp@latest"
|
|
167
|
-
],
|
|
168
|
-
"cwd": "${workspaceFolder}"
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
```
|
|
173
|
-
|
|
174
|
-
You can also install the Playwright MCP server using the VS Code CLI:
|
|
158
|
+
Follow the MCP install [guide](https://code.visualstudio.com/docs/copilot/chat/mcp-servers#_add-an-mcp-server), use the standard config above. You can also install the Playwright MCP server using the VS Code CLI:
|
|
175
159
|
|
|
176
160
|
```bash
|
|
177
161
|
# For VS Code
|
|
178
|
-
code --add-mcp '{"name":"playwright","command":"npx","args":["@playwright/mcp@latest"]
|
|
162
|
+
code --add-mcp '{"name":"playwright","command":"npx","args":["@playwright/mcp@latest"]}'
|
|
179
163
|
```
|
|
180
164
|
|
|
181
165
|
After installation, the Playwright MCP server will be available for use with your GitHub Copilot agent in VS Code.
|