Skip to content

Commit afe58e3

Browse files
committed
moved client register/remove commands under client
1 parent fd9e5e2 commit afe58e3

File tree

5 files changed

+23
-24
lines changed

5 files changed

+23
-24
lines changed

docs/toolhive/guides-cli/client-configuration.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ configurations.
6060
## Alternative client registration
6161

6262
If you prefer to register clients manually or in an automated script, use the
63-
`thv config register-client` command:
63+
`thv client register` command:
6464

6565
```bash
66-
thv config register-client <CLIENT_NAME>
66+
thv client register <CLIENT_NAME>
6767
```
6868

6969
Replace `<CLIENT_NAME>` with the name of your client. Common client names
@@ -72,17 +72,18 @@ include:
7272
- `claude-code` - Claude Code CLI
7373
- `cursor` - Cursor IDE
7474
- `roo-code` - Roo Code extension for Visual Studio Code
75+
- `cline` - Cline extension for Visual Studio Code
7576
- `vscode` - Visual Studio Code (GitHub Copilot)
7677
- `vscode-insider` - VS Code Insiders edition
7778

7879
Example:
7980

8081
```bash
81-
thv config register-client vscode
82+
thv client register vscode
8283
```
8384

8485
Run
85-
[`thv config register-client --help`](../reference/cli/thv_config_register-client.md)
86+
[`thv client register --help`](../reference/cli/thv_client_register.md)
8687
for the latest list of supported clients.
8788

8889
To list currently registered clients:
@@ -99,7 +100,7 @@ effect.
99100
To remove a client configuration:
100101

101102
```bash
102-
thv config remove-client <CLIENT_NAME>
103+
thv client remove <CLIENT_NAME>
103104
```
104105

105106
## Other clients or tools
@@ -175,7 +176,7 @@ If ToolHive doesn't detect your client:
175176
3. Try manually registering the client:
176177

177178
```bash
178-
thv config register-client <CLIENT_NAME>
179+
thv client register <CLIENT_NAME>
179180
```
180181

181182
</details>

docs/toolhive/reference/cli/thv_client.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ The client command provides subcommands to manage MCP client integrations.
3030
### SEE ALSO
3131

3232
* [thv](thv.md) - ToolHive (thv) is a lightweight, secure, and fast manager for MCP servers
33+
* [thv client register](thv_client_register.md) - Register a client for MCP server configuration
34+
* [thv client remove](thv_client_remove.md) - Remove a client from MCP server configuration
3335
* [thv client setup](thv_client_setup.md) - Interactively setup and register installed clients
3436
* [thv client status](thv_client_status.md) - Show status of all supported MCP clients
3537

docs/toolhive/reference/cli/thv_config_register-client.md renamed to docs/toolhive/reference/cli/thv_client_register.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
---
2-
title: thv config register-client
2+
title: thv client register
33
hide_title: true
4-
description: Reference for ToolHive CLI command `thv config register-client`
4+
description: Reference for ToolHive CLI command `thv client register`
55
last_update:
66
author: autogenerated
7-
slug: thv_config_register-client
7+
slug: thv_client_register
88
---
99

10-
## thv config register-client
10+
## thv client register
1111

1212
Register a client for MCP server configuration
1313

@@ -23,13 +23,13 @@ Valid clients are:
2323
- vscode-insider: Visual Studio Code Insiders edition
2424

2525
```
26-
thv config register-client [client] [flags]
26+
thv client register [client] [flags]
2727
```
2828

2929
### Options
3030

3131
```
32-
-h, --help help for register-client
32+
-h, --help help for register
3333
```
3434

3535
### Options inherited from parent commands
@@ -40,5 +40,4 @@ thv config register-client [client] [flags]
4040

4141
### SEE ALSO
4242

43-
* [thv config](thv_config.md) - Manage application configuration
44-
43+
* [thv client](thv_client.md) - Manage MCP clients

docs/toolhive/reference/cli/thv_config_remove-client.md renamed to docs/toolhive/reference/cli/thv_client_remove.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
---
2-
title: thv config remove-client
2+
title: thv client remove
33
hide_title: true
4-
description: Reference for ToolHive CLI command `thv config remove-client`
4+
description: Reference for ToolHive CLI command `thv client remove`
55
last_update:
66
author: autogenerated
7-
slug: thv_config_remove-client
7+
slug: thv_client_remove
88
---
99

10-
## thv config remove-client
10+
## thv client remove
1111

1212
Remove a client from MCP server configuration
1313

@@ -23,13 +23,13 @@ Valid clients are:
2323
- vscode-insider: Visual Studio Code Insiders edition
2424

2525
```
26-
thv config remove-client [client] [flags]
26+
thv client remove [client] [flags]
2727
```
2828

2929
### Options
3030

3131
```
32-
-h, --help help for remove-client
32+
-h, --help help for remove
3333
```
3434

3535
### Options inherited from parent commands
@@ -40,5 +40,4 @@ thv config remove-client [client] [flags]
4040

4141
### SEE ALSO
4242

43-
* [thv config](thv_config.md) - Manage application configuration
44-
43+
* [thv client](thv_client.md) - Manage MCP clients

docs/toolhive/reference/cli/thv_config.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ The config command provides subcommands to manage application configuration sett
3434
* [thv config get-registry-url](thv_config_get-registry-url.md) - Get the currently configured registry URL
3535
* [thv config list-registered-clients](thv_config_list-registered-clients.md) - List all registered MCP clients
3636
* [thv config otel](thv_config_otel.md) - Manage OpenTelemetry configuration
37-
* [thv config register-client](thv_config_register-client.md) - Register a client for MCP server configuration
38-
* [thv config remove-client](thv_config_remove-client.md) - Remove a client from MCP server configuration
3937
* [thv config set-ca-cert](thv_config_set-ca-cert.md) - Set the default CA certificate for container builds
4038
* [thv config set-registry-url](thv_config_set-registry-url.md) - Set the MCP server registry URL
4139
* [thv config unset-ca-cert](thv_config_unset-ca-cert.md) - Remove the configured CA certificate

0 commit comments

Comments
 (0)