---
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

