| title | thv registry login | ||
|---|---|---|---|
| hide_title | true | ||
| description | Reference for ToolHive CLI command `thv registry login` | ||
| last_update |
|
||
| slug | thv_registry_login | ||
| mdx |
|
Authenticate with the configured registry
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]
--audience string OAuth audience parameter for registry authentication (optional)
--client-id string OAuth client ID for registry authentication
-h, --help help for login
--issuer string OIDC issuer URL for registry authentication
--registry string Registry URL
--scopes strings OAuth scopes for registry authentication (defaults to openid,offline_access)
--debug Enable debug mode
- thv registry - Manage MCP server registry