KPMG LLP Two Financial Center 60 South Street Boston, MA 02111 KPMG LLP, a Delaware limited liability partnership and a member firm of   the KPMG global organization of independent member firms affiliated with   KPMG International Limited, a private English company limited by guarantee.  Consent of Independent Registered Public Accounting Firm  We consent to the incorporation by reference in the registration statements (No. 333-53291, 333-139020,  333-163707, 333-177770, 333-209383, 333-228617, 333-234534, 333-250039, 333-250040, 333-260915, 333-265450, and 333-268244) on Form S-8 and the registration statement (No. 333-248783) on Form S-3ASR of our report dated August 15, 2023, with respect to the consolidated financial statements and financial statement schedule II of Mercury Systems, Inc. and subsidiaries and the effectiveness of internal control over financial reporting. Boston, Massachusetts  August 15, 2023