litellm/ui
Ryan Crabbe a125ae697e
fix(ui): use stored-credentials endpoint for tools fetch on MCP edit page
The edit page was calling POST /mcp-rest/test/tools/list (the temp-session
endpoint that requires inline credentials) on mount. Since fetchTools
deliberately omits credentials from the request body, any server with
auth_type api_key/bearer_token/basic/authorization would 422.

Switch to GET /mcp-rest/tools/list?server_id=... which looks up stored
credentials on the backend — no inline creds needed for saved servers.
2026-04-17 22:42:07 -07:00
..
litellm-dashboard fix(ui): use stored-credentials endpoint for tools fetch on MCP edit page 2026-04-17 22:42:07 -07:00