Skip to content

[Bug]: MCP Server UI fetches tool list from browser instead of LiteLLM backend #16079

@mubashir1osmani

Description

@mubashir1osmani

What happened?

When adding an MCP server in the LiteLLM UI, the browser (client-side)s used to fetch the MCP server’s tool list and descriptions. The backend should be making this request.

This breaks in private or internal K8s setups where the MCP server is only reachable from within the cluster.

Users see a misleading error

Backend proxy configuration is valid; the issue is UI-side fetch routing.

Relevant log output

Received non-JSON response (500: ). Check network tab for details.

Are you a ML Ops Team?

No

What LiteLLM version are you on ?

v1.78.5

Twitter / LinkedIn details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions