Controlling Mocp with keyboard shortcuts in i3wm?

Hello, I was wondering if there is any way to edit the i3 config file so that it can controll mocp (Such as changing tracks, pause/play) when it is running in the background.

Shouldn't be a problem. I don't have a working i3 env at the moment, but how about, for example:

bindsym Mod3+p exec "mocp -p"

in the i3's config file?