Skip to main content

thv registry convert

Convert a legacy registry file to the upstream MCP format

Synopsis

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]

Options

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

Options inherited from parent commands

--debug Enable debug mode

SEE ALSO