naftiko: 1.0.0-alpha2 info: label: Squid Cache Manager API — Connections description: 'Squid Cache Manager API — Connections. 2 operations. Lead operation: Get Active Requests. Self-contained Naftiko capability covering one Squid business surface.' tags: - Squid - Connections created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SQUID_API_KEY: SQUID_API_KEY capability: consumes: - type: http namespace: cache-manager-connections baseUri: http://localhost:3128/squid-internal-mgr description: Squid Cache Manager API — Connections business capability. Self-contained, no shared references. resources: - name: active_requests path: /active_requests operations: - name: getactiverequests method: GET description: Get Active Requests outputRawFormat: json outputParameters: - name: result type: object value: $. - name: connections path: /connections operations: - name: getconnections method: GET description: Get Active Connections outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: basic username: '{{env.SQUID_USER}}' password: '{{env.SQUID_PASS}}' exposes: - type: rest namespace: cache-manager-connections-rest port: 8080 description: REST adapter for Squid Cache Manager API — Connections. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/active-requests name: active-requests description: REST surface for active_requests. operations: - method: GET name: getactiverequests description: Get Active Requests call: cache-manager-connections.getactiverequests outputParameters: - type: object mapping: $. - path: /v1/connections name: connections description: REST surface for connections. operations: - method: GET name: getconnections description: Get Active Connections call: cache-manager-connections.getconnections outputParameters: - type: object mapping: $. - type: mcp namespace: cache-manager-connections-mcp port: 9090 transport: http description: MCP adapter for Squid Cache Manager API — Connections. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-active-requests description: Get Active Requests hints: readOnly: true destructive: false idempotent: true call: cache-manager-connections.getactiverequests outputParameters: - type: object mapping: $. - name: get-active-connections description: Get Active Connections hints: readOnly: true destructive: false idempotent: true call: cache-manager-connections.getconnections outputParameters: - type: object mapping: $.