thv mcp check
Check MCP initialize readiness
Synopsis
Connect to an MCP server, perform only the initialize handshake, and close the connection.
The command does not list or invoke tools, resources, or prompts, making it suitable for readiness gates and CI preflight checks. It exits non-zero when the transport or initialize handshake fails.
thv mcp check [flags]
Options
--format string Output format (json, text) (default "text")
-h, --help[=true|false] help for check
--server string MCP server URL or name from ToolHive registry (required)
--timeout duration Connection and initialize timeout (default 5s)
--transport string Transport type (auto, sse, streamable-http) (default "auto")
Options inherited from parent commands
--debug[=true|false] Enable debug mode
SEE ALSO
- thv mcp - Interact with MCP servers for debugging