Skip to content

Conversation

@brojd
Copy link
Contributor

@brojd brojd commented Feb 11, 2026

No description provided.

Copilot AI review requested due to automatic review settings February 11, 2026 05:52
@vercel
Copy link

vercel bot commented Feb 11, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
archestra Ignored Ignored Feb 11, 2026 5:52am

Request Review

@brojd brojd enabled auto-merge (squash) February 11, 2026 05:53
@brojd brojd merged commit b073666 into main Feb 11, 2026
15 checks passed
@brojd brojd deleted the brojd/update-playwright-args branch February 11, 2026 05:54
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Docker arguments configuration for the Microsoft Playwright MCP server by expanding the single-line args array into a multi-line format and adding several server configuration arguments: --host 0.0.0.0, --port 8080, --allowed-hosts *, and --isolated.

Changes:

  • Reformatted the Docker args array from inline to multi-line format for better readability
  • Added network configuration arguments (--host, --port, --allowed-hosts)
  • Added the --isolated flag to run in memory-only browser profile mode

Comment on lines +20 to +21
"--allowed-hosts",
"*",
Copy link

Copilot AI Feb 11, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The argument --allowed-hosts is not a valid option for the Playwright MCP server. According to the server's documentation in the readme field, the correct argument is --allowed-origins, which specifies a semicolon-separated list of origins to allow the browser to request. This argument should be either removed or changed to --allowed-origins with an appropriate value (e.g., semicolon-separated origins instead of "*").

Suggested change
"--allowed-hosts",
"*",
"--allowed-origins",
"http://localhost;https://localhost",

Copilot uses AI. Check for mistakes.
"--init",
"mcr.microsoft.com/playwright/mcp",
"--host",
"0.0.0.0",
Copy link

Copilot AI Feb 11, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Setting --host to 0.0.0.0 binds the server to all network interfaces, exposing it to external network access. This could be a security risk if the Playwright MCP server is not properly protected by network-level controls. Consider whether external access is necessary for this use case, or if binding to localhost (the default) would be more appropriate.

Suggested change
"0.0.0.0",
"127.0.0.1",

Copilot uses AI. Check for mistakes.
Comment on lines +18 to +19
"--port",
"8080",
Copy link

Copilot AI Feb 11, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The --port 8080 argument configures the Playwright MCP server to listen on port 8080 for HTTP/SSE transport. However, the Docker configuration does not include port mapping (e.g., -p 8080:8080) to expose this port from the container to the host. Without port mapping, the server will be inaccessible from outside the container, making these network-related arguments ineffective.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant