MAC address of client

I want to filter clients connected to mitmproxy using MAC address, how can I get it in a script? Thanks!