They are canon, always have been. They're just not mentioned too often by the rest of the MCU. Agent Carter is the only one to have concrete connections to the mainline MCU (Jarvis in Endgame, and What If...? S3 E2), but then that show directly ties in to Agents of SHIELD, which also connects to Inhumans, so it's all tied together somehow