A modular manufacturing machine for the production of smoking articles or parts of smoking articles; the manufacturing machine comprising a plurality of modules, each substantially having the shape of a parallelepiped; the modules are placed one after another and beside one another and are arranged between a first input station, where a first material or a first semi-finished product enters the manufacturing machine, and an output station, where a finished product leaves the manufacturing machine; the manufacturing machine comprises: an input module, where the first input station is defined, an output module, where the output station is defined, and at least one processing module, which is interposed between the input module and the output module and is configured to process the first material or the first semi-finished product; wherein a module comprises a first socket, which is designed to receive, from the outside, a first energy, in particular electrical energy or pneumatic energy in the form of compressed air; the manufacturing machine being characterized in that: a module comprises a first generator, which is designed to generate a first operating means, in particular suction or water vapour; first connection members are provided between two adjacent modules to transmit the first operating means between the two adjacent modules; second connection members are provided between two adjacent modules to transmit the first energy between the two adjacent modules; each module has a first connector, which is part of the first connection members, is designed to transmit the first operating means and engages a corresponding first connector of an adjacent module; and each module has a second connector, which is part of the second connection members, is designed to transmit the first energy and engages a corresponding second connector of an adjacent module. the manufacturing machine comprising a plurality of modules, each substantially having the shape of a parallelepiped; the modules are placed one after another and beside one another and are arranged between a first input station, where a first material or a first semi-finished product enters the manufacturing machine, and an output station, where a finished product leaves the manufacturing machine; the manufacturing machine comprises: an input module, where the first input station is defined, an output module, where the output station is defined, and at least one processing module, which is interposed between the input module and the output module and is configured to process the first material or the first semi-finished product; wherein a module comprises a first socket, which is designed to receive, from the outside, a first energy, in particular electrical energy or pneumatic energy in the form of compressed air; the manufacturing machine being characterized in that: a module comprises a first generator, which is designed to generate a first operating means, in particular suction or water vapour; first connection members are provided between two adjacent modules to transmit the first operating means between the two adjacent modules; second connection members are provided between two adjacent modules to transmit the first energy between the two adjacent modules; each module has a first connector, which is part of the first connection members, is designed to transmit the first operating means and engages a corresponding first connector of an adjacent module; and each module has a second connector, which is part of the second connection members, is designed to transmit the first energy and engages a corresponding second connector of an adjacent module. a module comprises a first generator, which is designed to generate a first operating means, in particular suction or water vapour; first connection members are provided between two adjacent modules to transmit the first operating means between the two adjacent modules; second connection members are provided between two adjacent modules to transmit the first energy between the two adjacent modules; each module has a first connector, which is part of the first connection members, is designed to transmit the first operating means and engages a corresponding first connector of an adjacent module; and each module has a second connector, which is part of the second connection members, is designed to transmit the first energy and engages a corresponding second connector of an adjacent module.