naftiko: 1.0.0-alpha2 info: label: McAfee Web Gateway API — File Operations description: 'McAfee Web Gateway API — File Operations. 2 operations. Lead operation: McAfee Export configuration. Self-contained Naftiko capability covering one Mcafee business surface.' tags: - Mcafee - File Operations created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MCAFEE_API_KEY: MCAFEE_API_KEY capability: consumes: - type: http namespace: web-gateway-file-operations baseUri: https://{mwg-server}:4712/Konfigurator/REST description: McAfee Web Gateway API — File Operations business capability. Self-contained, no shared references. resources: - name: file-export path: /file/export operations: - name: exportconfiguration method: GET description: McAfee Export configuration outputRawFormat: json outputParameters: - name: result type: object value: $. - name: file-import path: /file/import operations: - name: importconfiguration method: POST description: McAfee Import configuration outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: apikey key: JSESSIONID value: '{{env.MCAFEE_API_KEY}}' placement: cookie exposes: - type: rest namespace: web-gateway-file-operations-rest port: 8080 description: REST adapter for McAfee Web Gateway API — File Operations. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/file/export name: file-export description: REST surface for file-export. operations: - method: GET name: exportconfiguration description: McAfee Export configuration call: web-gateway-file-operations.exportconfiguration outputParameters: - type: object mapping: $. - path: /v1/file/import name: file-import description: REST surface for file-import. operations: - method: POST name: importconfiguration description: McAfee Import configuration call: web-gateway-file-operations.importconfiguration with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: web-gateway-file-operations-mcp port: 9090 transport: http description: MCP adapter for McAfee Web Gateway API — File Operations. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: mcafee-export-configuration description: McAfee Export configuration hints: readOnly: true destructive: false idempotent: true call: web-gateway-file-operations.exportconfiguration outputParameters: - type: object mapping: $. - name: mcafee-import-configuration description: McAfee Import configuration hints: readOnly: false destructive: false idempotent: false call: web-gateway-file-operations.importconfiguration with: body: tools.body outputParameters: - type: object mapping: $.