$ErrorActionPreference = "Stop" $port = (Get-Content -Raw -Path "port.json" | ConvertFrom-Json).port $image = "causalml-mcp" docker build -t $image . docker run --rm -it -p "${port}:${port}" -e MCP_TRANSPORT=http -e MCP_PORT=$port $image