Skip to content

[plan] Add missing MCP properties to main workflow schema #11707

@github-actions

Description

@github-actions

Objective

Add 4 missing MCP properties to main_workflow_schema.json that are already implemented in the codebase but not validated by the schema.

Context

From discussion #11706: The main schema is missing registry, allowed, entrypoint, and mounts properties that are already implemented in pkg/parser/mcp.go, pkg/workflow/mcp-config-custom.go, and tested in mcp_config_compilation_test.go. This causes users to not discover these fields via schema validation.

Approach

Update pkg/parser/schemas/main_workflow_schema.json (lines 3398-3477) in the tools.additionalProperties section to include:

  1. registry (string) - URI to installation location from MCP registry
  2. allowed (array of strings) - List of allowed tool names
  3. entrypoint (string) - Container entrypoint override
  4. mounts (array) - Volume mounts with pattern ^[^:]+:[^:]+:(ro|rw)$

Files to Modify

  • pkg/parser/schemas/main_workflow_schema.json - Add 4 missing properties to tools.additionalProperties

Acceptance Criteria

  • registry property added with type string and description
  • allowed property added as array of strings
  • entrypoint property added with type string
  • mounts property added as array with pattern validation
  • All properties include examples matching existing documentation
  • Schema remains valid JSON
  • Run make build to embed updated schema

AI generated by Plan Command for discussion #11706

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions