naftiko: 1.0.0-alpha2 info: label: Drupal JSON:API — Taxonomy Terms description: 'Drupal JSON:API — Taxonomy Terms. 2 operations. Lead operation: List taxonomy terms by vocabulary. Self-contained Naftiko capability covering one Drupal business surface.' tags: - Drupal - Taxonomy Terms created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: DRUPAL_API_KEY: DRUPAL_API_KEY capability: consumes: - type: http namespace: jsonapi-taxonomy-terms baseUri: https://example.com/jsonapi description: Drupal JSON:API — Taxonomy Terms business capability. Self-contained, no shared references. resources: - name: taxonomy_term-vocabulary path: /taxonomy_term/{vocabulary} operations: - name: listtaxonomyterms method: GET description: List taxonomy terms by vocabulary outputRawFormat: json outputParameters: - name: result type: object value: $. - name: taxonomy_term-vocabulary-uuid path: /taxonomy_term/{vocabulary}/{uuid} operations: - name: gettaxonomyterm method: GET description: Get a taxonomy term outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.DRUPAL_API_KEY}}' exposes: - type: rest namespace: jsonapi-taxonomy-terms-rest port: 8080 description: REST adapter for Drupal JSON:API — Taxonomy Terms. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/taxonomy-term/{vocabulary} name: taxonomy-term-vocabulary description: REST surface for taxonomy_term-vocabulary. operations: - method: GET name: listtaxonomyterms description: List taxonomy terms by vocabulary call: jsonapi-taxonomy-terms.listtaxonomyterms outputParameters: - type: object mapping: $. - path: /v1/taxonomy-term/{vocabulary}/{uuid} name: taxonomy-term-vocabulary-uuid description: REST surface for taxonomy_term-vocabulary-uuid. operations: - method: GET name: gettaxonomyterm description: Get a taxonomy term call: jsonapi-taxonomy-terms.gettaxonomyterm outputParameters: - type: object mapping: $. - type: mcp namespace: jsonapi-taxonomy-terms-mcp port: 9090 transport: http description: MCP adapter for Drupal JSON:API — Taxonomy Terms. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-taxonomy-terms-vocabulary description: List taxonomy terms by vocabulary hints: readOnly: true destructive: false idempotent: true call: jsonapi-taxonomy-terms.listtaxonomyterms outputParameters: - type: object mapping: $. - name: get-taxonomy-term description: Get a taxonomy term hints: readOnly: true destructive: false idempotent: true call: jsonapi-taxonomy-terms.gettaxonomyterm outputParameters: - type: object mapping: $.