litellm/ui/litellm-dashboard/src
Cursor Agent bd9a6e4872
fix(mcp): inject user_fields headers on managed OpenAPI dispatch and clear false UI Ready badge
- mcp_server_manager.py: resolve admin-declared per-user field values and
  forward them as upstream headers through the managed
  _call_openapi_tool_handler path via the openapi generator's
  _request_user_field_headers ContextVar. The local-registry dispatch in
  server.execute_mcp_tool already injects these; the managed fallback was
  silently dropping them, so a server with spec_path + user_fields would
  pass _enforce_user_fields but still fail upstream with no credentials.

- mcp_server_columns.tsx: distinguish null/undefined (annotation never
  ran — e.g. empty user_id, no DB connection) from [] (verified complete)
  when rendering the user-fields credential cell. Previously a server
  whose missing_user_field_keys was never populated rendered a green
  'Ready' badge while enforcement at tool-call time would still return
  401, lying to the user. Now show a neutral 'Not verified' badge when
  the annotation was skipped.

Co-authored-by: Yassin Kortam <yassin@berri.ai>
2026-05-19 09:12:03 +00:00
..
app test(ui): preserve global Button/Tooltip mocks in per-file @tremor/react vi.mock 2026-05-14 14:01:02 -07:00
components fix(mcp): inject user_fields headers on managed OpenAPI dispatch and clear false UI Ready badge 2026-05-19 09:12:03 +00:00
contexts [Fix] UI: Migrate AntD message API to use context-based MessageManager 2026-03-19 23:29:38 -07:00
data feat: Add Canadian PII protection (PIPEDA) (#22951) 2026-03-06 18:27:31 -08:00
hooks feat(mcp): add delegate_auth_to_upstream flag for PKCE passthrough (#27834) 2026-05-13 12:06:13 -07:00
lib added and ran prettier autoformatter 2025-10-04 18:19:48 -07:00
utils Fix internal tag usage scoping (#27315) 2026-05-11 10:44:50 -07:00
types.ts added and ran prettier autoformatter 2025-10-04 18:19:48 -07:00