Skip to content

Commit b52d4d0

Browse files
Update ToolHive reference docs for v0.0.48
1 parent 49b7816 commit b52d4d0

File tree

8 files changed

+591
-97
lines changed

8 files changed

+591
-97
lines changed

docs/toolhive/reference/cli/thv_config.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ The config command provides subcommands to manage application configuration sett
2727
* [thv config list-registered-clients](thv_config_list-registered-clients.md) - List all registered MCP clients
2828
* [thv config register-client](thv_config_register-client.md) - Register a client for MCP server configuration
2929
* [thv config remove-client](thv_config_remove-client.md) - Remove a client from MCP server configuration
30-
* [thv config secrets-provider](thv_config_secrets-provider.md) - Set the secrets provider type
3130
* [thv config set-ca-cert](thv_config_set-ca-cert.md) - Set the default CA certificate for container builds
3231
* [thv config set-registry-url](thv_config_set-registry-url.md) - Set the MCP server registry URL
3332
* [thv config unset-ca-cert](thv_config_unset-ca-cert.md) - Remove the configured CA certificate

docs/toolhive/reference/cli/thv_config_secrets-provider.md

Lines changed: 0 additions & 30 deletions
This file was deleted.

docs/toolhive/reference/cli/thv_run.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ thv run [flags] SERVER_OR_IMAGE_OR_PROTOCOL [-- ARGS...]
4646
-h, --help help for run
4747
--host string Host for the HTTP proxy to listen on (IP or hostname) (default "127.0.0.1")
4848
--image-verification string Set image verification mode (warn, enabled, disabled) (default "warn")
49+
--isolate-network Isolate the container network from the host (default: false)
4950
--name string Name of the MCP server (auto-generated from image if not provided)
5051
--oidc-audience string Expected audience for the token
5152
--oidc-client-id string OIDC client ID
@@ -60,9 +61,9 @@ thv run [flags] SERVER_OR_IMAGE_OR_PROTOCOL [-- ARGS...]
6061
--permission-profile string Permission profile to use (none, network, or path to JSON file) (default "network")
6162
--port int Port for the HTTP proxy to listen on (host port)
6263
--secret stringArray Specify a secret to be fetched from the secrets manager and set as an environment variable (format: NAME,target=TARGET)
63-
--target-host string Host to forward traffic to (only applicable to SSE transport) (default "127.0.0.1")
64-
--target-port int Port for the container to expose (only applicable to SSE transport)
65-
--transport string Transport mode (sse or stdio) (default "stdio")
64+
--target-host string Host to forward traffic to (only applicable to SSE or Streamable HTTP transport) (default "127.0.0.1")
65+
--target-port int Port for the container to expose (only applicable to SSE or Streamable HTTP transport)
66+
--transport string Transport mode (sse, streamable-http or stdio) (default "stdio")
6667
-v, --volume stringArray Mount a volume into the container (format: host-path:container-path[:ro])
6768
```
6869

docs/toolhive/reference/cli/thv_secret.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ The secret command provides subcommands to set, get, delete, and list secrets.
2424
* [thv secret delete](thv_secret_delete.md) - Delete a secret
2525
* [thv secret get](thv_secret_get.md) - Get a secret
2626
* [thv secret list](thv_secret_list.md) - List all available secrets
27-
* [thv secret provider](thv_secret_provider.md) - Configure the secrets provider
27+
* [thv secret provider](thv_secret_provider.md) - Configure the secrets provider directly
2828
* [thv secret reset-keyring](thv_secret_reset-keyring.md) - Reset the keyring secret
2929
* [thv secret set](thv_secret_set.md) - Set a secret
30+
* [thv secret setup](thv_secret_setup.md) - Set up secrets provider
3031

docs/toolhive/reference/cli/thv_secret_provider.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
## thv secret provider
22

3-
Configure the secrets provider
3+
Configure the secrets provider directly
44

55
### Synopsis
66

7+
For most users, it is recommended to use "thv secret setup" instead.
78
Configure the secrets provider.
89
Valid secrets providers are:
910
- encrypted: Full read-write secrets provider
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
## thv secret setup
2+
3+
Set up secrets provider
4+
5+
### Synopsis
6+
7+
Interactive setup for configuring a secrets provider.
8+
This command will guide you through selecting and configuring
9+
a secrets provider for storing and retrieving secrets.
10+
11+
Available providers:
12+
- encrypted: Stores secrets in an encrypted file using AES-256-GCM using the OS Keyring
13+
- 1password: Read-only access to 1Password secrets (requires OP_SERVICE_ACCOUNT_TOKEN)
14+
- none: Disables secrets functionality
15+
16+
You must run this command before using any other secrets functionality.
17+
18+
```
19+
thv secret setup [flags]
20+
```
21+
22+
### Options
23+
24+
```
25+
-h, --help help for setup
26+
```
27+
28+
### Options inherited from parent commands
29+
30+
```
31+
--debug Enable debug mode
32+
```
33+
34+
### SEE ALSO
35+
36+
* [thv secret](thv_secret.md) - Manage secrets
37+

docs/toolhive/reference/cli/thv_stop.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ thv stop [container-name] [flags]
1313
### Options
1414

1515
```
16+
--all Stop all running MCP servers
1617
-h, --help help for stop
1718
--timeout int Timeout in seconds before forcibly stopping the container (default 30)
1819
```

0 commit comments

Comments
 (0)