Skip to content

Commit cc907c6

Browse files
authored
moved client register/remove commands under client (#54)
1 parent dfad7e9 commit cc907c6

File tree

7 files changed

+63
-67
lines changed

7 files changed

+63
-67
lines changed

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

Lines changed: 9 additions & 9 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,23 +72,23 @@ 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

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

8888
To list currently registered clients:
8989

9090
```bash
91-
thv config list-registered-clients
91+
thv client list-registered
9292
```
9393

9494
Repeat the registration step for any additional clients you want to configure.
@@ -99,7 +99,7 @@ effect.
9999
To remove a client configuration:
100100

101101
```bash
102-
thv config remove-client <CLIENT_NAME>
102+
thv client remove <CLIENT_NAME>
103103
```
104104

105105
## Other clients or tools
@@ -175,7 +175,7 @@ If ToolHive doesn't detect your client:
175175
3. Try manually registering the client:
176176

177177
```bash
178-
thv config register-client <CLIENT_NAME>
178+
thv client register <CLIENT_NAME>
179179
```
180180

181181
</details>

docs/toolhive/reference/cli/thv_client.md

Lines changed: 4 additions & 2 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 setup](thv_client_setup.md) - Interactively setup and register installed clients
3433
* [thv client status](thv_client_status.md) - Show status of all supported MCP clients
35-
34+
* [thv client setup](thv_client_setup.md) - Interactively setup and register installed clients
35+
* [thv client list-registered](thv_client_list-registered.md) - List all registered MCP clients
36+
* [thv client register](thv_client_register.md) - Register a client for MCP server configuration
37+
* [thv client remove](thv_client_remove.md) - Remove a client from MCP server configuration
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
title: thv client list-registered
3+
hide_title: true
4+
description: Reference for ToolHive CLI command `thv client list-registered`
5+
last_update:
6+
author: autogenerated
7+
slug: thv_client_list-registered
8+
---
9+
10+
## thv client list-registered
11+
12+
List all registered MCP clients
13+
14+
### Synopsis
15+
16+
List all clients that are registered for MCP server configuration.
17+
18+
```
19+
thv client list-registered [flags]
20+
```
21+
22+
### Options
23+
24+
```
25+
-h, --help help for list-registered
26+
```
27+
28+
### Options inherited from parent commands
29+
30+
```
31+
--debug Enable debug mode
32+
```
33+
34+
### SEE ALSO
35+
36+
* [thv client](thv_client.md) - Manage MCP clients

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 & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,7 @@ The config command provides subcommands to manage application configuration sett
3232
* [thv](thv.md) - ToolHive (thv) is a lightweight, secure, and fast manager for MCP servers
3333
* [thv config get-ca-cert](thv_config_get-ca-cert.md) - Get the currently configured CA certificate path
3434
* [thv config get-registry-url](thv_config_get-registry-url.md) - Get the currently configured registry URL
35-
* [thv config list-registered-clients](thv_config_list-registered-clients.md) - List all registered MCP clients
3635
* [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
3936
* [thv config set-ca-cert](thv_config_set-ca-cert.md) - Set the default CA certificate for container builds
4037
* [thv config set-registry-url](thv_config_set-registry-url.md) - Set the MCP server registry URL
4138
* [thv config unset-ca-cert](thv_config_unset-ca-cert.md) - Remove the configured CA certificate

docs/toolhive/reference/cli/thv_config_list-registered-clients.md

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

0 commit comments

Comments
 (0)