From b76510390e775723d43bebbfc1c1f2634859a90e Mon Sep 17 00:00:00 2001 From: Ishaan Jaffer Date: Thu, 12 Feb 2026 16:50:43 -0800 Subject: [PATCH] feat: add DiscoverableMCPServer types for MCP discovery --- .../src/components/mcp_tools/types.tsx | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/ui/litellm-dashboard/src/components/mcp_tools/types.tsx b/ui/litellm-dashboard/src/components/mcp_tools/types.tsx index ecc4171a8ac..b5357e2b5b0 100644 --- a/ui/litellm-dashboard/src/components/mcp_tools/types.tsx +++ b/ui/litellm-dashboard/src/components/mcp_tools/types.tsx @@ -175,3 +175,23 @@ export interface MCPServerProps { userRole: string | null; userID: string | null; } + +// Discoverable MCP server from the curated registry +export interface DiscoverableMCPServer { + name: string; + title: string; + description: string; + icon_url?: string | null; + category: string; + registry_url?: string | null; + transport: string; + url?: string | null; + command?: string | null; + args?: string[] | null; + env_vars?: Array<{ name: string; description?: string; secret?: boolean }> | null; +} + +export interface DiscoverMCPServersResponse { + servers: DiscoverableMCPServer[]; + categories: string[]; +}