diff --git a/examples/servers/mcp-crypto-server/.choreo/component.yaml b/examples/servers/mcp-crypto-server/.choreo/component.yaml new file mode 100644 index 0000000..f87236c --- /dev/null +++ b/examples/servers/mcp-crypto-server/.choreo/component.yaml @@ -0,0 +1,40 @@ +# Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com/) All Rights Reserved. +# +# WSO2 LLC. licenses this file to you under the Apache License, +# Version 2.0 (the "License"); you may not use this file except +# in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +# +required The configuration file schema version +schemaVersion: 1.1 + +# +optional Incoming connection details for the component +endpoints: + # +required Unique name for the endpoint. + # This name will be used when generating the managed API + - name: mcp_crypto_service + # +optional Display name for the endpoint. + displayName: MCP Crypto Service + # +required Service section has the user service endpoint details + service: + # +optional Base path of the API that gets exposed via the endpoint. + # This is mandatory if the endpoint type is set to REST or GraphQL. + basePath: / + # +required Numeric port value that gets exposed via the endpoint + port: 9091 + # +required Type of traffic that the endpoint is accepting. + # Allowed values: REST, GraphQL, GRPC, TCP, UDP. + type: REST + # +optional Network level visibilities of the endpoint. + # Accepted values: Project|Organization|Public(Default). + networkVisibilities: + - Public diff --git a/examples/servers/mcp-shopping-server/.choreo/component.yaml b/examples/servers/mcp-shopping-server/.choreo/component.yaml new file mode 100644 index 0000000..99b02ac --- /dev/null +++ b/examples/servers/mcp-shopping-server/.choreo/component.yaml @@ -0,0 +1,40 @@ +# Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com/) All Rights Reserved. +# +# WSO2 LLC. licenses this file to you under the Apache License, +# Version 2.0 (the "License"); you may not use this file except +# in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +# +required The configuration file schema version +schemaVersion: 1.1 + +# +optional Incoming connection details for the component +endpoints: + # +required Unique name for the endpoint. + # This name will be used when generating the managed API + - name: mcp_shopping_service + # +optional Display name for the endpoint. + displayName: MCP Shopping Service + # +required Service section has the user service endpoint details + service: + # +optional Base path of the API that gets exposed via the endpoint. + # This is mandatory if the endpoint type is set to REST or GraphQL. + basePath: / + # +required Numeric port value that gets exposed via the endpoint + port: 9092 + # +required Type of traffic that the endpoint is accepting. + # Allowed values: REST, GraphQL, GRPC, TCP, UDP. + type: REST + # +optional Network level visibilities of the endpoint. + # Accepted values: Project|Organization|Public(Default). + networkVisibilities: + - Public diff --git a/examples/servers/mcp-weather-server/.choreo/component.yaml b/examples/servers/mcp-weather-server/.choreo/component.yaml new file mode 100644 index 0000000..9d07389 --- /dev/null +++ b/examples/servers/mcp-weather-server/.choreo/component.yaml @@ -0,0 +1,40 @@ +# Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com/) All Rights Reserved. +# +# WSO2 LLC. licenses this file to you under the Apache License, +# Version 2.0 (the "License"); you may not use this file except +# in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +# +required The configuration file schema version +schemaVersion: 1.1 + +# +optional Incoming connection details for the component +endpoints: + # +required Unique name for the endpoint. + # This name will be used when generating the managed API + - name: mcp_weather_service + # +optional Display name for the endpoint. + displayName: MCP Weather Service + # +required Service section has the user service endpoint details + service: + # +optional Base path of the API that gets exposed via the endpoint. + # This is mandatory if the endpoint type is set to REST or GraphQL. + basePath: / + # +required Numeric port value that gets exposed via the endpoint + port: 9090 + # +required Type of traffic that the endpoint is accepting. + # Allowed values: REST, GraphQL, GRPC, TCP, UDP. + type: REST + # +optional Network level visibilities of the endpoint. + # Accepted values: Project|Organization|Public(Default). + networkVisibilities: + - Public