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
4 changes: 3 additions & 1 deletion docs/toolhive/reference/cli/thv_client_register.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,12 @@ Valid clients:
- continue: Continue.dev extensions for VS Code and JetBrains
- cursor: Cursor editor
- goose: Goose AI agent
- kiro: Kiro AI IDE
- lm-studio: LM Studio application
- opencode: OpenCode editor
- roo-code: Roo Code extension for VS Code
- trae: Trae IDE
- vscode: Visual Studio Code
- vscode: Visual Studio Code (GitHub Copilot)
- vscode-insider: Visual Studio Code Insiders edition
- windsurf: Windsurf IDE
- windsurf-jetbrains: Windsurf for JetBrains IDEs
Expand Down
4 changes: 3 additions & 1 deletion docs/toolhive/reference/cli/thv_client_remove.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,12 @@ Valid clients:
- continue: Continue.dev extensions for VS Code and JetBrains
- cursor: Cursor editor
- goose: Goose AI agent
- kiro: Kiro AI IDE
- lm-studio: LM Studio application
- opencode: OpenCode editor
- roo-code: Roo Code extension for VS Code
- trae: Trae IDE
- vscode: Visual Studio Code
- vscode: Visual Studio Code (GitHub Copilot)
- vscode-insider: Visual Studio Code Insiders edition
- windsurf: Windsurf IDE
- windsurf-jetbrains: Windsurf for JetBrains IDEs
Expand Down
1 change: 1 addition & 0 deletions docs/toolhive/reference/cli/thv_config.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,5 @@ The config command provides subcommands to manage application configuration sett
* [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](thv_config_unset-registry.md) - Remove the configured registry
* [thv config usage-metrics](thv_config_usage-metrics.md) - Enable or disable anonymous usage metrics

12 changes: 8 additions & 4 deletions docs/toolhive/reference/cli/thv_config_set-registry.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,15 @@ 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.
Set the MCP server registry to a remote URL, local file path, or API endpoint.
The command automatically detects the registry type:
- URLs ending with .json are treated as static registry files
- Other URLs are treated as MCP Registry API endpoints (v0.1 spec)
- Local paths are treated as local registry files

Examples:
thv config set-registry https://example.com/registry.json # Remote URL
thv config set-registry https://example.com/registry.json # Static remote file
thv config set-registry https://registry.example.com # API endpoint
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

Expand All @@ -30,7 +34,7 @@ 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
-p, --allow-private-ip Allow setting the registry URL or API endpoint, even if it references a private IP address
-h, --help help for set-registry
```

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

## thv config usage-metrics

Enable or disable anonymous usage metrics

```
thv config usage-metrics <enable|disable> [flags]
```

### Options

```
-h, --help help for usage-metrics
```

### Options inherited from parent commands

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

### SEE ALSO

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

1 change: 1 addition & 0 deletions docs/toolhive/reference/cli/thv_registry_info.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ thv registry info [server] [flags]
```
--format string Output format (json or text) (default "text")
-h, --help help for info
--refresh Force refresh registry cache
```

### Options inherited from parent commands
Expand Down
1 change: 1 addition & 0 deletions docs/toolhive/reference/cli/thv_registry_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ thv registry list [flags]
```
--format string Output format (json or text) (default "text")
-h, --help help for list
--refresh Force refresh registry cache
```

### Options inherited from parent commands
Expand Down
Loading