fastly · Capability

Fastly Compute API — Config Store

Fastly Compute API — Config Store. 5 operations. Lead operation: List config stores. Self-contained Naftiko capability covering one Fastly business surface.

Run with Naftiko FastlyConfig Store

What You Can Do

GET
Listconfigstores — List config stores
/v1/resources/stores/config
POST
Createconfigstore — Create a config store
/v1/resources/stores/config
GET
Getconfigstore — Get a config store
/v1/resources/stores/config/{config-store-id}
PUT
Updateconfigstore — Update a config store
/v1/resources/stores/config/{config-store-id}
DELETE
Deleteconfigstore — Delete a config store
/v1/resources/stores/config/{config-store-id}

MCP Tools

list-config-stores

List config stores

read-only idempotent
create-config-store

Create a config store

get-config-store

Get a config store

read-only idempotent
update-config-store

Update a config store

idempotent
delete-config-store

Delete a config store

idempotent

Capability Spec

compute-config-store.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Fastly Compute API — Config Store
  description: 'Fastly Compute API — Config Store. 5 operations. Lead operation: List config stores. Self-contained Naftiko
    capability covering one Fastly business surface.'
  tags:
  - Fastly
  - Config Store
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    FASTLY_API_KEY: FASTLY_API_KEY
capability:
  consumes:
  - type: http
    namespace: compute-config-store
    baseUri: https://api.fastly.com
    description: Fastly Compute API — Config Store business capability. Self-contained, no shared references.
    resources:
    - name: resources-stores-config
      path: /resources/stores/config
      operations:
      - name: listconfigstores
        method: GET
        description: List config stores
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createconfigstore
        method: POST
        description: Create a config store
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: resources-stores-config-config_store_id
      path: /resources/stores/config/{config_store_id}
      operations:
      - name: getconfigstore
        method: GET
        description: Get a config store
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: config_store_id
          in: path
          type: string
          description: The alphanumeric string identifying the config store.
          required: true
      - name: updateconfigstore
        method: PUT
        description: Update a config store
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: config_store_id
          in: path
          type: string
          description: The alphanumeric string identifying the config store.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: deleteconfigstore
        method: DELETE
        description: Delete a config store
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: config_store_id
          in: path
          type: string
          description: The alphanumeric string identifying the config store.
          required: true
    authentication:
      type: apikey
      key: Fastly-Key
      value: '{{env.FASTLY_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: compute-config-store-rest
    port: 8080
    description: REST adapter for Fastly Compute API — Config Store. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/resources/stores/config
      name: resources-stores-config
      description: REST surface for resources-stores-config.
      operations:
      - method: GET
        name: listconfigstores
        description: List config stores
        call: compute-config-store.listconfigstores
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createconfigstore
        description: Create a config store
        call: compute-config-store.createconfigstore
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/resources/stores/config/{config-store-id}
      name: resources-stores-config-config-store-id
      description: REST surface for resources-stores-config-config_store_id.
      operations:
      - method: GET
        name: getconfigstore
        description: Get a config store
        call: compute-config-store.getconfigstore
        with:
          config_store_id: rest.config_store_id
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updateconfigstore
        description: Update a config store
        call: compute-config-store.updateconfigstore
        with:
          config_store_id: rest.config_store_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteconfigstore
        description: Delete a config store
        call: compute-config-store.deleteconfigstore
        with:
          config_store_id: rest.config_store_id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: compute-config-store-mcp
    port: 9090
    transport: http
    description: MCP adapter for Fastly Compute API — Config Store. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: list-config-stores
      description: List config stores
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: compute-config-store.listconfigstores
      outputParameters:
      - type: object
        mapping: $.
    - name: create-config-store
      description: Create a config store
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: compute-config-store.createconfigstore
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-config-store
      description: Get a config store
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: compute-config-store.getconfigstore
      with:
        config_store_id: tools.config_store_id
      outputParameters:
      - type: object
        mapping: $.
    - name: update-config-store
      description: Update a config store
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: compute-config-store.updateconfigstore
      with:
        config_store_id: tools.config_store_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-config-store
      description: Delete a config store
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: compute-config-store.deleteconfigstore
      with:
        config_store_id: tools.config_store_id
      outputParameters:
      - type: object
        mapping: $.