mcpwn API
    Preparing search index...

    Function makeHttpClient

    • Minimal streamable-HTTP MCP client (node:http/https, zero deps). One POST per message; the reply is read as application/json or parsed out of a text/event-stream. Session id + negotiated protocol version are echoed back on later requests, as a well-behaved client should.

      Parameters

      Returns Promise<ScanClient>