naftiko: 1.0.0-alpha2 info: label: Fastly VCL Services API — Backend description: 'Fastly VCL Services API — Backend. 5 operations. Lead operation: List backends. Self-contained Naftiko capability covering one Fastly business surface.' tags: - Fastly - Backend created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: FASTLY_API_KEY: FASTLY_API_KEY capability: consumes: - type: http namespace: vcl-services-backend baseUri: https://api.fastly.com description: Fastly VCL Services API — Backend business capability. Self-contained, no shared references. resources: - name: service-service_id-version-version_id-backend path: /service/{service_id}/version/{version_id}/backend operations: - name: listbackends method: GET description: List backends outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createbackend method: POST description: Create a backend outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: service-service_id-version-version_id-backend-backend_name path: /service/{service_id}/version/{version_id}/backend/{backend_name} operations: - name: getbackend method: GET description: Get a backend outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updatebackend method: PUT description: Update a backend outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: deletebackend method: DELETE description: Delete a backend outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: apikey key: Fastly-Key value: '{{env.FASTLY_API_KEY}}' placement: header exposes: - type: rest namespace: vcl-services-backend-rest port: 8080 description: REST adapter for Fastly VCL Services API — Backend. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/service/{service-id}/version/{version-id}/backend name: service-service-id-version-version-id-backend description: REST surface for service-service_id-version-version_id-backend. operations: - method: GET name: listbackends description: List backends call: vcl-services-backend.listbackends outputParameters: - type: object mapping: $. - method: POST name: createbackend description: Create a backend call: vcl-services-backend.createbackend with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/service/{service-id}/version/{version-id}/backend/{backend-name} name: service-service-id-version-version-id-backend-backend-name description: REST surface for service-service_id-version-version_id-backend-backend_name. operations: - method: GET name: getbackend description: Get a backend call: vcl-services-backend.getbackend outputParameters: - type: object mapping: $. - method: PUT name: updatebackend description: Update a backend call: vcl-services-backend.updatebackend with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletebackend description: Delete a backend call: vcl-services-backend.deletebackend outputParameters: - type: object mapping: $. - type: mcp namespace: vcl-services-backend-mcp port: 9090 transport: http description: MCP adapter for Fastly VCL Services API — Backend. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-backends description: List backends hints: readOnly: true destructive: false idempotent: true call: vcl-services-backend.listbackends outputParameters: - type: object mapping: $. - name: create-backend description: Create a backend hints: readOnly: false destructive: false idempotent: false call: vcl-services-backend.createbackend with: body: tools.body outputParameters: - type: object mapping: $. - name: get-backend description: Get a backend hints: readOnly: true destructive: false idempotent: true call: vcl-services-backend.getbackend outputParameters: - type: object mapping: $. - name: update-backend description: Update a backend hints: readOnly: false destructive: false idempotent: true call: vcl-services-backend.updatebackend with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-backend description: Delete a backend hints: readOnly: false destructive: true idempotent: true call: vcl-services-backend.deletebackend outputParameters: - type: object mapping: $.