added protocol to cli api
mf