Hi,
The deployed code runs using MATLAB Runtime on server machine where MATLAB Production server is installed.To compile and generate a CTF file using the mcc command, you would require to MATLAB Compiler and MATLAB Compiler SDK.
The purpose of the MATLAB Production Server is to run MATLAB code on a dedicated server, serving as a backend for other applications. This allows clients to interact with running instances at various endpoints.There by, MATLAB Compiler and MATLAB Compiler SDK is not advisable to be installed in MPS.
If you wish to compile MATLAB Code and deploy the ctf file on the fly outside of your local machine, you can use a MATLAB instance on cloud to generate ctf in a folder montiored by MPS. Both MPS and MATLAB can be installed on the same machine.
Hope this helps!