Three days after he was implicated in the Houston Astros’ cheating scandal, Carlos Beltran and the Mets agreed he should step down as manager of the team on Thursday, leaving the job before he had held his first practice.

“We met with Carlos last night and again this morning and agreed to mutually part ways,” Jeff Wilpon, the Mets’ chief operating officer, said in a statement released by the team. “This was not an easy decision. Considering the circumstances, it became clear to all parties that it was not in anyone’s best interest for Carlos to move forward as Manager of the New York Mets.”

Beltran, who was hired in November for his first managing job at any level, said in the same statement that he was grateful for the opportunity the Mets had given him but that he agreed the decision was in the team’s best interest. “I couldn’t let myself be a distraction for the team,” he said. “I wish the entire organization success in the future.”

After Major League Baseball published its scathing report on Houston’s sign-stealing scheme on Monday, the Astros fired General Manager Jeff Luhnow and Manager A.J. Hinch, and the Red Sox announced the next day that they were parting ways with Alex Cora, who had been an Astros bench coach in 2017 and was implicated in M.L.B.’s report.