thv logs
Output the logs of an MCP server or manage log files
Synopsis
Output the logs of an MCP server managed by ToolHive, or manage log files.
By default, this command shows the logs from the MCP server container. Use --proxy to view the logs from the ToolHive proxy process instead.
thv logs [workload-name|prune] [flags]
Options
-f, --follow Follow log output (only for workload logs)
-h, --help help for logs
-p, --proxy Show proxy logs instead of container logs
Options inherited from parent commands
--debug Enable debug mode
SEE ALSO
- thv - ToolHive (thv) is a lightweight, secure, and fast manager for MCP servers
- thv logs prune - Delete log files from servers not currently managed by ToolHive