feat(mcp): add industrial parks and reports MCP tool servers

Add IndustrialParkServer for KCN/KCX search and analytics, and
ReportsServer for market report generation. Include unit tests
for industrial parks server.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
Ho Ngoc Hai
2026-04-16 05:16:11 +07:00
parent 2a69736728
commit 53c33a1c50
7 changed files with 1112 additions and 0 deletions

View File

@@ -14,6 +14,16 @@ export interface ValuationDeps {
aiServiceBaseUrl: string;
}
export interface IndustrialParksDeps {
typesenseClient: TypesenseClient;
collectionName?: string;
aiServiceBaseUrl: string;
}
export interface ReportsDeps {
aiServiceBaseUrl: string;
}
export interface McpServerConfig {
name: string;
version: string;
@@ -70,6 +80,24 @@ export interface ValuationEstimate {
priceRangeHigh: number;
}
export interface IndustrialParkSummary {
parkId: string;
name: string;
nameEn: string | null;
developer: string;
province: string;
region: string;
status: string;
totalAreaHa: number;
remainingAreaHa: number;
occupancyRate: number;
landRentUsdM2Year: number | null;
rbfRentUsdM2Month: number | null;
rbwRentUsdM2Month: number | null;
targetIndustries: string[];
tenantCount: number;
}
export interface FeatureExtractionResult {
features: {
area: number | null;