Add missing MCP properties to main workflow schema#11730
Merged
Conversation
- Added registry, allowed, entrypoint, and mounts properties to stdio_mcp_tool definition - Added registry and allowed properties to tools.additionalProperties section - All properties include descriptions and examples - Schema validation now accepts these properties in both mcp-servers and tools sections Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
- Tested registry, allowed, entrypoint, and mounts properties - All properties compile correctly and appear in lock file - Schema validation accepts all properties - Existing test failures are unrelated to schema changes Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add missing MCP properties to main workflow schema
Add missing MCP properties to main workflow schema
Jan 25, 2026
This was referenced Jan 25, 2026
8 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Four MCP properties (
registry,allowed,entrypoint,mounts) were implemented inpkg/parser/mcp.goandpkg/workflow/mcp-config-custom.gobut missing from the JSON schema, preventing schema validation and IDE autocompletion.Changes
Updated
pkg/parser/schemas/main_workflow_schema.json:Added to
tools.additionalProperties(lines 3469-3510):registry: string - MCP registry URIallowed: array of strings - tool name allowlistentrypoint: string - container entrypoint overridemounts: array with pattern^[^:]+:[^:]+:(ro|rw)$- volume mountsAdded to
stdio_mcp_tooldefinition (lines 6376-6396):entrypoint: string - container entrypoint overridemounts: array with pattern validation - volume mounts format enforcementExample
All properties now validate against the schema with pattern enforcement for mount syntax.
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.