CodexSpot
P

Playwright MCP Server

Enables AI assistants to control a local browser through MCP using Playwright, supporting navigation, screenshots, clicking, form filling, and JavaScript evaluation across Chromium, Firefox, and WebKit.

stdioLocalNo Authnpm

What This Server Exposes

Tools

navigatescreenshotclickfillevaluate

Resources

  • page screenshots
  • page content
  • DOM elements

Setup Instructions

  1. 1Ensure Node.js 18+ is installed
  2. 2Add the Playwright server config to your Claude Desktop configuration
  3. 3Run npx playwright install to download browser binaries
  4. 4Restart Claude Desktop

Configuration

Claude Desktop Configuration

claude_desktop_config.json
{
  "mcpServers": {
    "playwright": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-playwright"
      ]
    }
  }
}

Server Manifest

No official server.json manifest found. Generate one with our MCP server.json Generator →

Compatibility

Claude DesktopClaude Code

Safety Notes

This server grants AI access to a real browser that can navigate any website, submit forms, and execute JavaScript. Only use against sites you own or have permission to test. Avoid running authenticated sessions with sensitive data.

This listing is for informational purposes only. CodexSpot is not affiliated with Playwright MCP Server.