---
title: thv inspector
hide_title: true
description: Reference for ToolHive CLI command `thv inspector`
last_update:
  author: autogenerated
slug: thv_inspector
mdx:
  format: md
---

## thv inspector

Launches the MCP Inspector UI and connects it to the specified MCP server

### Synopsis

Launches the MCP Inspector UI and connects it to the specified MCP server

```
thv inspector [workload-name] [flags]
```

### Options

```
  -h, --help                 help for inspector
  -p, --mcp-proxy-port int   Port to run the MCP Proxy on (default 6277)
  -u, --ui-port int          Port to run the MCP Inspector UI on (default 6274)
```

### Options inherited from parent commands

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

### SEE ALSO

* [thv](thv.md)	 - ToolHive (thv) is a lightweight, secure, and fast manager for MCP servers

