Skip to content

Connect Playwright MCP to Zed

Browser automation over MCP from the Playwright team. Agents use it to open the built UI, take screenshots and check layouts against the design.

MCP serverOfficialChecked 2026-11-16

Before you start

  1. Step 1: Add Playwright MCP to Zed

    Add it to your settings

    Run zed: open settings file from the command palette and add this inside the top-level object, next to your other settings.

    ~/.config/zed/settings.json
    {
      "context_servers": {
        "playwright": {
          "command": "npx",
          "args": [
            "-y",
            "@playwright/mcp@latest"
          ]
        }
      }
    }
  2. Step 2: Check it's connected

    Open Settings → AI → MCP Servers. A green dot next to the server means it is running.

  3. Step 3: Try a first request

    Ask Zed something that only works with Playwright MCP connected:

    Say to Zed
    Open http://localhost:3000, take a screenshot at 375 px wide and tell me what looks broken.

If it doesn't work

  • Zed reads MCP servers from the context_servers key, not mcpServers. Servers under any other key are ignored.
  • Run zed: open settings file from the command palette to edit your settings.
  • Zed asks before running each tool. Change this with agent.tool_permissions in your settings.