Ronald Matarrita hasn’t played in several weeks, but he still was recalled by Costa Rica. (James Lang/USA TODAY Sports)

Two New York City FC players have been recalled by Costa Rica for two World Cup qualifying matches next month.

Defender Ronald Matarrita, who is injured, and forward Rodney Wallace, one of the bright spots for the Major League Soccer side, were among 27 players called into the team by head coach Oscar Ramirez.

The Ticos will play two home games — vs. Panama June 8 and Trinidad & Tobago June 13.

The roster:

GOALKEEPERS: Dany Carvajal (Saprissa), Leonel Moreira (Herediano), Keylor Navas (Real Madrid/Spain), Patrick Pemberton (Alajuelense)

DEFENDERS: Johnny Acosta (Herediano), Francisco Calvo (Minnesota United/USA), Cristian Gamboa (Celtic/Scotland), Giancarlo Gonzalez (Palermo/Italy), Kenner Gutierrez (Alajuelense), Ronald Matarrita (New York City FC/USA), Bryan Oviedo (Sunderland/England), Jose Salvatierra (Alajuelense), Michael Umaña (no club), Kendall Waston (Vancouver Whitecaps FC/Canada)

MIDFIELDERS: Randall Azofeifa (Herediano), Christian Bolaños (Vancouver Whitecaps FC/Canada), Celso Borges (Deportivo La Coruña/Spain), Daniel Colindres (Saprissa), David Guzman (Portland Timbers/USA), Bryan Ruiz (Sporting Lisbon/Portugal), Yeltsin Tejeda (Lausanne Sport/Switzerland), Rodney Wallace (New York City FC/USA)

FORWARDS: Joel Campbell (Sporting Lisbon/Portugal), David Ramirez (Saprissa), Ariel Rodriguez (Bangkok Glass FC/Thailand), Marco Ureña (San Jose Earthquakes/USA), Johan Venegas (Minnesota United/USA)

Front Row Soccer editor Michael Lewis has covered 13 World Cups (eight men, five women), seven Olympics and 25 MLS Cups. He has written about New York City FC, New York Cosmos, the New York Red Bulls and both U.S. national teams for Newsday and has penned a soccer history column for the Guardian.com. Lewis, who has been honored by the Press Club of Long Island and National Soccer Coaches Association of America, is the former editor of BigAppleSoccer.com. He has written seven books about the beautiful game and has published ALIVE AND KICKING The incredible but true story of the Rochester Lancers. It is available at Amazon.com.