fix: make mcp_config required for all server types in v0.4 schema

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Joan Xie 2025-12-03 20:33:10 -08:00
commit 1dbbffc972
No known key found for this signature in database

View file

@ -37,8 +37,7 @@ export const McpbManifestMcpConfigSchema = McpServerConfigSchema.extend({
export const McpbManifestServerSchema = z.strictObject({
type: z.enum(["python", "node", "binary", "uv"]),
entry_point: z.string(),
// mcp_config is optional for UV type (UV handles execution)
mcp_config: McpbManifestMcpConfigSchema.optional(),
mcp_config: McpbManifestMcpConfigSchema,
});
export const McpbManifestCompatibilitySchema = z.strictObject({