Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Playwright MCP Web BrowserNew to Visual Studio Code? Get it now.
Playwright MCP Web Browser

Playwright MCP Web Browser

MimikkAi

|
956 installs
| (0) | Free
Playwright web browser automation tools for Copilot Chat
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Playwright MCP Tools for VS Code (By MimikkAi)

Playwright MCP by MimikkAi

🚀 The fastest way to drive a real browser from Copilot Chat. One extension, zero setup — install and start automating in seconds. Made by MimikkAi.

Demo

This extension provides 28 Playwright browser automation tools for GitHub Copilot Chat: 25 auto-generated from the upstream @playwright/mcp package (0.0.83) plus 3 custom tools (open, WebMCP list/call).

Features

  • 🤖 Auto-generated Tools: Tools from Playwright MCP are automatically wrapped as VS Code Language Model tools
  • 🔄 Always Up-to-Date: Run npm run generate to sync with the installed Playwright MCP tools
  • 🎯 Categorized: Tools organized by capability (core, core-input, core-navigation, core-tabs)
  • 🔧 Configurable: Customize browser type and headless mode via VS Code settings
  • 📦 Self-Contained: No external Node.js or MCP server needed

Available Tools

Core Tools (25 tools)

  • Navigation: browser_navigate, browser_navigate_back, browser_close
  • Interaction: browser_click, browser_type, browser_fill_form, browser_press_key, browser_select_option, browser_drag, browser_drop, browser_hover, browser_file_upload
  • Inspection: browser_snapshot, browser_find, browser_network_requests, browser_network_request, browser_console_messages, browser_evaluate, browser_run_code_unsafe
  • Utilities: browser_take_screenshot, browser_resize, browser_handle_dialog, browser_wait_for, browser_emulate_media, browser_tabs

Plus 3 custom tools: playwright_mcp_web_browser_open, playwright_mcp_web_browser_webmcp_list / playwright_mcp_web_browser_webmcp_call (list and call tools the page itself registers via the WebMCP API — the page does the work instead of UI clicks).

See all tools in VS Code: Copilot Chat > Configure Tools or TOOLS_LIST.md.

Usage

  1. Install the extension
  2. Open Copilot Chat
  3. Reference tools in your prompts:
    @workspace #browser_navigate Navigate to https://example.com
    @workspace #browser_click Click the login button
    

Configuration

  • playwrightMcpEmbedded.browser: Browser to use (chrome, firefox, msedge)
  • playwrightMcpEmbedded.headless: Run browser in headless mode (default: false)

Debugging & Logging

The extension provides detailed logging in the VS Code Output panel:

  1. Open Output panel: Press Ctrl+Shift+U (or Cmd+Shift+U on Mac)
  2. Select "Playwright MCP" from the dropdown in the top-right

The logs show:

  • ✅ Tool registration and activation
  • 🔧 Browser initialization (config, browser type, headless mode)
  • 📊 Each tool invocation with parameters and results
  • ❌ Detailed error messages with stack traces

See LOGGING.md for detailed debugging guide.

Development

Architecture

This extension uses automated code generation to stay synchronized with upstream Playwright MCP:

  1. scripts/generate-tools.js: Extracts tool metadata from @playwright/mcp
  2. scripts/update-package-json.js: Injects tool contributions into package.json
  3. src/PlaywrightMCPAdapter.ts: Bridges VS Code tool calls to Playwright MCP server
  4. src/generated/tools/*.ts: Auto-generated TypeScript wrapper classes

Regenerate Tools

After updating @playwright/mcp dependency:

npm run generate  # Regenerate all tool wrappers
npm run compile   # Compile extension (runs generate automatically)

Tools are regenerated automatically before every compilation via the precompile npm script.

Build

npm install
npm run compile
npm run package  # Creates .vsix file
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft