If you want it flush, you make a rebate at the top of the oak trim. The rebate needs to be the thickness of the mdf or ply top, with felt attached....
Or you could skip the rebate and simply fix it to the ply, making sure you line it up flush, but I'd strongly recommend trying the rebate as...