apiVersion: configuration.konghq.com/v1 kind: KongPlugin metadata: name: ${NAME}-catalog-mcp-ai-mcp-proxy namespace: ${NAMESPACE} plugin: ai-mcp-proxy config: mode: conversion-listener include_consumer_groups: true tools: - name: list-products description: Retrieves a paginated list of products in the classic-models catalog. annotations: title: List all products read_only_hint: true idempotent_hint: true destructive_hint: false open_world_hint: false acl: allow: - sttlab-user - sttlab-admin method: GET scheme: http host: ${REST_HOSTNAME} path: /catalog/v1/products/ - name: get-product description: Retrieves a single product by its product code. annotations: title: Get a product read_only_hint: true idempotent_hint: true destructive_hint: false open_world_hint: false acl: allow: - sttlab-user - sttlab-admin method: GET scheme: http host: ${REST_HOSTNAME} path: /catalog/v1/products/{productcode}/ parameters: - name: productcode in: path required: true description: The product's unique code. schema: {} - name: create-product description: Creates a new product in the catalog. annotations: title: Create a product read_only_hint: false idempotent_hint: false destructive_hint: false open_world_hint: false acl: allow: - sttlab-admin method: POST scheme: http host: ${REST_HOSTNAME} path: /catalog/v1/products/ request_body: required: true content: application/json: schema: type: object properties: productname: type: string productline: type: string productscale: type: string productvendor: type: string productdescription: type: string quantityinstock: type: integer buyprice: type: string msrp: type: string required: - productname - productline