Skip to content

Commit 4cd7660

Browse files
Steven PehSteven Peh
authored andcommitted
Fix .gitignore excluding test data folder
1 parent 5f00ed9 commit 4cd7660

File tree

7 files changed

+1319
-8
lines changed

7 files changed

+1319
-8
lines changed

mcp-openapi/.gitignore

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -109,11 +109,3 @@ jspm_packages/
109109

110110
# TernJS port file
111111
.tern-port
112-
113-
# Test files and configs (keep examples)
114-
specs/
115-
prompts/
116-
mcp-config.json
117-
118-
# But keep example files
119-
!examples/
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"baseUrl": "http://localhost:3001",
3+
"authentication": {
4+
"type": "bearer",
5+
"envVar": "BANKING_API_TOKEN"
6+
},
7+
"cors": {
8+
"origin": "*",
9+
"credentials": true
10+
},
11+
"overrides": [
12+
{
13+
"specId": "banking-payments",
14+
"path": "/v1/banking/payments",
15+
"method": "get",
16+
"type": "resource",
17+
"toolName": "get_payments",
18+
"description": "Search payments by various criteria. CRITICAL: This API has NO category or type parameters. Available parameters ONLY: accountId, payeeId, amount, payeeName (exact names only), productName, startDate, endDate, maxResult. For business payment searches: (1) FIRST call this with accountId parameter ONLY, (2) Get payment results containing payeeId fields, (3) THEN call payee resources for EACH payeeId to get category information, (4) FINALLY filter results where payee.category='business'. DO NOT use non-existent parameters like 'category' or 'type'. DO NOT use payeeName='business' - that searches for a payee literally named 'business'."
19+
},
20+
{
21+
"specId": "banking-payees",
22+
"path": "/v1/banking/payees",
23+
"method": "get",
24+
"type": "resource",
25+
"description": "ESSENTIAL for business payment analysis: List payee profiles with category information. This resource contains the critical 'category' field (business, personal, family, utilities, etc.) that payment records lack. WORKFLOW: After getting payment data, use this resource to get category info for multiple payees. Supports 'category' parameter for direct filtering (e.g., category='business'). Use this as step 2 in business payment analysis workflow."
26+
},
27+
{
28+
"specId": "banking-payees",
29+
"path": "/v1/banking/payees/{payeeId}",
30+
"method": "get",
31+
"type": "resource",
32+
"description": "REQUIRED for individual payee category lookup: Get specific payee details including the essential 'category' field. WORKFLOW: After getting payment results, call this resource for each payeeId found in payments to determine if that payee is categorized as 'business', 'personal', etc. This is step 2b in business payment analysis - get individual payee categories to filter business payments."
33+
}
34+
]
35+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"name": "fraud_analysis",
3+
"description": "Analyze transaction for fraud indicators using banking industry best practices",
4+
"arguments": [
5+
{
6+
"name": "transaction",
7+
"description": "Transaction data including amount, payee, timestamp, location",
8+
"required": true
9+
},
10+
{
11+
"name": "account_history",
12+
"description": "Recent account activity and patterns",
13+
"required": true
14+
},
15+
{
16+
"name": "payee_info",
17+
"description": "Information about the payee including risk score",
18+
"required": false
19+
}
20+
],
21+
"template": "You are a banking fraud detection expert. Analyze this transaction using industry-standard methodology:\n\nTRANSACTION DETAILS:\n{{transaction}}\n\nACCOUNT HISTORY:\n{{account_history}}\n\n{{#payee_info}}PAYEE INFORMATION:\n{{payee_info}}\n{{/payee_info}}\n\nFOLLOW THIS ANALYSIS FRAMEWORK:\n\nSTEP 1: TRANSACTION PATTERN ANALYSIS\n- Compare amount against historical spending patterns\n- Analyze timing vs normal account activity\n- Check location/device consistency\n\nSTEP 2: PAYEE RISK ASSESSMENT\n- Evaluate payee legitimacy and history\n- Check for first-time payee flags\n- Review payee risk indicators\n\nSTEP 3: BEHAVIORAL ANALYSIS\n- Assess deviation from normal patterns\n- Check for velocity flags (multiple transactions)\n- Review recent security events\n\nSTEP 4: REGULATORY COMPLIANCE\n- AML threshold checks ($10,000+ reporting)\n- Cross-border transaction flags\n- Sanctions list verification\n\nSTEP 5: RISK SCORING & RECOMMENDATION\n\nProvide output in this JSON format:\n{\n \"risk_score\": <0-100>,\n \"risk_level\": \"LOW|MEDIUM|HIGH|CRITICAL\",\n \"primary_risk_factors\": [...],\n \"recommendation\": \"APPROVE|REVIEW|BLOCK\",\n \"reasoning\": \"Detailed explanation\",\n \"regulatory_flags\": [...],\n \"monitoring_recommendations\": [...]\n}"
22+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"name": "loan_recommendation",
3+
"description": "Recommend appropriate loan products based on customer profile and financial goals",
4+
"arguments": [
5+
{
6+
"name": "customer_profile",
7+
"description": "Customer demographics, credit score, income, employment",
8+
"required": true
9+
},
10+
{
11+
"name": "financial_goals",
12+
"description": "Customer's stated financial objectives and loan purpose",
13+
"required": true
14+
},
15+
{
16+
"name": "account_history",
17+
"description": "Customer's banking history and relationship",
18+
"required": false
19+
}
20+
],
21+
"template": "You are a banking loan specialist. Analyze this customer profile and recommend appropriate loan products:\n\nCUSTOMER PROFILE:\n{{customer_profile}}\n\nFINANCIAL GOALS:\n{{financial_goals}}\n\n{{#account_history}}BANKING HISTORY:\n{{account_history}}\n{{/account_history}}\n\nFOLLOW THIS RECOMMENDATION FRAMEWORK:\n\nSTEP 1: CREDITWORTHINESS ASSESSMENT\n- Evaluate credit score and history\n- Analyze debt-to-income ratio\n- Review employment stability\n- Assess collateral availability\n\nSTEP 2: LOAN PURPOSE ANALYSIS\n- Match loan type to stated purpose\n- Evaluate loan amount reasonableness\n- Consider repayment timeline preferences\n\nSTEP 3: PRODUCT MATCHING\n- Personal loans for unsecured needs\n- Mortgages for home purchases\n- Auto loans for vehicle financing\n- Business loans for commercial purposes\n- Credit lines for flexible access\n\nSTEP 4: RISK ASSESSMENT\n- Calculate probability of default\n- Determine appropriate interest rate tier\n- Identify required documentation\n- Set loan terms and conditions\n\nSTEP 5: REGULATORY COMPLIANCE\n- Verify lending regulations compliance\n- Check fair lending requirements\n- Ensure proper disclosures\n\nProvide recommendations in this JSON format:\n{\n \"recommended_products\": [\n {\n \"product_type\": \"string\",\n \"loan_amount_range\": \"string\",\n \"interest_rate_range\": \"string\",\n \"term_options\": [...],\n \"key_features\": [...],\n \"eligibility_match\": \"HIGH|MEDIUM|LOW\"\n }\n ],\n \"approval_likelihood\": \"HIGH|MEDIUM|LOW\",\n \"required_documentation\": [...],\n \"alternative_options\": [...],\n \"next_steps\": [...],\n \"risk_factors\": [...]\n}"
22+
}

0 commit comments

Comments
 (0)