Path integral for spin-1 chain in the fluctuating matrix product state basis