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
6 changes: 3 additions & 3 deletions docs/toolhive/guides-cli/registry.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,6 @@ registry.

- [`thv registry` command reference](../reference/cli/thv_registry.md)
- [`thv search` command reference](../reference/cli/thv_search.md)
- [`thv config set-registry-url` command reference](../reference/cli/thv_config_set-registry-url.md)
- [`thv config get-registry-url` command reference](../reference/cli/thv_config_get-registry-url.md)
- [`thv config unset-registry-url` command reference](../reference/cli/thv_config_unset-registry-url.md)
- [`thv config set-registry-url` command reference](../reference/cli/thv_config_set-registry.md)
- [`thv config get-registry-url` command reference](../reference/cli/thv_config_get-registry.md)
- [`thv config unset-registry-url` command reference](../reference/cli/thv_config_unset-registry.md)
1 change: 0 additions & 1 deletion docs/toolhive/reference/cli/thv.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ thv [flags]
* [thv rm](thv_rm.md) - Remove an MCP server
* [thv run](thv_run.md) - Run an MCP server
* [thv runtime](thv_runtime.md) - Commands related to the container runtime
* [thv runtime](thv_runtime.md) - Commands related to the container runtime
* [thv search](thv_search.md) - Search for MCP servers
* [thv secret](thv_secret.md) - Manage secrets
* [thv serve](thv_serve.md) - Start the ToolHive API server
Expand Down
5 changes: 5 additions & 0 deletions docs/toolhive/reference/cli/thv_client_register.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ Register a client for MCP server configuration
Register a client for MCP server configuration.

Valid clients:
- amp-cli: Sourcegraph Amp CLI
- amp-cursor: Sourcegraph Amp extension for Cursor
- amp-vscode: Sourcegraph Amp extension for VS Code
- amp-vscode-insider: Sourcegraph Amp extension for VS Code Insiders
- amp-windsurf: Sourcegraph Amp extension for Windsurf
- claude-code: Claude Code CLI
- cline: Cline extension for VS Code
- cursor: Cursor editor
Expand Down
5 changes: 5 additions & 0 deletions docs/toolhive/reference/cli/thv_client_remove.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ Remove a client from MCP server configuration
Remove a client from MCP server configuration.

Valid clients:
- amp-cli: Sourcegraph Amp CLI
- amp-cursor: Sourcegraph Amp extension for Cursor
- amp-vscode: Sourcegraph Amp extension for VS Code
- amp-vscode-insider: Sourcegraph Amp extension for VS Code Insiders
- amp-windsurf: Sourcegraph Amp extension for Windsurf
- claude-code: Claude Code CLI
- cline: Cline extension for VS Code
- cursor: Cursor editor
Expand Down
6 changes: 3 additions & 3 deletions docs/toolhive/reference/cli/thv_config.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ The config command provides subcommands to manage application configuration sett

* [thv](thv.md) - ToolHive (thv) is a lightweight, secure, and fast manager for MCP servers
* [thv config get-ca-cert](thv_config_get-ca-cert.md) - Get the currently configured CA certificate path
* [thv config get-registry-url](thv_config_get-registry-url.md) - Get the currently configured registry URL
* [thv config get-registry](thv_config_get-registry.md) - Get the currently configured registry
* [thv config otel](thv_config_otel.md) - Manage OpenTelemetry configuration
* [thv config set-ca-cert](thv_config_set-ca-cert.md) - Set the default CA certificate for container builds
* [thv config set-registry-url](thv_config_set-registry-url.md) - Set the MCP server registry URL
* [thv config set-registry](thv_config_set-registry.md) - Set the MCP server registry
* [thv config unset-ca-cert](thv_config_unset-ca-cert.md) - Remove the configured CA certificate
* [thv config unset-registry-url](thv_config_unset-registry-url.md) - Remove the configured registry URL
* [thv config unset-registry](thv_config_unset-registry.md) - Remove the configured registry

Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
---
title: thv config get-registry-url
title: thv config get-registry
hide_title: true
description: Reference for ToolHive CLI command `thv config get-registry-url`
description: Reference for ToolHive CLI command `thv config get-registry`
last_update:
author: autogenerated
slug: thv_config_get-registry-url
slug: thv_config_get-registry
mdx:
format: md
---

## thv config get-registry-url
## thv config get-registry

Get the currently configured registry URL
Get the currently configured registry

### Synopsis

Display the URL of the remote registry that is currently configured.
Display the currently configured registry (URL or file path).

```
thv config get-registry-url [flags]
thv config get-registry [flags]
```

### Options

```
-h, --help help for get-registry-url
-h, --help help for get-registry
```

### Options inherited from parent commands
Expand Down
44 changes: 0 additions & 44 deletions docs/toolhive/reference/cli/thv_config_set-registry-url.md

This file was deleted.

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

## thv config set-registry

Set the MCP server registry

### Synopsis

Set the MCP server registry to either a remote URL or local file path.
The command automatically detects whether the input is a URL or file path.

Examples:
thv config set-registry https://example.com/registry.json # Remote URL
thv config set-registry /path/to/local-registry.json # Local file path
thv config set-registry file:///path/to/local-registry.json # Explicit file URL

```
thv config set-registry <url-or-path> [flags]
```

### Options

```
-p, --allow-private-ip Allow setting the registry URL, even if it references a private IP address
-h, --help help for set-registry
```

### Options inherited from parent commands

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

### SEE ALSO

* [thv config](thv_config.md) - Manage application configuration

Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
---
title: thv config unset-registry-url
title: thv config unset-registry
hide_title: true
description: Reference for ToolHive CLI command `thv config unset-registry-url`
description: Reference for ToolHive CLI command `thv config unset-registry`
last_update:
author: autogenerated
slug: thv_config_unset-registry-url
slug: thv_config_unset-registry
mdx:
format: md
---

## thv config unset-registry-url
## thv config unset-registry

Remove the configured registry URL
Remove the configured registry

### Synopsis

Remove the registry URL configuration, reverting to the built-in registry.
Remove the registry configuration, reverting to the built-in registry.

```
thv config unset-registry-url [flags]
thv config unset-registry [flags]
```

### Options

```
-h, --help help for unset-registry-url
-h, --help help for unset-registry
```

### Options inherited from parent commands
Expand Down
4 changes: 4 additions & 0 deletions docs/toolhive/reference/cli/thv_logs.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ Output the logs of an MCP server or manage log files

Output the logs of an MCP server managed by ToolHive, or manage log files.

By default, this command shows the logs from the MCP server container.
Use --proxy to view the logs from the ToolHive proxy process instead.

```
thv logs [workload-name|prune] [flags]
```
Expand All @@ -26,6 +29,7 @@ thv logs [workload-name|prune] [flags]
```
-f, --follow Follow log output (only for workload logs)
-h, --help help for logs
-p, --proxy Show proxy logs instead of container logs
```

### Options inherited from parent commands
Expand Down
1 change: 0 additions & 1 deletion docs/toolhive/reference/cli/thv_runtime.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,4 @@ Commands related to the container runtime

* [thv](thv.md) - ToolHive (thv) is a lightweight, secure, and fast manager for MCP servers
* [thv runtime check](thv_runtime_check.md) - Ping the container runtime
* [thv runtime check](thv_runtime_check.md) - Ping the container runtime

Loading
Loading