Skip to content

Commit 2819a54

Browse files
committed
Add references to new stop --all flag
1 parent 0a34440 commit 2819a54

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

docs/toolhive/guides-cli/install.mdx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ On Windows, you must stop all running MCP servers before upgrading ToolHive,
161161
otherwise the upgrade will fail because Windows locks the executable while it
162162
runs.
163163

164-
Run `thv stop <server-name>` to stop each server. After you complete the
164+
Run `thv stop --all` to stop all running servers. After you complete the
165165
upgrade, restart them using `thv restart <server-name>`.
166166

167167
:::
@@ -247,7 +247,7 @@ To uninstall ToolHive:
247247
# List running servers
248248
thv list
249249
# Stop and remove each server
250-
thv stop <server-name>
250+
thv stop --all
251251
thv rm <server-name>
252252
```
253253

@@ -363,9 +363,7 @@ To resolve this:
363363
1. Stop all running MCP servers:
364364

365365
```powershell
366-
thv list
367-
thv stop <server-name>
368-
# repeat for each server
366+
thv stop --all
369367
```
370368

371369
2. After stopping all servers, run the upgrade command again:
@@ -381,6 +379,7 @@ To resolve this:
381379
4. Restart your MCP servers:
382380

383381
```powershell
382+
thv list --all
384383
thv restart <server-name>
385384
# repeat for each server
386385
```

docs/toolhive/guides-cli/manage-mcp-servers.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,14 @@ To stop a running MCP server:
6060
thv stop <server-name>
6161
```
6262

63-
This stops the server and the associated proxy process but keeps the container
64-
for future use.
63+
This stops the server and the associated proxy process, removes the MCP server's
64+
entry from your configured clients, but keeps the container for future use.
65+
66+
Add the `--all` flag to stop all running servers.
6567

6668
### Restart a server
6769

68-
To restart a stopped MCP server:
70+
To restart a stopped MCP server and add it back to your configured clients:
6971

7072
```bash
7173
thv restart <server-name>

0 commit comments

Comments
 (0)