naftiko: 1.0.0-alpha2 info: label: Fastly VCL Services API — Header description: 'Fastly VCL Services API — Header. 2 operations. Lead operation: List header objects. Self-contained Naftiko capability covering one Fastly business surface.' tags: - Fastly - Header 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-header baseUri: https://api.fastly.com description: Fastly VCL Services API — Header business capability. Self-contained, no shared references. resources: - name: service-service_id-version-version_id-header path: /service/{service_id}/version/{version_id}/header operations: - name: listheaders method: GET description: List header objects outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createheader method: POST description: Create a header object 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: Fastly-Key value: '{{env.FASTLY_API_KEY}}' placement: header exposes: - type: rest namespace: vcl-services-header-rest port: 8080 description: REST adapter for Fastly VCL Services API — Header. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/service/{service-id}/version/{version-id}/header name: service-service-id-version-version-id-header description: REST surface for service-service_id-version-version_id-header. operations: - method: GET name: listheaders description: List header objects call: vcl-services-header.listheaders outputParameters: - type: object mapping: $. - method: POST name: createheader description: Create a header object call: vcl-services-header.createheader with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: vcl-services-header-mcp port: 9090 transport: http description: MCP adapter for Fastly VCL Services API — Header. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-header-objects description: List header objects hints: readOnly: true destructive: false idempotent: true call: vcl-services-header.listheaders outputParameters: - type: object mapping: $. - name: create-header-object description: Create a header object hints: readOnly: false destructive: false idempotent: false call: vcl-services-header.createheader with: body: tools.body outputParameters: - type: object mapping: $.