LibreChat/api/server/services
Federico Ruggi d04da60b3b
💫 feat: MCP OAuth Auto-Reconnect (#9646)
* add oauth reconnect tracker

* add connection tracker to mcp manager

* reconnect oauth mcp servers function

* call reconnection in auth controller

* make sure to check connection in panel

* wait for isConnected

* add const for poll interval

* add logging to tryReconnect

* check expiration

* check mcp manager is not null

* check mcp manager is not null

* add test for reconnecting mcp server

* unify logic inside OAuthReconnectionManager

* test reconnection manager, adjust

* chore: reorder import statements in index.js

* chore: imports

* chore: imports

* chore: imports

* chore: imports

* chore: imports

* chore: imports and use types explicitly

---------

Co-authored-by: Danny Avila <danny@librechat.ai>
2025-09-17 16:49:36 -04:00
..
Artifacts
Config 🧹 chore: Remove Unused Cache Configuration Keys (#9551) 2025-09-10 19:01:44 -04:00
Endpoints 🎚️ feat: Anthropic Parameter Set Support via Custom Endpoints (#9415) 2025-09-08 14:35:29 -04:00
Files 🗣️ feat: Language Support for OpenAI Speech-to-Text (#9470) 2025-09-05 12:01:00 -04:00
Runs 🛜 refactor: Streamline App Config Usage (#9234) 2025-08-26 12:10:18 -04:00
start 🛜 refactor: Streamline App Config Usage (#9234) 2025-08-26 12:10:18 -04:00
Threads
Tools 🛜 refactor: Streamline App Config Usage (#9234) 2025-08-26 12:10:18 -04:00
ActionService.js
ActionService.spec.js 🛜 refactor: Streamline App Config Usage (#9234) 2025-08-26 12:10:18 -04:00
AppService.interface.spec.js 🛜 refactor: Streamline App Config Usage (#9234) 2025-08-26 12:10:18 -04:00
AppService.js 🗄️ feat: Allow Skipping Transactions When Balance is Disabled (#9419) 2025-09-05 11:21:02 -04:00
AppService.spec.js 🔗 feat: Custom Jina API URL for Web Search Reranking (#9236) 2025-09-06 08:39:20 -04:00
AssistantService.js 🛜 refactor: Streamline App Config Usage (#9234) 2025-08-26 12:10:18 -04:00
AuthService.js 🔃 fix: Refresh Token Edge Cases (#9625) 2025-09-13 21:36:45 -04:00
cleanup.js
createRunBody.js
domains.js 🛜 refactor: Streamline App Config Usage (#9234) 2025-08-26 12:10:18 -04:00
domains.spec.js 🛜 refactor: Streamline App Config Usage (#9234) 2025-08-26 12:10:18 -04:00
GraphApiService.js
GraphApiService.spec.js
GraphTokenService.js
initializeMCPs.js 🛜 refactor: Streamline App Config Usage (#9234) 2025-08-26 12:10:18 -04:00
initializeOAuthReconnectManager.js 💫 feat: MCP OAuth Auto-Reconnect (#9646) 2025-09-17 16:49:36 -04:00
MCP.js 💫 feat: MCP OAuth Auto-Reconnect (#9646) 2025-09-17 16:49:36 -04:00
MCP.spec.js 💫 feat: MCP OAuth Auto-Reconnect (#9646) 2025-09-17 16:49:36 -04:00
ModelService.js 🎚️ feat: Anthropic Parameter Set Support via Custom Endpoints (#9415) 2025-09-08 14:35:29 -04:00
ModelService.spec.js 🎚️ feat: Anthropic Parameter Set Support via Custom Endpoints (#9415) 2025-09-08 14:35:29 -04:00
PermissionService.js fix: Disable TTL For Transient OIDC Users In Permission Service (#9643) 2025-09-17 14:21:36 -04:00
PermissionService.spec.js
PluginService.js
ToolService.js 🛜 refactor: Streamline App Config Usage (#9234) 2025-08-26 12:10:18 -04:00
twoFactorService.js
UserService.js