From cdc79812bb9f1c8fea25fff5e327878f3f819a96 Mon Sep 17 00:00:00 2001 From: tanzhenxin Date: Thu, 26 Jun 2025 15:21:01 +0800 Subject: [PATCH] use customized playwright-mcp --- infra/sandbox/images/mix/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/infra/sandbox/images/mix/Dockerfile b/infra/sandbox/images/mix/Dockerfile index 9323e058..a88fdc88 100644 --- a/infra/sandbox/images/mix/Dockerfile +++ b/infra/sandbox/images/mix/Dockerfile @@ -32,7 +32,7 @@ WORKDIR ${PLAYWRIGHT_HOME} # Install Playwright dependencies and Chromium RUN npm init -y \ - && npm install @playwright/mcp --save \ + && npm install @ai-spider/playwright-mcp@0.0.2 --save \ && npx playwright-core install-deps chromium \ && npx playwright-core install --no-shell chromium \ && npm cache clean --force \ @@ -44,7 +44,7 @@ RUN mkdir -p /opt/playwright-mcp/bin \ #!/bin/sh if [ "$1" = "serve" ]; then cd "${PLAYWRIGHT_HOME}" -exec npx @playwright/mcp \ +exec npx @ai-spider/playwright-mcp@0.0.2 \ --headless \ --browser chromium \ --port 3000 \