I am not able to add the message preprocessor in the server.
Could you be more specific? Are you running a custom server or the standard one? Message processing is handled by a trained core model. We just overhauled our documentation on docker here so perhaps that can help too.