litellm/ui
Cursor Agent efe079de23 feat: add MCP tool call/result rendering to Chat UI
Port MCP event handling from Playground to the standalone Chat UI:

- ChatPage: add mcpEvents state, handleMCPEvent callback, fetch
  MCPServer[] objects, pass onMCPEvent + mcpServers to
  makeOpenAIChatCompletionRequest and streamToModel
- ChatMessages: accept mcpEvents prop, render MCPEventsDisplay
  (list tools, tool calls with request/response) inside the last
  assistant bubble, reusing the existing Playground component
- Reset mcpEvents on each new send

Co-authored-by: Ishaan Jaff <ishaan-jaff@users.noreply.github.com>
2026-03-07 06:12:18 +00:00
..
litellm-dashboard feat: add MCP tool call/result rendering to Chat UI 2026-03-07 06:12:18 +00:00