Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/toolhive/reference/cli/thv.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ thv [flags]
* [thv client](thv_client.md) - Manage MCP clients
* [thv config](thv_config.md) - Manage application configuration
* [thv export](thv_export.md) - Export a workload's run configuration to a file
* [thv group](thv_group.md) - Manage logical groupings of MCP servers
* [thv inspector](thv_inspector.md) - Launches the MCP Inspector UI and connects it to the specified MCP server
* [thv list](thv_list.md) - List running MCP servers
* [thv logs](thv_logs.md) - Output the logs of an MCP server or manage log files
Expand Down
3 changes: 2 additions & 1 deletion docs/toolhive/reference/cli/thv_client_register.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ thv client register [client] [flags]
### Options

```
-h, --help help for register
--group strings Only register workloads from specified groups (default [default])
-h, --help help for register
```

### Options inherited from parent commands
Expand Down
3 changes: 2 additions & 1 deletion docs/toolhive/reference/cli/thv_client_remove.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ thv client remove [client] [flags]
### Options

```
-h, --help help for remove
--group strings Remove client from specified groups (if not set, removes all workloads from the client)
-h, --help help for remove
```

### Options inherited from parent commands
Expand Down
38 changes: 38 additions & 0 deletions docs/toolhive/reference/cli/thv_group.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
title: thv group
hide_title: true
description: Reference for ToolHive CLI command `thv group`
last_update:
author: autogenerated
slug: thv_group
mdx:
format: md
---

## thv group

Manage logical groupings of MCP servers

### Synopsis

The group command provides subcommands to manage logical groupings of MCP servers.

### Options

```
-h, --help help for group
```

### Options inherited from parent commands

```
--debug Enable debug mode
```

### SEE ALSO

* [thv](thv.md) - ToolHive (thv) is a lightweight, secure, and fast manager for MCP servers
* [thv group create](thv_group_create.md) - Create a new group of MCP servers
* [thv group list](thv_group_list.md) - List all groups
* [thv group rm](thv_group_rm.md) - Remove a group and remove workloads from it

40 changes: 40 additions & 0 deletions docs/toolhive/reference/cli/thv_group_create.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
title: thv group create
hide_title: true
description: Reference for ToolHive CLI command `thv group create`
last_update:
author: autogenerated
slug: thv_group_create
mdx:
format: md
---

## thv group create

Create a new group of MCP servers

### Synopsis

Create a new logical group of MCP servers.
The group can be used to organize and manage multiple MCP servers together.

```
thv group create [group-name] [flags]
```

### Options

```
-h, --help help for create
```

### Options inherited from parent commands

```
--debug Enable debug mode
```

### SEE ALSO

* [thv group](thv_group.md) - Manage logical groupings of MCP servers

39 changes: 39 additions & 0 deletions docs/toolhive/reference/cli/thv_group_list.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
title: thv group list
hide_title: true
description: Reference for ToolHive CLI command `thv group list`
last_update:
author: autogenerated
slug: thv_group_list
mdx:
format: md
---

## thv group list

List all groups

### Synopsis

List all logical groups of MCP servers.

```
thv group list [flags]
```

### Options

```
-h, --help help for list
```

### Options inherited from parent commands

```
--debug Enable debug mode
```

### SEE ALSO

* [thv group](thv_group.md) - Manage logical groupings of MCP servers

40 changes: 40 additions & 0 deletions docs/toolhive/reference/cli/thv_group_rm.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
title: thv group rm
hide_title: true
description: Reference for ToolHive CLI command `thv group rm`
last_update:
author: autogenerated
slug: thv_group_rm
mdx:
format: md
---

## thv group rm

Remove a group and remove workloads from it

### Synopsis

Remove a group and remove all MCP servers from it. By default, this only removes the group membership from workloads without deleting them. Use --with-workloads to also delete the workloads.

```
thv group rm [group-name] [flags]
```

### Options

```
-h, --help help for rm
--with-workloads Delete all workloads in the group along with the group
```

### Options inherited from parent commands

```
--debug Enable debug mode
```

### SEE ALSO

* [thv group](thv_group.md) - Manage logical groupings of MCP servers

