XML 43 R33.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Loans and Allowance for Loan and Lease Losses (Narrative) (Details) | 3 Months Ended | 9 Months Ended | 12 Months Ended |  |  |
--- | --- | --- | --- | --- | --- | ---
Sep. 30, 2017 USD ($) Loan | Sep. 30, 2016 USD ($) Loan | Sep. 30, 2017 USD ($) Loan | Sep. 30, 2016 USD ($) Loan | Dec. 31, 2016 USD ($) | Jun. 30, 2017 USD ($) | Jun. 30, 2016 USD ($) | Dec. 31, 2015 USD ($)
Financing Receivable, Allowance for Credit Losses [Line Items] |  |  |  |  |  |  |  |
Contractual payment of principal or interest past due period for discontinuing accrual of interest |  |  | 90 days |  |  |  |  |
Financing Receivable, Allowance for Credit Losses | $ 7,502,000 | $ 7,482,000 | $ 7,502,000 | $ 7,482,000 | $ 7,183,000 | $ 7,713,000 | $ 6,912,000 | $ 6,168,000
Non-residential loans and lease charged off period |  |  | 120 days |  |  |  |  |
Financing Receivable Deferred Fees And Costs | 430,000 |  | $ 430,000 |  | 196,000 |  |  |
Financing Receivable, Modifications, Recorded Investment | 6,868,000 |  | 6,868,000 |  | 3,515,000 |  |  |
Charge-offs associated with troubled debt restructured loans | $ 139,000 | $ 0 | $ 139,000 | $ 0 |  |  |  |
Number of troubled debt restructured loans | Loan | 0 | 0 | 0 | 0 |  |  |  |
Number of charge-offs associated with troubled debt restructured loans | Loan | 1 |  | 1 |  |  |  |  |
Number of additional troubled debt restructured loans | Loan | 2 | 0 | 2 | 0 |  |  |  |
Financing Receivable, Modifications, Pre-Modification Recorded Investment |  |  | $ 7,754,000 |  | 5,368,000 |  |  |
Financing Receivable, Modifications, Post-Modification Recorded Investment |  |  | 7,948,000 |  | 4,823,000 |  |  |
Other Real Estate | $ 33,000 |  | $ 33,000 |  | 57,000 |  |  |
Number of consumer mortgage loans foreclosure proceedings in process | Loan |  |  | 4 |  |  |  |  |
Loans for which formal foreclosure proceedings are in process | 546,000 |  | $ 546,000 |  |  |  |  |
Accruing [Member] | One Loan [Member] |  |  |  |  |  |  |  |
Financing Receivable, Allowance for Credit Losses [Line Items] |  |  |  |  |  |  |  |
Financing Receivable, Modifications, Recorded Investment | 499,000 |  | 499,000 |  |  |  |  |
Accruing [Member] | Five Loans [Member] |  |  |  |  |  |  |  |
Financing Receivable, Allowance for Credit Losses [Line Items] |  |  |  |  |  |  |  |
Financing Receivable, Modifications, Recorded Investment |  |  |  |  | 877,000 |  |  |
Nonaccruing [Member] | Eight Loans With Five Relationships [Member] |  |  |  |  |  |  |  |
Financing Receivable, Allowance for Credit Losses [Line Items] |  |  |  |  |  |  |  |
Financing Receivable, Modifications, Recorded Investment | 6,317,000 |  | 6,317,000 |  |  |  |  |
Nonaccruing [Member] | Four Large Relationships [Member] |  |  |  |  |  |  |  |
Financing Receivable, Allowance for Credit Losses [Line Items] |  |  |  |  |  |  |  |
Financing Receivable, Modifications, Recorded Investment | 6,252,000 |  | $ 6,252,000 |  |  |  |  |
Nonaccruing [Member] | Ten Loans With Four Relationships [Member] |  |  |  |  |  |  |  |
Financing Receivable, Allowance for Credit Losses [Line Items] |  |  |  |  |  |  |  |
Financing Receivable, Modifications, Recorded Investment |  |  |  |  | 2,638,000 |  |  |
Nonaccruing [Member] | Two Large Relationships [Member] |  |  |  |  |  |  |  |
Financing Receivable, Allowance for Credit Losses [Line Items] |  |  |  |  |  |  |  |
Financing Receivable, Modifications, Recorded Investment |  |  |  |  | 2,170,000 |  |  |
Residential Mortgage [Member] |  |  |  |  |  |  |  |
Financing Receivable, Allowance for Credit Losses [Line Items] |  |  |  |  |  |  |  |
Maximum loan maturity period |  |  | 30 years |  |  |  |  |
Residential Mortgage [Member] | Residential Portfolio [Member] |  |  |  |  |  |  |  |
Financing Receivable, Allowance for Credit Losses [Line Items] |  |  |  |  |  |  |  |
Financing Receivable, Allowance for Credit Losses | 539,000 | $ 532,000 | $ 539,000 | $ 532,000 | 541,000 | 539,000 | 521,000 | 534,000
Financing Receivable, Modifications, Recorded Investment | 616,000 |  | 616,000 |  | 639,000 |  |  |
Financing Receivable, Modifications, Pre-Modification Recorded Investment |  |  | 759,000 |  | 759,000 |  |  |
Financing Receivable, Modifications, Post-Modification Recorded Investment |  |  | 757,000 |  | 757,000 |  |  |
Residential Mortgage [Member] | Accruing [Member] | Four Loans [Member] |  |  |  |  |  |  |  |
Financing Receivable, Allowance for Credit Losses [Line Items] |  |  |  |  |  |  |  |
Financing Receivable, Modifications, Recorded Investment | 551,000 |  | $ 551,000 |  |  |  |  |
Residential Mortgage [Member] | Accruing [Member] | Four Unrelated Borrowers [Member] | Residential Portfolio [Member] |  |  |  |  |  |  |  |
Financing Receivable, Allowance for Credit Losses [Line Items] |  |  |  |  |  |  |  |
Financing Receivable, Modifications, Recorded Investment |  |  |  |  | 571,000 |  |  |
Minimum [Member] | Residential Mortgage [Member] |  |  |  |  |  |  |  |
Financing Receivable, Allowance for Credit Losses [Line Items] |  |  |  |  |  |  |  |
Loan-to-value ratio |  |  | 100.00% |  |  |  |  |
Commercial and Industrial [Member] |  |  |  |  |  |  |  |
Financing Receivable, Allowance for Credit Losses [Line Items] |  |  |  |  |  |  |  |
Maximum term on non-mortgage lines of credit |  |  | 1 year |  |  |  |  |
Commercial and Industrial [Member] | Commercial Portfolio [Member] |  |  |  |  |  |  |  |
Financing Receivable, Allowance for Credit Losses [Line Items] |  |  |  |  |  |  |  |
Financing Receivable, Allowance for Credit Losses | 1,799,000 | 2,132,000 | $ 1,799,000 | 2,132,000 | 1,580,000 | 1,628,000 | 1,372,000 | 1,393,000
Financing Receivable, Modifications, Recorded Investment | 4,460,000 |  | 4,460,000 |  | 5,000 |  |  |
Financing Receivable, Modifications, Pre-Modification Recorded Investment |  |  | 4,110,000 |  | 40,000 |  |  |
Financing Receivable, Modifications, Post-Modification Recorded Investment |  |  | 4,460,000 |  | 35,000 |  |  |
Commercial and Industrial [Member] | Nonaccruing [Member] |  |  |  |  |  |  |  |
Financing Receivable, Allowance for Credit Losses [Line Items] |  |  |  |  |  |  |  |
Financing Receivable, Modifications, Recorded Investment | 4,460,000 |  | 4,460,000 |  |  |  |  |
Financing Receivable, Modifications, Pre-Modification Recorded Investment |  |  | 4,110,000 |  |  |  |  |
Financing Receivable, Modifications, Post-Modification Recorded Investment |  |  | $ 4,460,000 |  |  |  |  |
Number of existing troubled debt restructured loans | Loan |  |  | 4 |  |  |  |  |
Charge-offs associated with troubled debt restructured loans at the time of modification |  |  | $ 0 |  |  |  |  |
Financing receivable, other obligations | $ 350,000 |  | $ 350,000 |  |  |  |  |
Commercial and Industrial [Member] | LTV Less than 80 Percent [Member] |  |  |  |  |  |  |  |
Financing Receivable, Allowance for Credit Losses [Line Items] |  |  |  |  |  |  |  |
Loan-to-value ratio |  |  | 80.00% |  |  |  |  |
Private Mortgage [Member] |  |  |  |  |  |  |  |
Financing Receivable, Allowance for Credit Losses [Line Items] |  |  |  |  |  |  |  |
Loan-to-value ratio |  |  | 85.00% |  |  |  |  |
Home Equity [Member] |  |  |  |  |  |  |  |
Financing Receivable, Allowance for Credit Losses [Line Items] |  |  |  |  |  |  |  |
Maximum loan maturity period |  |  | 20 years |  |  |  |  |
Percentage of appraised Value of property securing loan | 85.00% |  | 85.00% |  |  |  |  |
Mortgage Lines Of Credit Period |  |  | 5 years |  |  |  |  |
Financing Receivable, Allowance for Credit Losses | $ 437,000 | 352,000 | $ 437,000 | 352,000 | 379,000 | 404,000 | 325,000 | 317,000
Unfunded Lending Commitments [Member] |  |  |  |  |  |  |  |
Financing Receivable, Allowance for Credit Losses [Line Items] |  |  |  |  |  |  |  |
Financing Receivable, Allowance for Credit Losses | 127,000 |  | 127,000 |  | 120,000 |  |  |
Commercial Real Estate [Member] | Commercial Portfolio [Member] |  |  |  |  |  |  |  |
Financing Receivable, Allowance for Credit Losses [Line Items] |  |  |  |  |  |  |  |
Financing Receivable, Allowance for Credit Losses | 4,470,000 | $ 4,335,000 | 4,470,000 | $ 4,335,000 | 4,323,000 | $ 4,981,000 | $ 4,241,000 | $ 3,552,000
Financing Receivable, Modifications, Recorded Investment | 1,792,000 |  | 1,792,000 |  | 2,871,000 |  |  |
Financing Receivable, Modifications, Pre-Modification Recorded Investment |  |  | 2,885,000 |  | 4,569,000 |  |  |
Financing Receivable, Modifications, Post-Modification Recorded Investment |  |  | 2,731,000 |  | 4,031,000 |  |  |
Commercial Real Estate [Member] | Accruing [Member] | Other Borrower [Member] | Commercial Portfolio [Member] |  |  |  |  |  |  |  |
Financing Receivable, Allowance for Credit Losses [Line Items] |  |  |  |  |  |  |  |
Financing Receivable, Modifications, Recorded Investment |  |  |  |  | $ 306,000 |  |  |
Commercial Real Estate [Member] | Nonaccruing [Member] |  |  |  |  |  |  |  |
Financing Receivable, Allowance for Credit Losses [Line Items] |  |  |  |  |  |  |  |
Financing Receivable, Modifications, Recorded Investment | $ 299,000 |  | 299,000 |  |  |  |  |
Financing Receivable, Modifications, Pre-Modification Recorded Investment |  |  | 362,000 |  |  |  |  |
Financing Receivable, Modifications, Post-Modification Recorded Investment |  |  | $ 300,000 |  |  |  |  |
Number of existing troubled debt restructured loans | Loan |  |  | 2 |  |  |  |  |
Charge-offs associated with troubled debt restructured loans at the time of modification |  |  | $ 62,000 |  |  |  |  |

