mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-27 16:04:21 +00:00
feat: completely remove the fucking mcp market components and refs
This commit is contained in:
@@ -348,27 +348,3 @@ export interface MCPTool {
|
||||
description: string;
|
||||
parameters: object;
|
||||
}
|
||||
|
||||
// MCP Market
|
||||
export interface MCPMarketResponse {
|
||||
servers: MCPMarketServer[];
|
||||
total: number;
|
||||
}
|
||||
|
||||
export interface MCPMarketServer {
|
||||
ID: number;
|
||||
CreatedAt: string; // ISO 8601 格式日期
|
||||
UpdatedAt: string;
|
||||
DeletedAt: string | null;
|
||||
name: string;
|
||||
author: string;
|
||||
description: string;
|
||||
repository: string; // GitHub 仓库路径
|
||||
artifacts_path: string;
|
||||
stars: number;
|
||||
downloads: number;
|
||||
status: 'initialized' | 'mounted';
|
||||
synced_at: string;
|
||||
pushed_at: string; // 最后一次代码推送时间
|
||||
version?: string;
|
||||
}
|
||||
|
||||
@@ -530,22 +530,6 @@ export class BackendClient extends BaseHttpClient {
|
||||
return this.post(`/api/v1/mcp/servers/${serverName}/test`);
|
||||
}
|
||||
|
||||
// public getMCPMarketServers(
|
||||
// page: number,
|
||||
// page_size: number,
|
||||
// query: string,
|
||||
// sort_by: string = 'stars',
|
||||
// sort_order: string = 'DESC',
|
||||
// ): Promise<MCPMarketResponse> {
|
||||
// return this.post(`/api/v1/market/mcp`, {
|
||||
// page,
|
||||
// page_size,
|
||||
// query,
|
||||
// sort_by,
|
||||
// sort_order,
|
||||
// });
|
||||
// }
|
||||
|
||||
public installMCPServerFromGithub(
|
||||
source: string,
|
||||
): Promise<AsyncTaskCreatedResp> {
|
||||
|
||||
Reference in New Issue
Block a user