1 change: 1 addition & 0 deletions docs/toolhive/reference/cli/thv_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ thv list [flags]
```
-a, --all Show all workloads (default shows just running)
--format string Output format (json, text, or mcpservers) (default "text")
--group string Filter workloads by group
-h, --help help for list
-l, --label stringArray Filter workloads by labels (format: key=value)
```
Expand Down
2 changes: 1 addition & 1 deletion docs/toolhive/reference/cli/thv_mcp_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ thv mcp list [tools|resources|prompts] [flags]
```
--format string Output format (json or text) (default "text")
-h, --help help for list
--server string MCP server URL (required)
--server string MCP server URL or name from ToolHive registry (required)
--timeout duration Connection timeout (default 30s)
--transport string Transport type (auto, sse, streamable-http) (default "auto")
```
Expand Down
2 changes: 1 addition & 1 deletion docs/toolhive/reference/cli/thv_mcp_list_prompts.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ thv mcp list prompts [flags]
```
--format string Output format (json or text) (default "text")
-h, --help help for prompts
--server string MCP server URL (required)
--server string MCP server URL or name from ToolHive registry (required)
--timeout duration Connection timeout (default 30s)
--transport string Transport type (auto, sse, streamable-http) (default "auto")
```
Expand Down
2 changes: 1 addition & 1 deletion docs/toolhive/reference/cli/thv_mcp_list_resources.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ thv mcp list resources [flags]
```
--format string Output format (json or text) (default "text")
-h, --help help for resources
--server string MCP server URL (required)
--server string MCP server URL or name from ToolHive registry (required)
--timeout duration Connection timeout (default 30s)
--transport string Transport type (auto, sse, streamable-http) (default "auto")
```
Expand Down
2 changes: 1 addition & 1 deletion docs/toolhive/reference/cli/thv_mcp_list_tools.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ thv mcp list tools [flags]
```
--format string Output format (json or text) (default "text")
-h, --help help for tools
--server string MCP server URL (required)
--server string MCP server URL or name from ToolHive registry (required)
--timeout duration Connection timeout (default 30s)
--transport string Transport type (auto, sse, streamable-http) (default "auto")
```
Expand Down
7 changes: 4 additions & 3 deletions docs/toolhive/reference/cli/thv_restart.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,10 @@ thv restart [workload-name] [flags]
### Options

```
-a, --all Restart all MCP servers
-f, --foreground Run the restarted workload in foreground mode
-h, --help help for restart
-a, --all Restart all MCP servers
-f, --foreground Run the restarted workload in foreground mode
-g, --group string Restart all MCP servers in a specific group
-h, --help help for restart
```

### Options inherited from parent commands
Expand Down
3 changes: 2 additions & 1 deletion docs/toolhive/reference/cli/thv_rm.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ thv rm [workload-name] [flags]
### Options

```
-h, --help help for rm
--group string Delete all workloads in the specified group
-h, --help help for rm
```

### Options inherited from parent commands
Expand Down
3 changes: 3 additions & 0 deletions docs/toolhive/reference/cli/thv_run.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,11 @@ thv run [flags] SERVER_OR_IMAGE_OR_PROTOCOL [-- ARGS...]
--ca-cert string Path to a custom CA certificate file to use for container builds
--enable-audit Enable audit logging with default configuration
-e, --env stringArray Environment variables to pass to the MCP server (format: KEY=VALUE)
--env-file string Load environment variables from a single file
--env-file-dir string Load environment variables from all files in a directory
-f, --foreground Run in foreground mode (block until container exits)
--from-config string Load configuration from exported file
--group string Name of the group this workload belongs to (defaults to 'default' if not specified) (default "default")
-h, --help help for run
--host string Host for the HTTP proxy to listen on (IP or hostname) (default "127.0.0.1")
--ignore-globally Load global ignore patterns from ~/.config/toolhive/thvignore (default true)
Expand Down
7 changes: 4 additions & 3 deletions docs/toolhive/reference/cli/thv_stop.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,10 @@ thv stop [workload-name] [flags]
### Options

```
--all Stop all running MCP servers
-h, --help help for stop
--timeout int Timeout in seconds before forcibly stopping the workload (default 30)
--all Stop all running MCP servers
-g, --group string Stop all MCP servers in a specific group
-h, --help help for stop
--timeout int Timeout in seconds before forcibly stopping the workload (default 30)
```

### Options inherited from parent commands
Expand Down
Loading