From 4cbb3102f81d4b14992ee2d29b14751cbc684fa8 Mon Sep 17 00:00:00 2001 From: "Tommy D. Rossi" Date: Sat, 24 Jan 2026 18:07:34 +0100 Subject: [PATCH] fix: pass cwd to executor in MCP so file operations use correct directory --- playwriter/src/mcp.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/playwriter/src/mcp.ts b/playwriter/src/mcp.ts index d840453..b7cd796 100644 --- a/playwriter/src/mcp.ts +++ b/playwriter/src/mcp.ts @@ -93,6 +93,7 @@ async function getOrCreateExecutor(): Promise { executor = new PlaywrightExecutor({ cdpConfig, logger: mcpLogger, + cwd: process.cwd(), }) return executor