X
- Definition Contractual payment of principal or interest past due period. + References No definition available. + Details
Name: | mpb_ContractualPaymentOfPrincipalOrInterestPastDuePeriod
Namespace Prefix: | mpb_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Financing Receivable Deferred Fees And Costs + References No definition available. + Details
Name: | mpb_FinancingReceivableDeferredFeesAndCosts
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Financing receivable modifications number of additional contracts. + References No definition available. + Details
Name: | mpb_FinancingReceivableModificationsNumberOfAdditionalContracts
Namespace Prefix: | mpb_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Financing receivable modifications number of existing contracts. + References No definition available. + Details
Name: | mpb_FinancingReceivableModificationsNumberOfExistingContracts
Namespace Prefix: | mpb_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Financing receivable other obligations. + References No definition available. + Details
Name: | mpb_FinancingReceivableOtherObligations
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Financing receivables during modification impaired troubled debt restructuring write down. + References No definition available. + Details
Name: | mpb_FinancingReceivablesDuringModificationImpairedTroubledDebtRestructuringWriteDown
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Financing receivables impaired number of troubled debt restructuring write-down. + References No definition available. + Details
Name: | mpb_FinancingReceivablesImpairedNumberOfTroubledDebtRestructuringWriteDown
Namespace Prefix: | mpb_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Loan maturity period. + References No definition available. + Details
Name: | mpb_LoanMaturityPeriod
Namespace Prefix: | mpb_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Mortgage lines of credit period. + References No definition available. + Details
Name: | mpb_MortgageLinesOfCreditPeriod
Namespace Prefix: | mpb_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Non mortgage lines of credit period. + References No definition available. + Details
Name: | mpb_NonMortgageLinesOfCreditPeriod
Namespace Prefix: | mpb_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Non-residential loans and lease charged off period. + References No definition available. + Details
Name: | mpb_NonResidentialLoansAndLeaseChargedOffPeriod
Namespace Prefix: | mpb_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of consumer mortgage loans secured by residential real estate properties foreclosure proceedings in process. + References No definition available. + Details
Name: | mpb_NumberOfConsumerMortgageLoansForeclosureProceedingsInProcess
Namespace Prefix: | mpb_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of property securing loan. + References No definition available. + Details
Name: | mpb_PercentageOfPropertySecuringLoan
Namespace Prefix: | mpb_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition For an entity that discloses a concentration risk in relation to quantitative amount, which serves as the "benchmark" (or denominator) in the equation, this concept represents the concentration percentage derived from the division. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 275 -SubTopic 10 -Section 50 -Paragraph 18 -URI http://asc.fasb.org/extlink&oid=84177426&loc=d3e6351-108592 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 20 -URI http://asc.fasb.org/extlink&oid=77997519&loc=d3e13531-108611 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 275 -SubTopic 10 -Section 50 -Paragraph 20 -URI http://asc.fasb.org/extlink&oid=84177426&loc=d3e6404-108592 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 21 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=77997519&loc=d3e13537-108611 + Details
Name: | us-gaap_ConcentrationRiskPercentage1
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition A valuation allowance for financing receivables that are expected to be uncollectible. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 11B -Subparagraph (c)(1) -URI http://asc.fasb.org/extlink&oid=84173941&loc=SL6953423-111524 + Details
Name: | us-gaap_FinancingReceivableAllowanceForCreditLosses
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of financing receivables that have been modified by troubled debt restructurings. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 33 -URI http://asc.fasb.org/extlink&oid=84173941&loc=SL6953676-111524 + Details
Name: | us-gaap_FinancingReceivableModificationsNumberOfContracts2
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Post-modification amount of investment in financing receivables modified by troubled debt restructurings. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 33 -URI http://asc.fasb.org/extlink&oid=84173941&loc=SL6953676-111524 + Details
Name: | us-gaap_FinancingReceivableModificationsPostModificationRecordedInvestment2
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Pre-modification amount of investment in financing receivables modified by troubled debt restructurings. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 33 -URI http://asc.fasb.org/extlink&oid=84173941&loc=SL6953676-111524 + Details
Name: | us-gaap_FinancingReceivableModificationsPreModificationRecordedInvestment2
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of the outstanding recorded investment related to financing receivables that have been modified by troubled debt restructurings. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 40 -Section 50 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=82895541&loc=d3e18845-111554 + Details
Name: | us-gaap_FinancingReceivableModificationsRecordedInvestment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Reflects the amount of the write-down related to a troubled debt restructuring. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 40 -Section 50 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=82895541&loc=d3e18845-111554 + Details
Name: | us-gaap_FinancingReceivablesImpairedTroubledDebtRestructuringWriteDown
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Recorded investment of consumer mortgage loan receivables secured by residential real estate properties for which formal foreclosure proceedings are in process. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 35 -URI http://asc.fasb.org/extlink&oid=84173941&loc=SL49126937-111524 + Details
Name: | us-gaap_MortgageLoansInProcessOfForeclosureAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Carrying amount of other real estate not separately disclosed, including, but not limited to, real estate investments, real estate loans that qualify as investments in real estate, and premises that are no longer used in operations may also be included in real estate owned. This does not include real estate assets taken in settlement of troubled loans through surrender or foreclosure. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03.10(4)) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 + Details
Name: | us-gaap_OtherRealEstate
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis=mpb_AccruingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MajorCustomersAxis=mpb_OneLoanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MajorCustomersAxis=mpb_FiveLoansMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis=mpb_NonaccruingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MajorCustomersAxis=mpb_EightLoansWithFiveRelationshipsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MajorCustomersAxis=mpb_FourLargeRelationshipsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MajorCustomersAxis=mpb_TenLoansWithFourRelationshipsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MajorCustomersAxis=mpb_TwoLargeRelationshipsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_ResidentialMortgageMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivablePortfolioSegmentAxis=us-gaap_ResidentialPortfolioSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MajorCustomersAxis=mpb_FourLoansMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MajorCustomersAxis=mpb_FourUnrelatedBorrowersMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RangeAxis=us-gaap_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=mpb_CommercialAndIndustrialLoansMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivablePortfolioSegmentAxis=us-gaap_CommercialPortfolioSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LoanToValueAxis=us-gaap_LtvLessThan80PercentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=mpb_PrivateMortgageMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=us-gaap_HomeEquityLoanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=us-gaap_UnfundedLoanCommitmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=us-gaap_RealEstateLoanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MajorCustomersAxis=mpb_OtherBorrowerMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |