Playwright is an open-source framework by Microsoft for automating web browsers to perform end-to-end testing, scraping, and UI interactions across Chromium, Firefox, and WebKit. The Playwright
MCP server lets AI agents like GitHub Copilot control a web browser using Playwright’s automation capabilities.
Microsoft introduced support for MCP in Visual Studio Code 1.99 (March 2025), enabling tools like the Copilot Agent to connect with external services. In this post, I explain how to install the Microsoft Playwright MCP server in VS Code for the
GitHub Copilot Agent.
Source