Squid · Capability

Squid Cache Manager API — Configuration

Squid Cache Manager API — Configuration. 2 operations. Lead operation: Get ACL List. Self-contained Naftiko capability covering one Squid business surface.

Run with Naftiko SquidConfiguration

What You Can Do

GET
Getacllist — Get ACL List
/v1/acl-list
GET
Getcacheconfig — Get Cache Configuration
/v1/config

MCP Tools

get-acl-list

Get ACL List

read-only idempotent
get-cache-configuration

Get Cache Configuration

read-only idempotent

Capability Spec

cache-manager-configuration.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Squid Cache Manager API — Configuration
  description: 'Squid Cache Manager API — Configuration. 2 operations. Lead operation: Get ACL List. Self-contained Naftiko
    capability covering one Squid business surface.'
  tags:
  - Squid
  - Configuration
  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-configuration
    baseUri: http://localhost:3128/squid-internal-mgr
    description: Squid Cache Manager API — Configuration business capability. Self-contained, no shared references.
    resources:
    - name: acl_list
      path: /acl_list
      operations:
      - name: getacllist
        method: GET
        description: Get ACL List
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: config
      path: /config
      operations:
      - name: getcacheconfig
        method: GET
        description: Get Cache Configuration
        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-configuration-rest
    port: 8080
    description: REST adapter for Squid Cache Manager API — Configuration. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/acl-list
      name: acl-list
      description: REST surface for acl_list.
      operations:
      - method: GET
        name: getacllist
        description: Get ACL List
        call: cache-manager-configuration.getacllist
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/config
      name: config
      description: REST surface for config.
      operations:
      - method: GET
        name: getcacheconfig
        description: Get Cache Configuration
        call: cache-manager-configuration.getcacheconfig
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: cache-manager-configuration-mcp
    port: 9090
    transport: http
    description: MCP adapter for Squid Cache Manager API — Configuration. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: get-acl-list
      description: Get ACL List
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cache-manager-configuration.getacllist
      outputParameters:
      - type: object
        mapping: $.
    - name: get-cache-configuration
      description: Get Cache Configuration
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cache-manager-configuration.getcacheconfig
      outputParameters:
      - type: object
        mapping: $.