Skip to main content
Version: 14.x

Examples

Here you can see some prompts that you can ask to the mcp-server.
Remember to change the values inside the curly braces {} with your specific information.

Project Creation

Create a Mia-Platform Project named {projectName} in the {companyName} company using the {templateName} template

Microservice Creation

In {projectName} project, create an endpoint /foo which exposes the service with name echo and docker image
davidebianchi/echo-service. If the service not exists, create it.
Create a microservice named {microserviceName} using the template {templateName} in the project {projectName}

Runtime Environments and Workload Discovery

Which are the current configurations of the project {projectName}? Provide a table that lists all workloads, replicas, status and if it's source code, a container, or a resource.
List also all endpoints exposed and if they are protected or public and which microservice exposes that endpoint
Check all projects in the tenant {tenantName} and verify if there is code duplication and if items in the marketplace/software catalog are properly reused
Show me the resource utilization of all services in project {projectName} in the PRODUCTION environment. Identify any services that are over-provisioned or under-provisioned
Compare the configurations between DEV and PRODUCTION environments for project {projectName} and highlight any inconsistencies or differences that could cause deployment issues

CRUD Service Management

Create a CRUD Service with the following collections in {projectName}:
- customers
- products
- payments
- shipping
Add the properties needed to describe all domains
Create a CRUD Service for an inventory management system with the following collections in {projectName}:
- items (with only this additional fields for SKU, name, description, quantity, location, supplier)
- suppliers (with only this additional fields for name, contact information, payment terms)
- purchase_orders (with only this additional fields for order date, supplier, items, status, delivery date)
- inventory_movements (with only this additional fields for item, quantity, direction, timestamp, reason)

Add appropriate indexes for optimizing common queries