-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Overview
Migrate the third batch of 5 complex analysis tools from FastMCP to Official MCP SDK, ensuring dynamic FAISS vector DB integration for all search operations.
Tools to Migrate
knowledge_search- Core semantic search with source filtering and k parameterfind_contradictions- Contradiction analysis across time periodssearch_by_date_range- Temporal filtering searchget_vector_db_analysis- Database content statistics and analysisping- Health check endpoint
Key Requirements
- Dynamic FAISS Integration: All search tools must query FAISS vector DB in real-time
- Complex Filtering: Support source filters (books/news/forum) and date ranges
- Large Result Sets: Handle k values up to 50 efficiently
- Search Performance: Maintain acceptable performance (may exceed 3s for complex queries)
- Feature Flag:
ENABLE_BATCH3_MIGRATIONfor progressive rollout - Exact Compatibility: Preserve exact output format for backward compatibility
Acceptance Criteria
- All 5 tools migrated to Official MCP SDK
- Dynamic FAISS vector DB queries working for all search operations
- Complex filtering (sources, dates, k parameter)
- No regression in Batch 1 & 2 tools
- MCP Inspector validation passing
- Performance benchmarks documented
- Feature flag working with all batch combinations
Technical Approach
- Core
knowledge_searchis critical - must maintain exact behavior - Implement comprehensive inputSchema with constraints
- Handle optional parameters gracefully
- Preserve result ordering and format
- Monitor memory usage with large k values
Related
- Prerequisites: Phase 1b: Official SDK Tool Registration Completion #7 (Batch 1), Epic 1, Story 2: FastMCP Migration Batch 2 - Health Assessment Tools #27 (Batch 2)
- Epic: Epic: MCP Server Stability Fix - Complete FastMCP Elimination #1 (FastMCP to Official MCP SDK Migration)
- Story: docs/stories/epic-1-story-3-fastmcp-migration-batch3.md
Testing Focus
- All source filter combinations
- Date range edge cases
- Large result sets (k=50)
- Concurrent search requests
- Memory usage monitoring
- A/B testing against old implementation
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request