$ErrorActionPreference = "Stop" $portConfig = Get-Content -Path "port.json" | ConvertFrom-Json $port = [int]$portConfig.port $image = "chemlib-mcp" docker build -t $image . docker run --rm -p "${port}:${port}" -e MCP_PORT=$port $image