MCP23017 not working with raspberry after mqtt update

currently, extensions are not supported with agent 2.0. have a look at this Raspberry Pi Agent 2.0
if you still want to add, you can try with GitHub - myDevicesIoT/Cayenne-MQTT-Python: Python Library for Cayenne MQTT API