\documentclass{book}
\usepackage{tocbibind} % adds some entries in the main TOC.
\usepackage{lipsum} % provides filling text
\usepackage[tight]{minitoc}
\setcounter{minitocdepth}{3}
\setcounter{parttocdepth}{3}
\begin{document}
\doparttoc
\dominitoc
\tableofcontents
\mtcaddchapter % because tocbibind adds a chapter entry in the TOC
\chapter{First}
\minitoc
First chapter
\section{First section}
\lipsum
\section{Second section}
\lipsum
\chapter{Second}
\minitoc
Second
\section{First section of second chapter}
\lipsum
\section{Second section of second chapter}
\lipsum
\appendix      % begins the appendices
\addcontentsline{toc}{part}{Appendices} % adds a part entry in the TOC
\adjustptc     % fixes the parttoc counter ptc
\parttoc       % adds a partial toc for the appendices
\begin{mtchideinmaintoc}[-1] % hides the details of the
%              % appendices in the main TOC, but chapter-level
%              % entries would be still visible if you use 0
%              % in place of -1 as optional argument.
\chapter{First appendix}
\minitoc
First appendix
\section{First section}
\lipsum
\section{Second section}
\lipsum
\chapter{Second appendix}
\minitoc
Second appendix
\section{First section of second appendix}
\lipsum
\section{Second section of second appendix}
\lipsum
\end{mtchideinmaintoc} % end of hiding
\end{document}
