mcpwn API
    Preparing search index...

    Function captureBaseline

    • mcpwn baseline capture [--out <file>] -- <server> [args...] — spawn the server, run a minimal MCP handshake (initialize → initialized → tools/list), write the first tools/list result to the baseline file, then exit. Drives the child directly (like replay) rather than proxying, so stdio here is normal CLI I/O and nothing is written to our stdout.

      Parameters

      • command: string
      • args: string[]
      • outFile: string
      • logger: BaselineLogger

      Returns Promise<number>