How to install MCP Server Playwright in VS Code
To install MCP Server Playwright in VS Code, click "Add to VS Code" on this page or add the "mcp-server-playwright" block under "servers" in .vscode/mcp.json, then pick it in Copilot Chat agent mode.
Built from the published package · server updated 16 months ago
- 1
One click (fastest)
Click the button to open VS Code with this server ready to install.
Add MCP Server Playwright to VS Code - 2
Or add it by hand
Create .vscode/mcp.json and paste this. Note that VS Code uses "servers", not "mcpServers".
{ "servers": { "mcp-server-playwright": { "command": "npx", "args": [ "-y", "@automatalabs/mcp-server-playwright" ] } } } - 3
Start it in Copilot Chat
Open Copilot Chat in Agent mode and pick the server from the tools menu.
Config file: .vscode/mcp.json in your workspace
MCP servers run with your permissions. If MCP Server Playwright needs an API key, add it under env in the config. Check its README.
Install MCP Server Playwright in another app
Similar servers
Control a real Chrome browser to complete any task: fill forms, extract data, book flights.
Let your AI agent operate any website through a real, logged-in browser session.
AI browser agent: browses, clicks, types, and reads real web pages from plain-English instructions.
Questions
Does MCP Server Playwright work in VS Code?
Yes. VS Code supports local and remote mcp servers in copilot agent mode, and MCP Server Playwright installs with the steps above.
MCP Server Playwright does not show up in VS Code. What now?
Restart VS Code fully, check the JSON is valid, and make sure Node.js (for npx) is installed. See common MCP errors and fixes.
Is MCP Server Playwright safe?
It scores 56 of 100. Review the code before you install it, and only give it the access it needs. Grades and details.
