Skip to content

Commit 4e35fc9

Browse files
Merge pull request #92 from executeautomation/Update-readme-with-playwright-MCP-installation-in-VSCode
docs: add installation instructions for Playwright MCP server in VS Code
2 parents ef369fd + 9904cd5 commit 4e35fc9

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

README.md

+28
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,34 @@ To install Playwright MCP for Claude Desktop automatically via [Smithery](https:
3131
```bash
3232
npx -y @smithery/cli install @executeautomation/playwright-mcp-server --client claude
3333
```
34+
#### Installation in VS Code
35+
36+
Install the Playwright MCP server in VS Code using one of these buttons:
37+
38+
<!--
39+
// Generate using?:
40+
const config = JSON.stringify({ name: 'playwright', command: 'npx', args: ["-y", "@executeautomation/playwright-mcp-server"] });
41+
const urlForWebsites = `vscode:mcp/install?${encodeURIComponent(config)}`;
42+
// Github markdown does not allow linking to `vscode:` directly, so you can use our redirect:
43+
const urlForGithub = `https://insiders.vscode.dev/redirect?url=${encodeURIComponent(urlForWebsites)}`;
44+
-->
45+
46+
[<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-y%2522%252C%2522%2540executeautomation%252Fplaywright-mcp-server%2522%255D%257D)
47+
48+
Alternatively, you can install the Playwright MCP server using the VS Code CLI:
49+
50+
```bash
51+
# For VS Code
52+
code --add-mcp '{"name":"playwright","command":"npx","args":["@executeautomation/playwright-mcp-server"]}'
53+
```
54+
55+
```bash
56+
# For VS Code Insiders
57+
code-insiders --add-mcp '{"name":"playwright","command":"npx","args":["@executeautomation/playwright-mcp-server"]}'
58+
```
59+
60+
After installation, the ExecuteAutomation Playwright MCP server will be available for use with your GitHub Copilot agent in VS Code.
61+
3462
## Configuration to use Playwright Server
3563
Here's the Claude Desktop configuration to use the Playwright server:
3664

0 commit comments

Comments
 (0)