The invention belongs to the technical field of automobile brake systems, and particularly relates to an air pressure line control brake master cylinder for a commercial vehicle. The master cylinder comprises a one-cavity pump body component. The one-cavity pump body component comprises a one-cavity cylinder body, a dust cover, an ejector rod base, a rubber spring, a feedback rubber pressing plate, a limiting ring check ring, a microswitch, a driving piston, a driving return spring, a first piston component, a first piston spring, an electromagnetic valve device, an air guide screw, a series piston, a pressure sensor, a push rod and an adjusting fork. A two-cavity pump body component comprises a two-cavity cylinder body, a second piston part, a second piston spring, an exhaust seat and an exhaust seat check ring; and an embedded system controller is arranged outside the brake master cylinder. The air pressure line control brake master cylinder is reasonable in structure, has a brake-by-wire function, and can meet the technical requirements of intelligent network connection commercial vehicles of the level L2 or above; and meanwhile, a driver operation function is achieved, and the braking mode and the braking pedal feeling are consistent with those of a common commercial vehicle.