Ryne Stanek, who was a force during the Mets’ postseason run, has agreed to return on a one-year pact, The Post confirmed.