fix: playwright MCP sidecar startup args (#41)
The Playwright MCP image (mcr.microsoft.com/playwright/mcp) doesn't support --transport flag. Use node cli.js entrypoint with --headless, --browser chromium, --no-sandbox, and --port for SSE mode. Fixes #41 Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering>
This commit is contained in:
+1
-1
@@ -2,5 +2,5 @@ apiVersion: v2
|
|||||||
name: devcontainer
|
name: devcontainer
|
||||||
description: Dev Container with AI coding agents and MCP sidecars
|
description: Dev Container with AI coding agents and MCP sidecars
|
||||||
type: application
|
type: application
|
||||||
version: 0.4.0
|
version: 0.4.1
|
||||||
appVersion: "latest"
|
appVersion: "latest"
|
||||||
|
|||||||
@@ -238,9 +238,13 @@ spec:
|
|||||||
- name: playwright-mcp
|
- name: playwright-mcp
|
||||||
image: "{{ .Values.mcp.sidecars.playwright.image.repository }}:{{ .Values.mcp.sidecars.playwright.image.tag }}"
|
image: "{{ .Values.mcp.sidecars.playwright.image.repository }}:{{ .Values.mcp.sidecars.playwright.image.tag }}"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
|
command: ["node"]
|
||||||
args:
|
args:
|
||||||
- --transport
|
- cli.js
|
||||||
- sse
|
- --headless
|
||||||
|
- --browser
|
||||||
|
- chromium
|
||||||
|
- --no-sandbox
|
||||||
- --port
|
- --port
|
||||||
- {{ .Values.mcp.sidecars.playwright.port | quote }}
|
- {{ .Values.mcp.sidecars.playwright.port | quote }}
|
||||||
ports:
|
ports:
|
||||||
|
|||||||
Reference in New Issue
Block a user