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