Refactor search server to use Model Context Protocol SDK; update tool handling and response formatting
- Replaced `createSdkMcpServer` with `Server` from `@modelcontextprotocol/sdk/server/index.js`. - Updated tool definitions to use structured input schemas with Zod. - Enhanced response formatting for search results, combining multiple results into a single text response. - Added new tools for advanced search and recent session context retrieval. - Improved error handling and logging throughout the server.
This commit is contained in:
+289
-39
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user