Refactor creation of MCDeployParameters structure