Fix broken MCP admin endpoints after deps refactor
Replace stale `_mcp_manager` module-level import with `get_mcp_manager()`
calls in admin endpoints. The module-level variable was removed during the
AppContainer refactor, causing 500 errors on:
- POST /admin/mcp/{server}/reconnect
- GET /admin/mcp/status
- POST /admin/mcp/test

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 8c2533d commit 3b49293a9582dffc234cda0c436535a5a05fb097
@Eugene Sukhodolskiy Eugene Sukhodolskiy authored on 25 May
Showing 1 changed file
View
navi/api/routes/admin.py