The Maritime Component Commander (MCC) is the officer of Commodore rank who directs all the operational forces of the Royal New Zealand Navy. The current postholder is Captain D.G. McEwan, appointed 1 March 2018. MCC directs all the ships of the Navy and several subordinate captains and commanders, most resident several hundred kilometres to the north at Devonport Naval Base in Auckland.
From 1940 the title of the post was Naval Officer-in-Charge, Auckland, and from 1 January 1961 the Commodore, Auckland ("COMAUCK"). The first ComAuck was Commodore F.D.G. Challis RN; in that rank, Challis was present at Waitangi Day, at Waitangi, in 1963 during Queen Elizabeth II's Royal Tour of New Zealand. Among the Commodores Auckland was Commodore J O'C Ross, who later wrote "The White Ensign in New Zealand", and later Rear Admirals and Chiefs of Naval Staff John McKenzie Lincoln Tempero, and Somerford Teagle. 
According to RNZN Bridge Cards, Captain I.A. Hunter commanded from December 1983 to December 1984 (and later became ComAuck). When New Zealand's four Leander-class frigates made up the 11th Frigate Squadron (in tandem with the Royal Navy's frigate squadrons) the ship’s commander of that squadron was a Captain and referred to as “F11”. The 11th Frigate Squadron was under the command of the Commodore Auckland. Other officers who served as Captain F11 were Ian Bradley; later ComAuck Commodore Richard Hale; and later Rear-Admiral Edward Thorne.
The last ComAuck was Commodore K.R. Moen, appointed 14 March 1992. The ComAuck title changed to the Maritime Commander in March 1993. 
The title was changed to Maritime Component Commander as of 1 July 2001, with the establishment of Headquarters Joint Forces New Zealand and the move of the incumbent from Devonport Naval Base in Auckland to HQ JFNZ, on Seddul Bahr Road in Upper Hutt facing Trentham Military Camp.