Skip to content

Commit 6ff866a

Browse files
authored
Add missing MCP properties to main workflow schema (#11730)
1 parent 809794c commit 6ff866a

1 file changed

Lines changed: 44 additions & 0 deletions

File tree

pkg/parser/schemas/main_workflow_schema.json

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3464,6 +3464,36 @@
34643464
"type": "string"
34653465
},
34663466
"description": "Arguments passed to container entrypoint"
3467+
},
3468+
"registry": {
3469+
"type": "string",
3470+
"description": "URI to installation location from MCP registry",
3471+
"examples": ["https://api.mcp.github.com/v0/servers/microsoft/markitdown", "https://registry.npmjs.org/@my/tool"]
3472+
},
3473+
"allowed": {
3474+
"type": "array",
3475+
"items": {
3476+
"type": "string"
3477+
},
3478+
"description": "List of allowed tool names (restricts which tools from the MCP server can be used)",
3479+
"examples": [
3480+
["create-issue", "add-comment"],
3481+
["read-file", "write-file"]
3482+
]
3483+
},
3484+
"entrypoint": {
3485+
"type": "string",
3486+
"description": "Container entrypoint override (used with container field)",
3487+
"examples": ["/bin/sh", "node"]
3488+
},
3489+
"mounts": {
3490+
"type": "array",
3491+
"items": {
3492+
"type": "string",
3493+
"pattern": "^[^:]+:[^:]+:(ro|rw)$"
3494+
},
3495+
"description": "Volume mounts for container in format 'source:dest:mode' where mode is 'ro' or 'rw'",
3496+
"examples": [["/tmp/data:/data:ro"], ["/workspace:/workspace:rw", "/config:/config:ro"]]
34673497
}
34683498
},
34693499
"additionalProperties": true
@@ -6338,13 +6368,27 @@
63386368
},
63396369
"description": "Arguments for command or container execution"
63406370
},
6371+
"entrypoint": {
6372+
"type": "string",
6373+
"description": "Container entrypoint override (used with container field)",
6374+
"examples": ["/bin/sh", "node"]
6375+
},
63416376
"entrypointArgs": {
63426377
"type": "array",
63436378
"items": {
63446379
"type": "string"
63456380
},
63466381
"description": "Arguments to add after the container image (container entrypoint arguments)"
63476382
},
6383+
"mounts": {
6384+
"type": "array",
6385+
"items": {
6386+
"type": "string",
6387+
"pattern": "^[^:]+:[^:]+:(ro|rw)$"
6388+
},
6389+
"description": "Volume mounts for container in format 'source:dest:mode' where mode is 'ro' or 'rw'",
6390+
"examples": [["/tmp/data:/data:ro"], ["/workspace:/workspace:rw", "/config:/config:ro"]]
6391+
},
63486392
"env": {
63496393
"type": "object",
63506394
"patternProperties": {

0 commit comments

Comments
 (0)