Skip to content

Commit 19296c7

Browse files
Update ToolHive reference docs for v0.11.3 (#608)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 9573971 commit 19296c7

3 files changed

Lines changed: 93 additions & 0 deletions

File tree

docs/toolhive/reference/cli/thv_config.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,11 @@ The config command provides subcommands to manage application configuration sett
4141
* [thv config set-build-env](thv_config_set-build-env.md) - Set a build environment variable for protocol builds
4242
* [thv config set-ca-cert](thv_config_set-ca-cert.md) - Set the default CA certificate for container builds
4343
* [thv config set-registry](thv_config_set-registry.md) - Set the MCP server registry
44+
* [thv config set-registry-auth](thv_config_set-registry-auth.md) - Configure OAuth/OIDC authentication for the registry
4445
* [thv config unset-build-auth-file](thv_config_unset-build-auth-file.md) - Remove build auth file(s)
4546
* [thv config unset-build-env](thv_config_unset-build-env.md) - Remove build environment variable(s)
4647
* [thv config unset-ca-cert](thv_config_unset-ca-cert.md) - Remove the configured CA certificate
4748
* [thv config unset-registry](thv_config_unset-registry.md) - Remove the configured registry
49+
* [thv config unset-registry-auth](thv_config_unset-registry-auth.md) - Remove registry authentication configuration
4850
* [thv config usage-metrics](thv_config_usage-metrics.md) - Enable or disable anonymous usage metrics
4951

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
---
2+
title: thv config set-registry-auth
3+
hide_title: true
4+
description: Reference for ToolHive CLI command `thv config set-registry-auth`
5+
last_update:
6+
author: autogenerated
7+
slug: thv_config_set-registry-auth
8+
mdx:
9+
format: md
10+
---
11+
12+
## thv config set-registry-auth
13+
14+
Configure OAuth/OIDC authentication for the registry
15+
16+
### Synopsis
17+
18+
Configure OAuth/OIDC authentication for the remote MCP server registry.
19+
PKCE (S256) is always enforced for security.
20+
21+
The issuer URL is validated via OIDC discovery before saving.
22+
23+
Examples:
24+
thv config set-registry-auth --issuer https://auth.company.com --client-id toolhive-cli
25+
thv config set-registry-auth \
26+
--issuer https://auth.company.com --client-id toolhive-cli \
27+
--audience api://my-registry --scopes openid,profile
28+
29+
```
30+
thv config set-registry-auth [flags]
31+
```
32+
33+
### Options
34+
35+
```
36+
--audience string OAuth audience parameter
37+
--client-id string OAuth client ID (required)
38+
-h, --help help for set-registry-auth
39+
--issuer string OIDC issuer URL (required)
40+
--scopes strings OAuth scopes (default [openid,offline_access])
41+
```
42+
43+
### Options inherited from parent commands
44+
45+
```
46+
--debug Enable debug mode
47+
```
48+
49+
### SEE ALSO
50+
51+
* [thv config](thv_config.md) - Manage application configuration
52+
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
title: thv config unset-registry-auth
3+
hide_title: true
4+
description: Reference for ToolHive CLI command `thv config unset-registry-auth`
5+
last_update:
6+
author: autogenerated
7+
slug: thv_config_unset-registry-auth
8+
mdx:
9+
format: md
10+
---
11+
12+
## thv config unset-registry-auth
13+
14+
Remove registry authentication configuration
15+
16+
### Synopsis
17+
18+
Remove the OAuth/OIDC authentication configuration for the registry.
19+
20+
```
21+
thv config unset-registry-auth [flags]
22+
```
23+
24+
### Options
25+
26+
```
27+
-h, --help help for unset-registry-auth
28+
```
29+
30+
### Options inherited from parent commands
31+
32+
```
33+
--debug Enable debug mode
34+
```
35+
36+
### SEE ALSO
37+
38+
* [thv config](thv_config.md) - Manage application configuration
39+

0 commit comments

Comments
 (0)