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

## thv rm

Remove one or more MCP servers

### Synopsis

Remove one or more MCP servers managed by ToolHive. 
Examples:
  # Remove a single MCP server
  thv rm filesystem

  # Remove multiple MCP servers
  thv rm filesystem github slack

  # Remove all workloads
  thv rm --all

  # Remove all workloads in a group
  thv rm --group production

```
thv rm [workload-name...] [flags]
```

### Options

```
      --all            Delete all workloads
  -g, --group string   Filter by group
  -h, --help           help for rm
```

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

