Skip to content

Commit 7688aae

Browse files
committed
clean up
1 parent f1bd11f commit 7688aae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/mcp/McpHub.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ const createServerTypeSchema = () => {
8080
url: z.string().url("URL must be a valid URL format"),
8181
headers: z.record(z.string()).optional(),
8282
// Ensure no stdio fields are present
83-
command: z.undefined(),
83+
command: z.undefined().optional(),
8484
args: z.undefined().optional(),
8585
env: z.undefined().optional(),
8686
})

0 commit comments

Comments
 (0)