-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Overview
Implement the first batch of FastMCP to Official MCP SDK migration, covering 5 simple search tools. This is part of the progressive migration strategy to eliminate FastMCP dependency and resolve the Claude.ai "Connected" → "Disabled" issue.
Related Documentation
- Epic: Epic: MCP Server Stability Fix - Complete FastMCP Elimination #1 - Complete FastMCP elimination
- Story:
/docs/stories/epic-1-story-1-fastmcp-migration-batch1.md
Tools Migrated (Batch 1)
- ✅
get_mcp_server_purpose- Server information tool - ✅
get_dr_strunz_biography- Biography retrieval tool - ✅
get_knowledge_statistics- Statistics retrieval tool - ✅
ping- Health check tool - ✅
get_implementation_status- Migration status tool
Implementation Summary
Key Changes
- Added feature flag
ENABLE_BATCH1_MIGRATIONfor safe rollout - Initialized
KnowledgeSearcherin constructor for FAISS access - All tools now query real vector database (43,373 documents)
- Response time <100ms for all tools
Modified Files
/src/mcp/mcp_sdk_clean.py- Added tool registrations and handlers
- Fixed dynamic data access for all tools
- Proper KnowledgeSearcher initialization
Test Results
✅ get_mcp_server_purpose - Shows real document count (43,373)
✅ get_dr_strunz_biography - Returns biography with optional KB search
✅ get_knowledge_statistics - Shows real FAISS statistics (43,373 docs)
✅ ping - Shows "Ready" status with 43,373 documents loaded
✅ get_implementation_status - Returns migration status correctly
Vector Store Integration
- Successfully loads 43,373 documents from FAISS
- All tools query real data instead of static strings
- Vector dimensions: 384
- Index type: FAISS IndexFlatL2
Next Steps
- Test with MCP Inspector
- Deploy to staging with feature flag
- Monitor for 24 hours
- Enable in production if stable
Success Criteria
- All 5 tools implemented and working
- All tools return dynamic data from FAISS
- Response time <100ms for all tools
- All 5 tools visible in MCP Inspector
- No regression in existing functionality
- Claude.ai maintains "Connected" status
Labels
enhancement, fastmcp-elimination, batch-1, high-priority
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request