| title | Using the ToolHive CLI |
|---|---|
| description | How-to guides for using the ToolHive command-line interface to run and manage MCP servers. |
import DocCardList from '@theme/DocCardList';
The ToolHive CLI (thv) is a command-line tool that allows you to deploy and
manage MCP servers on your local machine or in development environments. It
provides quick deployment of MCP servers and supports advanced features like
custom permissions, network access filtering, and telemetry.
It's designed for developers who prefer working in a terminal or need to integrate MCP server management into scripts or automation workflows.
:::info[Using ToolHive UI?]
ToolHive UI includes and manages the CLI automatically. You don't need to install the CLI separately. See CLI conflict resolution if you have both installed.
:::
- New to ToolHive CLI? Follow the Quickstart to install
thvand run your first MCP server in minutes. - Already installed? Jump to Run MCP servers to start managing servers from the command line.
- Building or automating? See advanced workflows for auth, CI/CD, container builds, and more.