react front end show available tools from mcp

This commit is contained in:
2026-03-05 19:32:46 +08:00
parent eb7e85e4e6
commit 3fc3d7288c
4 changed files with 76 additions and 0 deletions

View File

@@ -105,3 +105,15 @@ export type McpToolConfigUpdateResponse = {
tool_keys: string[];
};
export type McpAvailableToolsResponse = {
available_tools: string[];
errors: string[];
servers: Record<
string,
{
tools: string[];
error?: string | null;
}
>;
};