You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[task] Add required 'url' field to HTTP MCP tool schema #2972
Make the url field required in the MCP config schema for HTTP MCP tools to provide early validation feedback.
Context
This addresses Issue #2 from discussion #2969. Currently, the MCP config schema doesn't enforce the url field as required via JSON Schema, but the compiler enforces it at runtime in pkg/workflow/mcp-config.go:827. Users don't get IDE validation or early warning when url is missing.
Approach
Open pkg/parser/schemas/mcp_config_schema.json
Locate the http_mcp_tool definition
Add a conditional required array that enforces url when type is http
Follow the existing pattern used in MCP schemas (which are noted as "gold standard")
Files to Modify
pkg/parser/schemas/mcp_config_schema.json - Add conditional requirement for url field in HTTP tools
Acceptance Criteria
Schema validation fails when HTTP MCP tool lacks url field
Schema validation passes when url is provided for HTTP tools
Activity