Main inspect command implementation.
Inspect options from CLI flags
// Show summary of .mcp.json servers (spawns servers)await inspectCommand({}); Copy
// Show summary of .mcp.json servers (spawns servers)await inspectCommand({});
// Show all tools from echo server (spawns server)await inspectCommand({ servers: 'echo', tools: true }); Copy
// 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 }); Copy
// Connect to running servers (attach mode)await inspectCommand({ config: 'http-servers.json', attach: true, health: true });
Main inspect command implementation.