Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 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
16 changes: 8 additions & 8 deletions docs/toolhive/guides-cli/client-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ configurations.
## Alternative client registration

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

```bash
thv config register-client <CLIENT_NAME>
thv client register <CLIENT_NAME>
```

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

Example:

```bash
thv config register-client vscode
thv client register vscode
```

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

To list currently registered clients:

Expand All @@ -99,7 +99,7 @@ effect.
To remove a client configuration:

```bash
thv config remove-client <CLIENT_NAME>
thv client remove <CLIENT_NAME>
```

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

```bash
thv config register-client <CLIENT_NAME>
thv client register <CLIENT_NAME>
```

</details>
Expand Down
2 changes: 2 additions & 0 deletions docs/toolhive/reference/cli/thv_client.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ The client command provides subcommands to manage MCP client integrations.
### SEE ALSO

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

Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
title: thv config register-client
title: thv client register
hide_title: true
description: Reference for ToolHive CLI command `thv config register-client`
description: Reference for ToolHive CLI command `thv client register`
last_update:
author: autogenerated
slug: thv_config_register-client
slug: thv_client_register
---

## thv config register-client
## thv client register

Register a client for MCP server configuration

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

```
thv config register-client [client] [flags]
thv client register [client] [flags]
```

### Options

```
-h, --help help for register-client
-h, --help help for register
```

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

### SEE ALSO

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

* [thv client](thv_client.md) - Manage MCP clients
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
title: thv config remove-client
title: thv client remove
hide_title: true
description: Reference for ToolHive CLI command `thv config remove-client`
description: Reference for ToolHive CLI command `thv client remove`
last_update:
author: autogenerated
slug: thv_config_remove-client
slug: thv_client_remove
---

## thv config remove-client
## thv client remove

Remove a client from MCP server configuration

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

```
thv config remove-client [client] [flags]
thv client remove [client] [flags]
```

### Options

```
-h, --help help for remove-client
-h, --help help for remove
```

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

### SEE ALSO

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

* [thv client](thv_client.md) - Manage MCP clients
2 changes: 0 additions & 2 deletions docs/toolhive/reference/cli/thv_config.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ The config command provides subcommands to manage application configuration sett
* [thv config get-registry-url](thv_config_get-registry-url.md) - Get the currently configured registry URL
* [thv config list-registered-clients](thv_config_list-registered-clients.md) - List all registered MCP clients
* [thv config otel](thv_config_otel.md) - Manage OpenTelemetry configuration
* [thv config register-client](thv_config_register-client.md) - Register a client for MCP server configuration
* [thv config remove-client](thv_config_remove-client.md) - Remove a client from MCP server 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 unset-ca-cert](thv_config_unset-ca-cert.md) - Remove the configured CA certificate
Expand Down
Loading