In a system for endoscopic surgery, a storage unit stores a command for controlling a peripheral device and whether or not the command is valid or invalid in an associated manner for each operator and each procedure of an endoscopic surgery. A specification unit receives specification of an operator and a procedure. A conversion unit recognizes an input voice, and converts the voice into a voice command. A determination unit refers to the storage unit, and determines whether or not the voice command obtained by the conversion unit is identical to a command that has been set to be valid for the operator and the procedure specified by the specification unit. A transmission unit halts a transmission process to a peripheral device that corresponds to a command that has been determined to be invalid by the determination unit.