gemini-enterprise-mcp-underwriting
Provides tools to scan a Gmail inbox for loan application emails and fetch attached financial documents for further processing.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@gemini-enterprise-mcp-underwritingUnderwrite the new SME loan from the inbox and email the decision memo"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
🏦 Autonomous SME Loan Underwriting Platform
Powered by Gemini Enterprise (Agent Designer v2), Gemini 3.7 Flash & 7 Cloud Run MCP Microservices
🌐 How to View the Interactive Presentation & Simulator
You have 3 convenient ways to view and interact with the executive presentation and live underwriting flow simulator:
Viewing Mode | How to Access | Best For |
🚀 Option 1: Live Web (GitHub Pages) | Launch Live Web App (if repo is Public & Pages enabled) | Live sharing with clients without downloading files |
💻 Option 2: 1-Click Local Browser | Double-click | Offline presentations, internal demo sessions |
📄 Option 3: Direct in GitHub README | Scroll down to the Interactive Demo Scenarios section below | Instant preview directly inside GitHub UI |
┌──────────────────────────────────────────────────────────────────────────────────┐
│ 🖥️ INTERACTIVE SIMULATOR PREVIEW (index.html) │
├──────────────────────────────────────────────────────────────────────────────────┤
│ [🎯 Select Scenario] [🔄 Agent Execution Pipeline] │
│ ◉ 1. Siam Software (Fast-Track) ✓ 1. Gmail Scanner & Doc Intake (200 OK) │
│ ○ 2. Bangkok Logistics (Missing) ✓ 2. DBD & AML Compliance Check (200 OK) │
│ ○ 3. Thai Trading (Tampered Stmt) ✓ 3. Fraud & Anomaly Detection (200 OK) │
│ ○ 4. Global Invest (AML Sanction) ✓ 4. DSCR & Credit Scoring (200 OK) │
│ ✓ 5. Underwriting Decision Memo (200 OK) │
│ [⚡ Run Autonomous Evaluation] │
│ [📑 Generated Pre-Approval Memo (Thai)] │
│ 🟢 FAST-TRACK PRE-APPROVED │
│ • Facility: 10,000,000 THB @ 5.75% (60 Mos) │
│ • DSCR: 1.73 (Benchmark ≥ 1.25) │
└──────────────────────────────────────────────────────────────────────────────────┘Related MCP server: LoanRiskLens MCP Server
📊 Executive Overview & Business Value
Traditional SME commercial loan underwriting takes 5 to 7 business days and costs banks ~4,500 THB per application due to manual KYC/AML lookups, forensic document audits, and committee memo drafting.
This solution transforms the entire loan origination lifecycle into an autonomous multi-agent system that completes end-to-end evaluation in under 60 seconds for less than 15 THB.
Key Performance Indicator | Traditional Underwriting | Autonomous Gemini Multi-Agent | Impact |
⏱️ Turnaround Time (TAT) | 5 – 7 Business Days | < 60 Seconds | ⚡ 99% Faster |
💰 Underwriting Cost per Case | ~4,500 THB | < 15 THB | 📉 95% Reduction |
🛡️ Forensic Statement Tampering Audit | Manual Sampling (~10%) | 100% Automated Audit | 🔍 Zero Blindspots |
📑 Executive & Customer Documentation | Manual drafting in Word | Instant Auto-Generation (Thai) | ⏱️ Zero Latency |
🏛️ System Architecture Topology
flowchart TB
subgraph TriggerLayer ["1. Inbound & Intake Channels"]
Email["📧 Loan Inbox Scanner (Gmail)"]
Portal["💻 Bank Officer Portal (Gemini Enterprise Web)"]
end
subgraph OrchestratorLayer ["2. Gemini Enterprise Core Engine (ge-demo1)"]
Gateway["🚪 Gemini Enterprise Agent Gateway (SPIFFE Auth)"]
Root["🧠 Root Multi-Agent Orchestrator (Gemini 3.7 Flash)"]
subgraph SubAgents ["Specialized Domain Sub-Agents"]
A1["Doc Intake Agent"]
A2["Doc Parser Agent"]
A3["KYC & AML Verification Agent"]
A4["Fraud Risk Forensic Agent"]
A5["Credit Scoring Engine Agent"]
A6["Decision Policy Agent"]
A7["Notification & Memo Agent"]
end
end
subgraph MCPServices ["3. Serverless MCP Microservices (Cloud Run)"]
M1["📧 underwriting-gmail-mcp"]
M2["📄 underwriting-doc-mcp"]
M3["🏛️ underwriting-registry-mcp"]
M4["🕵️ underwriting-fraud-mcp"]
M5["📊 underwriting-scoring-mcp"]
M6["⚖️ underwriting-decision-mcp"]
M7["📩 underwriting-notification-mcp"]
end
subgraph BankingSystems ["4. External Banking & Regulatory APIs"]
DBD["🏛️ DBD Business Registry"]
DOPA["🆔 DOPA National ID"]
AML["⚖️ AMLO Sanctions List (ปปง.)"]
CBS["🏦 Core Banking Ledger"]
end
TriggerLayer --> Gateway
Gateway --> Root
Root --> SubAgents
A1 --> M1
A2 --> M2
A3 --> M3
A4 --> M4
A5 --> M5
A6 --> M6
A7 --> M7
M3 --> DBD
M3 --> DOPA
M3 --> AML
M5 --> CBS
M6 --> CBS🧩 7 Cloud Run MCP Microservices & 15 Tools
All microservices adhere strictly to the Model Context Protocol (JSON-RPC 2.0) over HTTPS.
🎯 Interactive Demo Scenarios & Generated Memos
Applicant Profile:
Company: บริษัท สยาม ซอฟต์แวร์ โซลูชั่น จำกัด (DBD:
0105558000001)Requested Facility: 10,000,000 THB (Working Capital)
DSCR: 1.73 | Credit Rating: Grade A | AML: Clear
Agent Generated Approval Memorandum (Thai):
# 🏦 COMMERCIAL CREDIT APPROVAL MEMORANDUM
เลขที่ใบคำขอ: APP-2026-001
วันที่พิจารณา: 25 สิงหาคม 2026
ผู้ขอสินเชื่อ: บริษัท สยาม ซอฟต์แวร์ โซลูชั่น จำกัด (ทะเบียนนิติบุคคล 0105558000001)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1. ผลการพิจารณา (Underwriting Decision):
🟢 อนุมัติเบื้องต้นแบบ Fast-Track (PRE-APPROVED)
• วงเงินสินเชื่อที่อนุมัติ: 10,000,000 บาท (สินเชื่อหมุนเวียนเสริมสภาพคล่องธุรกิจ)
• อัตราดอกเบี้ย: MRR - 1.25% (เทียบเท่า 5.75% ต่อปี)
• ระยะเวลาผ่อนชำระ: 60 เดือน
2. การตรวจสอบเอกสารและความถูกต้อง (Verification & KYC/AML):
✓ ตรวจสอบสถานะนิติบุคคล DBD: ดำเนินการ 5 ปี ทุนจดทะเบียน 5,000,000 บาท (สถานะ: ปกติ)
✓ ตรวจสอบรายชื่อบุคคลต้องห้าม (AML/CFT Sanctions): ผ่านการคัดกรอง 100% ไม่ติดประวัติ
✓ เอกสารประกอบการยื่นกู้: ครบถ้วนตามมาตรฐาน Checklist
3. สรุปการวิเคราะห์ทางการเงิน (Financial & Risk Analysis):
• รายได้เฉลี่ยต่อเดือน: 1,243,333 บาท
• ความสามารถในการชำระหนี้ (DSCR): 1.73 เท่า (เกณฑ์ขั้นต่ำธนาคาร ≥ 1.25 เท่า)
• ความเสี่ยงด้านการทุจริตสเตทเมนต์: ต่ำมาก (Low Risk - ไม่พบการดัดแปลงยอดเงิน)
• อันดับเครดิตธุรกิจ (Credit Rating): Grade A (ความเสี่ยงต่ำมาก)
4. เอกสารที่จัดทำและส่งออกอัตโนมัติ:
✓ สร้างจดหมายแจ้งผลการอนุมัติเบื้องต้น (Pre-Approval Letter) ส่งผ่านอีเมลเรียบร้อยแล้วApplicant Profile:
Company: บริษัท บางกอก โลจิสติกส์ เซอร์วิสเซส จำกัด (DBD:
0105558000002)Requested Facility: 5,000,000 THB
Status: Missing 2025 CPA Audited Financial Statement & Shareholder List (บอจ.5)
Agent Generated Missing Document Notice (Thai):
# 📑 NOTIFICATION: PENDING MISSING DOCUMENTS
เลขที่ใบคำขอ: APP-2026-002
ผู้ขอสินเชื่อ: บริษัท บางกอก โลจิสติกส์ เซอร์วิสเซส จำกัด (0105558000002)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1. ผลการตรวจเอกสารรับเข้า (Document Intake Status):
⚠️ ขาดเอกสารสำคัญประกอบการพิจารณา (Missing Required Documents)
2. รายการเอกสารที่ต้องนำส่งเพิ่มเติม:
[ ] งบการเงินที่ผ่านการตรวจสอบโดยผู้สอบบัญชีรับอนุญาต (CPA) ประจำปี 2568
[ ] สำเนาบัญชีรายชื่อผู้ถือหุ้น (บอจ.5) ฉบับปรับปรุงไม่เกิน 3 เดือน
3. การดำเนินการของระบบ:
✓ สร้างและส่งหนังสือแจ้งขอเอกสารเพิ่มเติม (Missing Document Notice) ผ่านระบบอีเมล
✓ สร้าง Secure Upload Link พร้อมรหัส OTP ให้ลูกค้าส่งเอกสารต่อได้ทันทีApplicant Profile:
Company: บริษัท ไทย เทรดดิ้ง พาร์ทเนอร์ จำกัด (DBD:
0105558000003)Requested Facility: 15,000,000 THB
Status: Forensic audit detects arithmetic balance discrepancy and forged inflows.
Agent Generated Fraud Alert & Decline Memorandum (Thai):
# 🚨 FRAUD RISK ALERT & DECLINE MEMORANDUM
เลขที่ใบคำขอ: APP-2026-003
ผู้ขอสินเชื่อ: บริษัท ไทย เทรดดิ้ง พาร์ทเนอร์ จำกัด (0105558000003)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1. ผลการพิจารณา (Underwriting Decision):
🚫 ปฏิเสธการให้สินเชื่อ (REJECTED) - ตรวจพบความเสี่ยงทุจริตระดับสูง
2. ข้อตรวจพบด้านการดัดแปลงเอกสาร (Fraud Detection Findings):
• เครื่องมือ analyze_revenue_anomaly & evaluate_statement_tampering ตรวจพบความผิดปกติ
• ยอดเงินคงเหลือสะสมในสเตทเมนต์ (Bank Statement) ไม่ตรงกับผลรวมกระแสเงินสดจริง
• มีการแก้ไขเลขอักษรยอดเงินเข้าเดือนมีนาคม-พฤษภาคม เพื่อสร้างตัวเลขเทียม
• บันทึกส่งต่อฝ่ายตรวจสอบทุจริต (Internal Audit / Fraud Unit) เพื่อเฝ้าระวังApplicant Profile:
Company: บริษัท โกลบอล อินเวสท์เมนท์ กรุ๊ป จำกัด (DBD:
0105558000004)Requested Facility: 25,000,000 THB
Status: Authorized Director matches AMLO Designated Persons List.
Agent Generated Compliance Block Memorandum (Thai):
# ⛔ COMPLIANCE BLOCK MEMORANDUM
เลขที่ใบคำขอ: APP-2026-004
ผู้ขอสินเชื่อ: บริษัท โกลบอล อินเวสท์เมนท์ กรุ๊ป จำกัด (0105558000004)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1. ผลการพิจารณา (Underwriting Decision):
⛔ ระงับการทำธุรกรรมทันที (COMPLIANCE HARD BLOCK)
2. ผลการคัดกรองรายชื่อบุคคลต้องห้าม (AML / PEP Screening):
• เครื่องมือ screen_aml_sanctions ตรวจพบกรรมการผู้มีอำนาจติดรายชื่อเฝ้าระวัง
• รายชื่อตรงกับฐานข้อมูล Designated Persons List ของสำนักงาน ปปง.
• ปิดกั้นกระบวนการสินเชื่อตามข้อกำหนดกฎหมายฟอกเงิน พ.ร.บ. ป้องกันและปราบปรามการฟอกเงิน⚡ Fast-Track 3-Step Deployment
Clone and deploy the entire solution to any target Google Cloud project in ~10 minutes:
# 1. Clone this repository
git clone https://github.com/pheeraphongaj/gemini-enterprise-mcp-underwriting.git
cd gemini-enterprise-mcp-underwriting
# 2. Run the unified automated deployment script
python3 deploy_all.py --project-id YOUR_PROJECT_ID --region asia-southeast1 --engine-id ge-demo1
# 3. Verify all 15 MCP tools across 7 microservices
python3 test_all_mcp_servers.py📚 Technical Documentation Index
🏛️ Technical Architecture Blueprint: Deep dive into multi-agent hierarchy, sequence flows, and security.
🚀 Step-by-Step Setup Guide: Complete deployment playbook from IAM to Agent Designer v2.
💬 Sample Demo Prompts: Ready-to-copy customer demo prompts in Thai and English.
🧪 Interactive Presentation & Simulator: Standalone executive HTML slide deck.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Hosted MCP for denial, prior auth, reimbursement, workflow validation, batch scoring, and feedback.
Paid KYC, AML, and regulatory risk assessment over MCP via x402 USDC micropayments on Base.
MCP server for VC pitch-deck scoring, thesis-fit matching, and deal-flow management.
Connect AI agents to financial institution origination, analytics, and compliance workflows.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceMCP server for orchestrating the consignado loan journey via WhatsApp agent, centralizing flow rules, identity resolution, and journey consistency.
- FlicenseNot gradedqualityBmaintenanceEnables creditworthiness analysis for non-traditional borrowers using rule-based scoring, financial behavior assessment, and underwriting report generation via MCP tools.1
- FlicenseNot gradedqualityCmaintenanceDemo MCP for insurance underwriting decision support, reading application forms, health questionnaires, and medical exam results to return justified recommendations using deterministic rules.
- FlicenseNot gradedqualityBmaintenanceEnables AI-powered procurement policy compliance, document generation, supplier management, budget verification, and analytics through standardized MCP tools.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/pheeraphongaj/gemini-enterprise-mcp-underwriting'
If you have feedback or need assistance with the MCP directory API, please join our Discord server