Merge branch 'main' into support_project_mcp

This commit is contained in:
aheizi 2025-03-14 20:59:21 +08:00
parent 5d8a456374
commit f77606996f

View file

@ -244,7 +244,7 @@ export class McpHub {
private async connectToServer(
name: string,
config: z.infer<typeof ServerConfigSchema>,
config: z.infer<typeof StdioConfigSchema>,
source: "global" | "project" = "global",
): Promise<void> {
// Remove existing connection if it exists (should never happen, the connection should be deleted beforehand)