naftiko: 1.0.0-alpha2 info: label: Linode API v4 — StackScripts description: 'Linode API v4 — StackScripts. 5 operations. Lead operation: List StackScripts. Self-contained Naftiko capability covering one Linode business surface.' tags: - Linode - StackScripts created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: LINODE_API_KEY: LINODE_API_KEY capability: consumes: - type: http namespace: api-v4-stackscripts baseUri: https://api.linode.com/v4 description: Linode API v4 — StackScripts business capability. Self-contained, no shared references. resources: - name: linode-stackscripts path: /linode/stackscripts operations: - name: getstackscripts method: GET description: List StackScripts outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createstackscript method: POST description: Create a StackScript outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: linode-stackscripts-stackscriptId path: /linode/stackscripts/{stackscriptId} operations: - name: getstackscript method: GET description: Get a StackScript outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updatestackscript method: PUT description: Update a StackScript outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deletestackscript method: DELETE description: Delete a StackScript outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.LINODE_API_KEY}}' exposes: - type: rest namespace: api-v4-stackscripts-rest port: 8080 description: REST adapter for Linode API v4 — StackScripts. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/linode/stackscripts name: linode-stackscripts description: REST surface for linode-stackscripts. operations: - method: GET name: getstackscripts description: List StackScripts call: api-v4-stackscripts.getstackscripts outputParameters: - type: object mapping: $. - method: POST name: createstackscript description: Create a StackScript call: api-v4-stackscripts.createstackscript with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/linode/stackscripts/{stackscriptid} name: linode-stackscripts-stackscriptid description: REST surface for linode-stackscripts-stackscriptId. operations: - method: GET name: getstackscript description: Get a StackScript call: api-v4-stackscripts.getstackscript outputParameters: - type: object mapping: $. - method: PUT name: updatestackscript description: Update a StackScript call: api-v4-stackscripts.updatestackscript with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletestackscript description: Delete a StackScript call: api-v4-stackscripts.deletestackscript outputParameters: - type: object mapping: $. - type: mcp namespace: api-v4-stackscripts-mcp port: 9090 transport: http description: MCP adapter for Linode API v4 — StackScripts. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-stackscripts description: List StackScripts hints: readOnly: true destructive: false idempotent: true call: api-v4-stackscripts.getstackscripts outputParameters: - type: object mapping: $. - name: create-stackscript description: Create a StackScript hints: readOnly: false destructive: false idempotent: false call: api-v4-stackscripts.createstackscript with: body: tools.body outputParameters: - type: object mapping: $. - name: get-stackscript description: Get a StackScript hints: readOnly: true destructive: false idempotent: true call: api-v4-stackscripts.getstackscript outputParameters: - type: object mapping: $. - name: update-stackscript description: Update a StackScript hints: readOnly: false destructive: false idempotent: true call: api-v4-stackscripts.updatestackscript with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-stackscript description: Delete a StackScript hints: readOnly: false destructive: true idempotent: true call: api-v4-stackscripts.deletestackscript outputParameters: - type: object mapping: $.