In order to improve the universality of the surgical robot,this paper analyzes the workspace and operation requirements of different minimally invasive surgery,and a universal surgical robot with 8 degrees of freedom has been designed. A multiobjective optimizing function with kinematic index and dynamic index has been constructed. The genetic algorithm is used for the optimization process and the structure parameter with high dexterity is obtained.