naftiko: 1.0.0-alpha2 info: label: Apache APISIX Admin API — Plugins description: 'Apache APISIX Admin API — Plugins. 2 operations. Lead operation: Apache APISIX List All Plugins. Self-contained Naftiko capability covering one Apache Apisix business surface.' tags: - Apache Apisix - Plugins created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: APACHE_APISIX_API_KEY: APACHE_APISIX_API_KEY capability: consumes: - type: http namespace: admin-plugins baseUri: http://127.0.0.1:9180/apisix/admin description: Apache APISIX Admin API — Plugins business capability. Self-contained, no shared references. resources: - name: plugins path: /plugins operations: - name: listplugins method: GET description: Apache APISIX List All Plugins outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: subsystem in: query type: string description: Filter plugins by subsystem (http or stream). - name: plugins-plugin_name path: /plugins/{plugin_name} operations: - name: getpluginschema method: GET description: Apache APISIX Get Plugin Schema outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: apikey key: X-API-KEY value: '{{env.APACHE_APISIX_API_KEY}}' placement: header exposes: - type: rest namespace: admin-plugins-rest port: 8080 description: REST adapter for Apache APISIX Admin API — Plugins. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/plugins name: plugins description: REST surface for plugins. operations: - method: GET name: listplugins description: Apache APISIX List All Plugins call: admin-plugins.listplugins with: subsystem: rest.subsystem outputParameters: - type: object mapping: $. - path: /v1/plugins/{plugin-name} name: plugins-plugin-name description: REST surface for plugins-plugin_name. operations: - method: GET name: getpluginschema description: Apache APISIX Get Plugin Schema call: admin-plugins.getpluginschema outputParameters: - type: object mapping: $. - type: mcp namespace: admin-plugins-mcp port: 9090 transport: http description: MCP adapter for Apache APISIX Admin API — Plugins. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: apache-apisix-list-all-plugins description: Apache APISIX List All Plugins hints: readOnly: true destructive: false idempotent: true call: admin-plugins.listplugins with: subsystem: tools.subsystem outputParameters: - type: object mapping: $. - name: apache-apisix-get-plugin-schema description: Apache APISIX Get Plugin Schema hints: readOnly: true destructive: false idempotent: true call: admin-plugins.getpluginschema outputParameters: - type: object mapping: $.