mcpwn API
    Preparing search index...

    Class StdioTransport

    Wrap-and-spawn stdio relay.

    host ──stdin──► mcpwn ──child.stdin──► real server host ◄─stdout── mcpwn ◄─child.stdout── real server

    Framing lives here (one JSON message per line); the pipeline decides what to forward. Each framed line is handed to pipeline.process, and whatever it returns is written back with the stdio newline (unless it was dropped). Unparseable lines are relayed opaquely by the pipeline (NFR-3). The child's own stderr is passed straight through so server logs survive.

    Implements

    Index