The needed Matter component is added via the IDF component manager -> idf_component.yml.
idf_component.yml