Add host param to Playwright K8s examples#471
Merged
Conversation
Signed-off-by: Dan Barr <6922515+danbarr@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the Playwright MCP server Kubernetes manifest examples to ensure the server binds to all interfaces so it’s reachable from outside the pod.
Changes:
- Add
--host 0.0.0.0to the args list in all three K8s manifest examples. - Bump the Playwright MCP image tag from
v0.0.54tov0.0.59. - Update the “Important” note to include the new required argument.
Comments suppressed due to low confidence (2)
docs/toolhive/guides-mcp/playwright.mdx:192
- The code block line-highlighting directive for
playwright-restricted.yaml({16-17}) no longer matches the lines being introduced/emphasized. After adding--host,--allowed-originsis now on later lines in the snippet, so the highlight range should be updated to point at the--allowed-originslines instead of highlighting--allowed-hosts.
- '0.0.0.0'
- '--allowed-hosts'
- '*'
- '--allowed-origins'
- 'example.com;trusted-domain.org'
docs/toolhive/guides-mcp/playwright.mdx:219
- The line-highlighting directive for
playwright-with-volume.yaml({16-17,22-25,28-31}) is now out of sync after inserting--host. The first highlighted range currently points at--allowed-hostsrather than the output-related args; update the highlight ranges so they emphasize the intended--output-dir/save options and the volume/volumeMount sections.
- '--allowed-hosts'
- '*'
- '--output-dir'
- '/browser-output'
- '--save-trace'
- '--save-session'
JAORMX
approved these changes
Jan 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Updates the Kubernetes manifests for the Playwright MCP server guide to add the
--host 0.0.0.0argument. This seems to be required now to connect to it from outside the pod.Type of change
Submitter checklist
Content and formatting
Reviewer checklist
Content