naftiko: 1.0.0-alpha2 info: label: NGINX Plus REST API — Connections description: 'NGINX Plus REST API — Connections. 2 operations. Lead operation: NGINX Return Client Connections Statistics. Self-contained Naftiko capability covering one Nginx business surface.' tags: - Nginx - Connections created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: NGINX_API_KEY: NGINX_API_KEY capability: consumes: - type: http namespace: plus-http-connections baseUri: '' description: NGINX Plus REST API — Connections business capability. Self-contained, no shared references. resources: - name: connections path: /connections operations: - name: getconnections method: GET description: NGINX Return Client Connections Statistics outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: fields in: query type: string description: Limits which fields of the connections statistics will be output. - name: deleteconnections method: DELETE description: NGINX Reset Client Connections Statistics outputRawFormat: json outputParameters: - name: result type: object value: $. exposes: - type: rest namespace: plus-http-connections-rest port: 8080 description: REST adapter for NGINX Plus REST API — Connections. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/connections name: connections description: REST surface for connections. operations: - method: GET name: getconnections description: NGINX Return Client Connections Statistics call: plus-http-connections.getconnections with: fields: rest.fields outputParameters: - type: object mapping: $. - method: DELETE name: deleteconnections description: NGINX Reset Client Connections Statistics call: plus-http-connections.deleteconnections outputParameters: - type: object mapping: $. - type: mcp namespace: plus-http-connections-mcp port: 9090 transport: http description: MCP adapter for NGINX Plus REST API — Connections. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: nginx-return-client-connections-statistics description: NGINX Return Client Connections Statistics hints: readOnly: true destructive: false idempotent: true call: plus-http-connections.getconnections with: fields: tools.fields outputParameters: - type: object mapping: $. - name: nginx-reset-client-connections-statistics description: NGINX Reset Client Connections Statistics hints: readOnly: false destructive: true idempotent: true call: plus-http-connections.deleteconnections outputParameters: - type: object mapping: $.