mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-04 02:31:27 +00:00
feat: add DiscoverableMCPServer types for MCP discovery
This commit is contained in:
parent
bcc1ad1a48
commit
b76510390e
1 changed files with 20 additions and 0 deletions
|
|
@ -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[];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue