From 6faad2919a53f020b444a88895d5becf3261856d Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Tue, 10 Mar 2026 14:37:32 -0700 Subject: [PATCH] feat(chat-ui): add MCP OAuth2 value prop and server auth badges (#23291) * feat(chat-ui): add MCP OAuth2 value prop and OAuth2 pill on server cards - Add subtitle in chat empty state explaining MCP OAuth2 value prop with 'Open Apps' link - Update MCPAppsPanel header copy to explain the flow more clearly - Show OAuth2 pill badge on server cards where auth_type is oauth2 * fix(chat-ui): use AUTH_TYPE.OAUTH2 constant instead of hardcoded string --- .../src/components/chat/ChatPage.tsx | 12 +++++++++++- .../src/components/chat/MCPAppsPanel.tsx | 13 +++++++++++-- 2 files changed, 22 insertions(+), 3 deletions(-) diff --git a/ui/litellm-dashboard/src/components/chat/ChatPage.tsx b/ui/litellm-dashboard/src/components/chat/ChatPage.tsx index 40b41f561ce..34473165bb1 100644 --- a/ui/litellm-dashboard/src/components/chat/ChatPage.tsx +++ b/ui/litellm-dashboard/src/components/chat/ChatPage.tsx @@ -944,10 +944,20 @@ const ChatPage: React.FC = ({ accessToken, userRole, userId, user : greeting} - {isComparisonMode && ( + {isComparisonMode ? (

Send a message to see responses side-by-side

+ ) : ( +

+ Chat with 100+ LLMs + MCP tools — authenticate once, use them here.{" "} + +

)} {/* Input card */} diff --git a/ui/litellm-dashboard/src/components/chat/MCPAppsPanel.tsx b/ui/litellm-dashboard/src/components/chat/MCPAppsPanel.tsx index 926d6697bca..f3a387c02bd 100644 --- a/ui/litellm-dashboard/src/components/chat/MCPAppsPanel.tsx +++ b/ui/litellm-dashboard/src/components/chat/MCPAppsPanel.tsx @@ -4,7 +4,7 @@ import React, { useEffect, useState } from "react"; import { Switch, Spin, Input, Button } from "antd"; import { SearchOutlined, ArrowLeftOutlined, RightOutlined } from "@ant-design/icons"; import { fetchMCPServers, listMCPTools } from "../networking"; -import { MCPServer } from "../mcp_tools/types"; +import { AUTH_TYPE, MCPServer } from "../mcp_tools/types"; import { message } from "antd"; interface Props { @@ -174,7 +174,7 @@ const MCPAppsPanel: React.FC = ({ accessToken, selectedServers, onChange }}>Beta

- Connect tools to your chat. + Browse tools, authenticate once, use in chat — no setup needed.

= ({ accessToken, selectedServers, onChange {isConnected && ( )} + {server.auth_type === AUTH_TYPE.OAUTH2 && ( + + OAuth2 + + )} );