naftiko: 1.0.0-alpha2 info: label: Hetzner Cloud API — Locations description: 'Hetzner Cloud API — Locations. 2 operations. Lead operation: List Locations. Self-contained Naftiko capability covering one Hetzner business surface.' tags: - Hetzner - Locations created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: HETZNER_API_KEY: HETZNER_API_KEY capability: consumes: - type: http namespace: hetzner-locations baseUri: https://api.hetzner.cloud/v1 description: Hetzner Cloud API — Locations business capability. Self-contained, no shared references. resources: - name: locations path: /locations operations: - name: listlocations method: GET description: List Locations outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: name in: query type: string description: Filter resources by their name. - name: sort in: query type: array description: Sort resources by field and direction. May be used multiple times. - name: page in: query type: integer description: Page number to return. For more information, see "[Pagination](#description/pagination)". - name: per_page in: query type: integer description: Maximum number of entries returned per page. For more information, see "[Pagination](#description/pagination)". - name: locations-id path: /locations/{id} operations: - name: getlocation method: GET description: Get a Location outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: integer description: ID of the Location. required: true authentication: type: bearer token: '{{env.HETZNER_API_KEY}}' exposes: - type: rest namespace: hetzner-locations-rest port: 8080 description: REST adapter for Hetzner Cloud API — Locations. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/locations name: locations description: REST surface for locations. operations: - method: GET name: listlocations description: List Locations call: hetzner-locations.listlocations with: name: rest.name sort: rest.sort page: rest.page per_page: rest.per_page outputParameters: - type: object mapping: $. - path: /v1/locations/{id} name: locations-id description: REST surface for locations-id. operations: - method: GET name: getlocation description: Get a Location call: hetzner-locations.getlocation with: id: rest.id outputParameters: - type: object mapping: $. - type: mcp namespace: hetzner-locations-mcp port: 9090 transport: http description: MCP adapter for Hetzner Cloud API — Locations. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-locations description: List Locations hints: readOnly: true destructive: false idempotent: true call: hetzner-locations.listlocations with: name: tools.name sort: tools.sort page: tools.page per_page: tools.per_page outputParameters: - type: object mapping: $. - name: get-location description: Get a Location hints: readOnly: true destructive: false idempotent: true call: hetzner-locations.getlocation with: id: tools.id outputParameters: - type: object mapping: $.