| title | thv registry convert | ||
|---|---|---|---|
| hide_title | true | ||
| description | Reference for ToolHive CLI command `thv registry convert` | ||
| last_update |
|
||
| slug | thv_registry_convert | ||
| mdx |
|
Convert a legacy registry file to the upstream MCP format
Convert a legacy ToolHive registry JSON file to the upstream MCP registry format.
Reads from --in (or stdin) and writes to --out (or stdout). Use --in-place to overwrite the input file; a backup is written to .bak unless --no-backup is set.
thv registry convert [flags]
-h, --help help for convert
--in string Input file (default: stdin)
--in-place Overwrite the input file (writes a .bak backup unless --no-backup is set)
--no-backup Do not write a .bak backup when using --in-place
--out string Output file (default: stdout)
--debug Enable debug mode
- thv registry - Manage MCP server registry