Skip to content

Commit 1b997ce

Browse files
Merge pull request #141 from gauravkhuraana/gaurav/installationinstructions
Updated installation instructions as to help windows users
2 parents ce17a32 + f2d429a commit 1b997ce

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

docs/docs/img/mcp-server-running.png

93.2 KB
Loading

docs/docs/local-setup/Installation.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,21 @@ git clone https://github.com/executeautomation/mcp-playwright.git
1313

1414
## Step 2: Install Dependencies
1515
```bash
16+
cd mcp-playwright
1617
npm install
1718
```
1819

1920
## Step 3: Build Code
2021
```bash
22+
npm install --save-dev typescript
2123
npm run build
2224
npm link
2325
```
2426

2527
## Step 4: Configuring Playwright MCP in Claude Desktop
2628

2729
Modify your `claude-desktop-config.json` file as shown below to work with local playwright mcp server
30+
The file is generally located at `C:\Users\{yourusername}\AppData\Roaming\Claude`
2831

2932
```json
3033
{
@@ -41,6 +44,10 @@ Modify your `claude-desktop-config.json` file as shown below to work with local
4144
}
4245
}
4346
```
47+
if you are using windows, and let's say your clone directory is `D:/automation/mcp-playwright`,
48+
then you should replace "/your-playwright-mcp-server-clone-directory" with `D:/automation/mcp-playwright`
49+
not \ but we have to use / for config file.
50+
4451

4552
:::warning Important
4653
After modifying the `claude-desktop-config.json` file, you **must** completely close Claude Desktop and **manually terminate** any running processes from **Task Manager** (Windows 10/11).
@@ -52,3 +59,4 @@ After modifying the `claude-desktop-config.json` file, you **must** completely c
5259
If your setup is all correct, you should see Playwright MCP Server pointing your local machine source code
5360

5461
![Playwright MCP Server](./img/mcp-server.png)
62+
![Playwright MCP Server running](./img/mcp-server-running.png)

0 commit comments

Comments
 (0)