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
- Zed installed (see its MCP documentation (opens in a new tab)).
- Playwright MCP is available on macOS, Windows and Linux.
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" ] } } }Step 2: Check it's connected
Open Settings → AI → MCP Servers. A green dot next to the server means it is running.
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_serverskey, notmcpServers. 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_permissionsin your settings.





