Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 51 additions & 0 deletions src/schemas/json/host.json
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,54 @@
},
"additionalProperties": false
},
"mcp-extension": {
"type": "object",
"description": "Configuration settings for 'mcp' triggers.",
"properties": {
"instructions": {
"description": "Describes to clients how to access the remote MCP server.",
"type": "string"
},
"serverName": {
"description": "A friendly name for the remote MCP server.",
"type": "string"
},
"serverVersion": {
"description": "Current version of the remote MCP server.",
"type": "string"
},
"encryptClientState": {
"description": "Determines if client state is encrypted. Defaults to true. Setting to false may be useful for debugging and test scenarios but isn't recommended for production.",
"type": "boolean",
"default": true
},
"messageOptions": {
"description": "COptions object for the message endpoint in the SSE transport.",
"type": "object",
"properties": {
"useAbsoluteUriForEndpoint": {
"description": "If set to false, the message endpoint is provided as a relative URI during initial connections over the SSE transport. If set to true, the message endpoint is returned as an absolute URI. Using a relative URI isn't recommended unless you have a specific reason to do so.",
"type": "boolean",
"default": false
}
},
"additionalProperties": false
},
"system": {
"description": "COptions object for the message endpoint in the SSE transport.",
"type": "object",
"properties": {
"webhookAuthorizationLevel": {
"description": "Defines the authorization level required for the webhook endpoint. Defaults to \"System\". Allowed values are \"System\" and \"Anonymous\". When you set the value to \"Anonymous\", an access key is no longer required for requests.",
"enum": ["System", "Anonymous"],
"default": "System"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"version-1": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -1480,6 +1528,9 @@
}
},
"additionalProperties": false
},
"mcp": {
"$ref": "#/definitions/mcp-extension"
}
},
"additionalProperties": false
Expand Down
12 changes: 12 additions & 0 deletions src/test/host/host.v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,18 @@
"maxOutstandingRequests": 200,
"routePrefix": "api"
},
"mcp": {
"encryptClientState": true,
"instructions": "Some test instructions on how to use the server",
"messageOptions": {
"useAbsoluteUriForEndpoint": false
},
"serverName": "TestServer",
"serverVersion": "2.0.0",
"system": {
"webhookAuthorizationLevel": "System"
}
},
"queues": {
"batchSize": 16,
"maxDequeueCount": 5,
Expand Down