@mcp-z/cli
    Preparing search index...

    Function inspectCommand

    • Main inspect command implementation.

      Parameters

      • opts: InspectOptions = {}

        Inspect options from CLI flags

      Returns Promise<void>

      // Show summary of .mcp.json servers (spawns servers)
      await inspectCommand({});
      // Show all tools from echo server (spawns server)
      await inspectCommand({ servers: 'echo', tools: true });
      // Connect to running servers (attach mode)
      await inspectCommand({ config: 'http-servers.json', attach: true, health: true });