feat(mcp): add MCP Server Integration — Property Search, Analytics, Valuation

Implement 3 MCP servers in libs/mcp-servers/ using @modelcontextprotocol/sdk:

- Property Search: NL search via Typesense, property comparison, detail lookup
- Market Analytics: market reports, price trends, district comparison
- Valuation: AVM integration with Python AI service, feature extraction, batch valuation

Includes NestJS integration module with SSE transport for in-process hosting.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
Ho Ngoc Hai
2026-04-08 03:22:27 +07:00
parent efa49e225e
commit cb00b12d7b
17 changed files with 1077 additions and 41 deletions

View File

@@ -0,0 +1,23 @@
// Server factories
export { createPropertySearchServer } from './property-search/property-search.server';
export { createMarketAnalyticsServer } from './market-analytics/market-analytics.server';
export { createValuationServer } from './valuation/valuation.server';
// NestJS integration
export { McpModule, type McpModuleOptions, MCP_MODULE_OPTIONS } from './nestjs/mcp.module';
export { McpRegistryService } from './nestjs/mcp-registry.service';
export { McpTransportController } from './nestjs/mcp-transport.controller';
// Shared types
export type {
PropertySearchDeps,
MarketAnalyticsDeps,
ValuationDeps,
McpServerConfig,
PropertySummary,
PropertyComparisonResult,
MarketReport,
PriceTrend,
ValuationEstimate,
FeatureExtractionResult,
} from './shared/types';