Skip to content

Commit 4d909be

Browse files
authored
Add host param to Playwright K8s examples (#471)
Signed-off-by: Dan Barr <6922515+danbarr@users.noreply.github.com> Co-authored-by: Dan Barr <6922515+danbarr@users.noreply.github.com>
1 parent a005663 commit 4d909be

1 file changed

Lines changed: 11 additions & 5 deletions

File tree

docs/toolhive/guides-mcp/playwright.mdx

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -141,21 +141,23 @@ metadata:
141141
name: playwright
142142
namespace: toolhive-system
143143
spec:
144-
image: mcr.microsoft.com/playwright/mcp:v0.0.54
144+
image: mcr.microsoft.com/playwright/mcp:v0.0.59
145145
transport: streamable-http
146146
mcpPort: 8931
147147
proxyPort: 8080
148148
args:
149149
- '--port'
150150
- '8931'
151+
- '--host'
152+
- '0.0.0.0'
151153
- '--allowed-hosts'
152154
- '*'
153155
```
154156
155157
:::note[Important]
156158
157-
Don't remove the `--port 8931` or `--allowed-hosts "*"` arguments. They are
158-
required to run the server using Streamable HTTP.
159+
Don't remove the `--port 8931`, `--host 0.0.0.0`, or `--allowed-hosts "*"`
160+
arguments. They are required to run the server using Streamable HTTP.
159161

160162
:::
161163

@@ -175,13 +177,15 @@ metadata:
175177
name: playwright
176178
namespace: toolhive-system
177179
spec:
178-
image: mcr.microsoft.com/playwright/mcp:v0.0.54
180+
image: mcr.microsoft.com/playwright/mcp:v0.0.59
179181
transport: streamable-http
180182
mcpPort: 8931
181183
proxyPort: 8080
182184
args:
183185
- '--port'
184186
- '8931'
187+
- '--host'
188+
- '0.0.0.0'
185189
- '--allowed-hosts'
186190
- '*'
187191
- '--allowed-origins'
@@ -198,13 +202,15 @@ metadata:
198202
name: playwright
199203
namespace: toolhive-system
200204
spec:
201-
image: mcr.microsoft.com/playwright/mcp:v0.0.54
205+
image: mcr.microsoft.com/playwright/mcp:v0.0.59
202206
transport: streamable-http
203207
mcpPort: 8931
204208
proxyPort: 8080
205209
args:
206210
- '--port'
207211
- '8931'
212+
- '--host'
213+
- '0.0.0.0'
208214
- '--allowed-hosts'
209215
- '*'
210216
- '--output-dir'

0 commit comments

Comments
 (0)