Browse Source

Merge branch 'main' into support_project_mcp

aheizi 11 months ago
parent
commit
f77606996f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/services/mcp/McpHub.ts

+ 1 - 1
src/services/mcp/McpHub.ts

@@ -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)