feat: add DiscoverableMCPServer types for MCP discovery

This commit is contained in:
Ishaan Jaffer 2026-02-12 16:50:43 -08:00
parent bcc1ad1a48
commit b76510390e

View file

@ -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[];
}