LibreChat/packages/api/src/mcp
Atef Bellaaj d9fbe55c2b
🧬 refactor: Wire Database Methods into MCP Package via Registry Pattern (#10715)
* Refactor: MCPServersRegistry Singleton Pattern with Dependency Injection for DB methods consumption

* refactor: error handling in MCP initialization and improve logging for MCPServersRegistry instance creation.

- Added checks for mongoose instance in ServerConfigsDB constructor and refined error messages for clarity.
- Reorder and use type imports

---------

Co-authored-by: Atef Bellaaj <slalom.bellaaj@external.daimlertruck.com>
Co-authored-by: Danny Avila <danny@librechat.ai>
2025-12-03 14:27:26 -05:00
..
__tests__ 🧬 refactor: Wire Database Methods into MCP Package via Registry Pattern (#10715) 2025-12-03 14:27:26 -05:00
oauth 🧬 refactor: Wire Database Methods into MCP Package via Registry Pattern (#10715) 2025-12-03 14:27:26 -05:00
registry 🧬 refactor: Wire Database Methods into MCP Package via Registry Pattern (#10715) 2025-12-03 14:27:26 -05:00
types 📡 refactor: MCP Runtime Config Sync with Redis Distributed Locking (#10352) 2025-12-03 14:27:21 -05:00
auth.ts 🚦 feat: Auto-reinitialize MCP Servers on Request (#9226) 2025-08-23 03:27:05 -04:00
connection.ts 📡 refactor: MCP Runtime Config Sync with Redis Distributed Locking (#10352) 2025-12-03 14:27:21 -05:00
ConnectionsRepository.ts 🧬 refactor: Wire Database Methods into MCP Package via Registry Pattern (#10715) 2025-12-03 14:27:26 -05:00
enum.ts 🧬 refactor: Optimize MCP Tool Queries with Server-Centric Architecture 2025-09-21 20:40:14 -04:00
mcpConfig.ts ♻️ refactor: MCPManager for Scalability, Fix App-Level Detection, Add Lazy Connections (#8930) 2025-08-13 11:45:06 -04:00
MCPConnectionFactory.ts 🔒 feat: Idempotency Check for OAuth Flow Completion (#10468) 2025-11-12 08:44:45 -05:00
MCPManager.ts 🧬 refactor: Wire Database Methods into MCP Package via Registry Pattern (#10715) 2025-12-03 14:27:26 -05:00
parsers.ts 🛠️ chore: Typing and Remove Comments (#9732) 2025-09-19 16:22:53 -04:00
UserConnectionManager.ts 🧬 refactor: Wire Database Methods into MCP Package via Registry Pattern (#10715) 2025-12-03 14:27:26 -05:00
utils.ts 🔗 refactor: URL sanitization for MCP logging (#9632) 2025-09-14 18:55:32 -04:00
zod.ts 🔃 refactor: Decouple Effects from AppService, move to data-schemas (#9974) 2025-10-05 06:37:57 -04:00