naftiko: 1.0.0-alpha2 info: label: Contentstack Automate Management API — Variables description: 'Contentstack Automate Management API — Variables. 2 operations. Lead operation: Get all variables. Self-contained Naftiko capability covering one Contentstack business surface.' tags: - Contentstack - Variables created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: CONTENTSTACK_API_KEY: CONTENTSTACK_API_KEY capability: consumes: - type: http namespace: automate-management-variables baseUri: https://automations-api.contentstack.com description: Contentstack Automate Management API — Variables business capability. Self-contained, no shared references. resources: - name: v1-organizations-organization_uid-projects-project_uid-variables path: /v1/organizations/{organization_uid}/projects/{project_uid}/variables operations: - name: getallvariables method: GET description: Get all variables outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createvariable method: POST description: Create a variable outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.CONTENTSTACK_API_KEY}}' exposes: - type: rest namespace: automate-management-variables-rest port: 8080 description: REST adapter for Contentstack Automate Management API — Variables. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/organizations/{organization-uid}/projects/{project-uid}/variables name: v1-organizations-organization-uid-projects-project-uid-variables description: REST surface for v1-organizations-organization_uid-projects-project_uid-variables. operations: - method: GET name: getallvariables description: Get all variables call: automate-management-variables.getallvariables outputParameters: - type: object mapping: $. - method: POST name: createvariable description: Create a variable call: automate-management-variables.createvariable with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: automate-management-variables-mcp port: 9090 transport: http description: MCP adapter for Contentstack Automate Management API — Variables. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-all-variables description: Get all variables hints: readOnly: true destructive: false idempotent: true call: automate-management-variables.getallvariables outputParameters: - type: object mapping: $. - name: create-variable description: Create a variable hints: readOnly: false destructive: false idempotent: false call: automate-management-variables.createvariable with: body: tools.body outputParameters: - type: object mapping: $.