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
2 changes: 2 additions & 0 deletions docs/toolhive/reference/cli/thv_registry.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,6 @@ Manage the MCP server registry, including listing and getting information about
* [thv](thv.md) - ToolHive (thv) is a lightweight, secure, and fast manager for MCP servers
* [thv registry info](thv_registry_info.md) - Get information about an MCP server
* [thv registry list](thv_registry_list.md) - List available MCP servers
* [thv registry login](thv_registry_login.md) - Authenticate with the configured registry
* [thv registry logout](thv_registry_logout.md) - Clear cached registry credentials

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

## thv registry login

Authenticate with the configured registry

### Synopsis

Perform an interactive OAuth login against the configured registry.

If the registry URL or OAuth configuration (issuer, client-id) are not yet
saved in config, you can supply them as flags and they will be persisted
before the login flow begins.

Examples:
thv registry login
thv registry login --registry https://registry.example.com/api --issuer https://auth.example.com --client-id my-app

```
thv registry login [flags]
```

### Options

```
--audience string OAuth audience (optional)
--client-id string OAuth client ID to save if OAuth is not configured
-h, --help help for login
--issuer string OIDC issuer URL to save if OAuth is not configured
--registry string Registry URL to save if not already configured
--scopes strings OAuth scopes (defaults to openid,offline_access)
```

### Options inherited from parent commands

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

### SEE ALSO

* [thv registry](thv_registry.md) - Manage MCP server registry

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

## thv registry logout

Clear cached registry credentials

### Synopsis

Remove cached OAuth tokens for the configured registry.

```
thv registry logout [flags]
```

### Options

```
-h, --help help for logout
```

### Options inherited from parent commands

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

### SEE ALSO

* [thv registry](thv_registry.md) - Manage MCP server registry

1 change: 0 additions & 1 deletion docs/toolhive/reference/crd-spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,6 @@ _Appears in:_
| `logLevel` _string_ | LogLevel sets the logging level for the Virtual MCP server.<br />The only valid value is "debug" to enable debug logging.<br />When omitted or empty, the server uses info level logging. | | Enum: [debug] <br />Optional: \{\} <br /> |
| `timeouts` _[vmcp.config.TimeoutConfig](#vmcpconfigtimeoutconfig)_ | Timeouts configures timeout settings. | | Optional: \{\} <br /> |
| `failureHandling` _[vmcp.config.FailureHandlingConfig](#vmcpconfigfailurehandlingconfig)_ | FailureHandling configures failure handling behavior. | | Optional: \{\} <br /> |
| `sessionManagementV2` _boolean_ | SessionManagementV2 enables session-scoped backend client lifecycle.<br />When true, vMCP creates real backend connections per session via MultiSessionFactory<br />and routes tool calls directly through the session rather than the global router.<br />Defaults to true. Set explicitly to false to opt out. | true | Optional: \{\} <br /> |


#### vmcp.config.OptimizerConfig
Expand Down
Loading