Skip to content

Commit 208e156

Browse files
committed
Bump pinned versions in MCP examples
Signed-off-by: Dan Barr <[email protected]>
1 parent dd4e083 commit 208e156

File tree

4 files changed

+27
-20
lines changed

4 files changed

+27
-20
lines changed

docs/toolhive/guides-mcp/fetch.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ sidebar_label: Fetch
44
description: Using the Fetch MCP server with ToolHive to retrieve website data.
55
last_update:
66
author: danbarr
7-
date: 2025-08-15
7+
date: 2025-10-07
88
---
99

1010
## Overview
@@ -80,7 +80,7 @@ metadata:
8080
name: fetch
8181
namespace: toolhive-system
8282
spec:
83-
image: ghcr.io/stackloklabs/gofetch/server:0.0.5
83+
image: ghcr.io/stackloklabs/gofetch/server:1.0.1
8484
transport: streamable-http
8585
targetPort: 8080
8686
port: 8080

docs/toolhive/guides-mcp/github.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description:
55
Using the GitHub MCP server with ToolHive for repository management.
66
last_update:
77
author: danbarr
8-
date: 2025-08-15
8+
date: 2025-10-07
99
---
1010

1111
## Overview
@@ -141,7 +141,7 @@ metadata:
141141
name: github
142142
namespace: toolhive-system
143143
spec:
144-
image: ghcr.io/github/github-mcp-server:v0.13.0
144+
image: ghcr.io/github/github-mcp-server:v0.17.1
145145
transport: stdio
146146
port: 8080
147147
permissionProfile:

docs/toolhive/guides-mcp/k8s.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description:
55
Using the Kubernetes (MKP) MCP server with ToolHive for cluster management.
66
last_update:
77
author: danbarr
8-
date: 2025-09-02
8+
date: 2025-10-07
99
---
1010

1111
## Overview
@@ -132,7 +132,7 @@ metadata:
132132
name: mkp
133133
namespace: toolhive-system
134134
spec:
135-
image: ghcr.io/stackloklabs/mkp/server:0.2.1
135+
image: ghcr.io/stackloklabs/mkp/server:0.2.4
136136
transport: streamable-http
137137
targetPort: 8080
138138
port: 8080

docs/toolhive/guides-mcp/playwright.mdx

Lines changed: 21 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description:
55
Using the Playwright MCP server with ToolHive for browser automation.
66
last_update:
77
author: danbarr
8-
date: 2025-08-27
8+
date: 2025-10-07
99
---
1010

1111
import useBaseUrl from '@docusaurus/useBaseUrl';
@@ -105,35 +105,35 @@ thv run playwright
105105
Emulate a mobile device for responsive testing:
106106

107107
```bash
108-
thv run playwright -- --port 8931 --device "iPhone 15"
108+
thv run playwright -- --port 8931 --allowed-hosts "*" --device "iPhone 15"
109109
```
110110

111111
Restrict access to specific domains:
112112

113113
```bash
114-
thv run playwright -- --port 8931 --allowed-origins "example.com;trusted-site.com"
114+
thv run playwright -- --port 8931 --allowed-hosts "*" --allowed-origins "example.com;trusted-site.com"
115115
```
116116

117117
Mount a host directory (e.g., `~/playwright-output`) to save browser output
118118
files like screenshots and traces:
119119

120120
```bash
121121
mkdir ~/playwright-output
122-
thv run --volume ~/playwright-output:/browser-output playwright -- --port 8931 --output-dir /browser-output --save-trace --save-session
122+
thv run --volume ~/playwright-output:/browser-output playwright -- --port 8931 --allowed-hosts "*" --output-dir /browser-output --save-trace --save-session
123123
```
124124

125125
You can run multiple instances of the server with different configurations by
126126
giving each a unique name:
127127

128128
```bash
129-
thv run --name playwright-desktop playwright -- --port 8931 --device "Desktop Chrome" --viewport-size 1920,1080
130-
thv run --name playwright-iphone playwright -- --port 8931 --device "iPhone 15"
129+
thv run --name playwright-desktop playwright -- --port 8931 --allowed-hosts "*" --device "Desktop Chrome" --viewport-size 1920,1080
130+
thv run --name playwright-iphone playwright -- --port 8931 --allowed-hosts "*" --device "iPhone 15"
131131
```
132132

133133
:::note[Important]
134134

135-
Don't remove the `--port 8931` argument, as the server requires it to function
136-
correctly in ToolHive.
135+
Don't remove the `--port 8931` or ` --allowed-hosts "*"` arguments, as the
136+
server requires it to function correctly in ToolHive.
137137

138138
:::
139139

@@ -149,13 +149,15 @@ metadata:
149149
name: playwright
150150
namespace: toolhive-system
151151
spec:
152-
image: mcr.microsoft.com/playwright/mcp:v0.0.36
152+
image: mcr.microsoft.com/playwright/mcp:v0.0.41
153153
transport: streamable-http
154154
targetPort: 8931
155155
port: 8080
156156
args:
157157
- '--port'
158158
- '8931'
159+
- '--allowed-hosts'
160+
- '*'
159161
permissionProfile:
160162
type: builtin
161163
name: network
@@ -167,22 +169,25 @@ Apply the manifest to your Kubernetes cluster:
167169
kubectl apply -f playwright.yaml
168170
```
169171

170-
For production deployments with network restrictions:
172+
For production deployments with network restrictions, add the
173+
`--allowed-origins` argument with a list of trusted domains:
171174

172-
```yaml title="playwright-restricted.yaml"
175+
```yaml {16-17} title="playwright-restricted.yaml"
173176
apiVersion: toolhive.stacklok.dev/v1alpha1
174177
kind: MCPServer
175178
metadata:
176179
name: playwright
177180
namespace: toolhive-system
178181
spec:
179-
image: mcr.microsoft.com/playwright/mcp:v0.0.36
182+
image: mcr.microsoft.com/playwright/mcp:v0.0.41
180183
transport: streamable-http
181184
targetPort: 8931
182185
port: 8080
183186
args:
184187
- '--port'
185188
- '8931'
189+
- '--allowed-hosts'
190+
- '*'
186191
- '--allowed-origins'
187192
- 'example.com;trusted-domain.org'
188193
permissionProfile:
@@ -193,20 +198,22 @@ spec:
193198
Mount a persistent volume to save browser output files like screenshots and
194199
traces:
195200
196-
```yaml {13-14,22-25,28-31} title="playwright-with-volume.yaml"
201+
```yaml {16-17,25-28,31-34} title="playwright-with-volume.yaml"
197202
apiVersion: toolhive.stacklok.dev/v1alpha1
198203
kind: MCPServer
199204
metadata:
200205
name: playwright
201206
namespace: toolhive-system
202207
spec:
203-
image: mcr.microsoft.com/playwright/mcp:v0.0.36
208+
image: mcr.microsoft.com/playwright/mcp:v0.0.41
204209
transport: streamable-http
205210
targetPort: 8931
206211
port: 8080
207212
args:
208213
- '--port'
209214
- '8931'
215+
- '--allowed-hosts'
216+
- '*'
210217
- '--output-dir'
211218
- '/browser-output'
212219
- '--save-trace'

0 commit comments

Comments
 (0)