Microcks · Capability

Microcks API v1.14 — config

Microcks API v1.14 — config. 9 operations. Lead operation: Get features configuration. Self-contained Naftiko capability covering one Microcks business surface.

Run with Naftiko Microcksconfig

What You Can Do

GET
Getfeaturesconfig — Get features configuration
/v1/features/config
GET
Getkeycloakconfig — Get authentification configuration
/v1/keycloak/config
GET
Getsecrets — Get Secrets
/v1/secrets
POST
Createsecret — Create a new Secret
/v1/secrets
GET
Getsecretscounter — Get the Secrets counter
/v1/secrets/count
GET
Searchsecrets — Search for Secrets
/v1/secrets/search
GET
Getsecret — Get Secret
/v1/secrets/{id}
PUT
Updatesecret — Update Secret
/v1/secrets/{id}
DELETE
Deletesecret — Delete Secret
/v1/secrets/{id}

MCP Tools

get-features-configuration

Get features configuration

read-only idempotent
get-authentification-configuration

Get authentification configuration

read-only idempotent
get-secrets

Get Secrets

read-only idempotent
create-new-secret

Create a new Secret

get-secrets-counter

Get the Secrets counter

read-only idempotent
search-secrets

Search for Secrets

read-only idempotent
get-secret

Get Secret

read-only idempotent
update-secret

Update Secret

idempotent
delete-secret

Delete Secret

idempotent

Capability Spec

microcks-config.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microcks API v1.14 — config
  description: 'Microcks API v1.14 — config. 9 operations. Lead operation: Get features configuration. Self-contained Naftiko
    capability covering one Microcks business surface.'
  tags:
  - Microcks
  - config
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MICROCKS_API_KEY: MICROCKS_API_KEY
capability:
  consumes:
  - type: http
    namespace: microcks-config
    baseUri: http://microcks.example.com/api
    description: Microcks API v1.14 — config business capability. Self-contained, no shared references.
    resources:
    - name: features-config
      path: /features/config
      operations:
      - name: getfeaturesconfig
        method: GET
        description: Get features configuration
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: keycloak-config
      path: /keycloak/config
      operations:
      - name: getkeycloakconfig
        method: GET
        description: Get authentification configuration
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: secrets
      path: /secrets
      operations:
      - name: getsecrets
        method: GET
        description: Get Secrets
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: page
          in: query
          type: integer
          description: Page of Secrets to retrieve (starts at and defaults to 0)
        - name: size
          in: query
          type: integer
          description: Size of a page. Maximum number of Secrets to include in a response (defaults to 20)
      - name: createsecret
        method: POST
        description: Create a new Secret
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: secrets-count
      path: /secrets/count
      operations:
      - name: getsecretscounter
        method: GET
        description: Get the Secrets counter
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: secrets-search
      path: /secrets/search
      operations:
      - name: searchsecrets
        method: GET
        description: Search for Secrets
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: name
          in: query
          type: string
          description: Search using this name-like criterion
          required: true
    - name: secrets-id
      path: /secrets/{id}
      operations:
      - name: getsecret
        method: GET
        description: Get Secret
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updatesecret
        method: PUT
        description: Update Secret
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deletesecret
        method: DELETE
        description: Delete Secret
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.MICROCKS_API_KEY}}'
  exposes:
  - type: rest
    namespace: microcks-config-rest
    port: 8080
    description: REST adapter for Microcks API v1.14 — config. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/features/config
      name: features-config
      description: REST surface for features-config.
      operations:
      - method: GET
        name: getfeaturesconfig
        description: Get features configuration
        call: microcks-config.getfeaturesconfig
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/keycloak/config
      name: keycloak-config
      description: REST surface for keycloak-config.
      operations:
      - method: GET
        name: getkeycloakconfig
        description: Get authentification configuration
        call: microcks-config.getkeycloakconfig
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/secrets
      name: secrets
      description: REST surface for secrets.
      operations:
      - method: GET
        name: getsecrets
        description: Get Secrets
        call: microcks-config.getsecrets
        with:
          page: rest.page
          size: rest.size
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createsecret
        description: Create a new Secret
        call: microcks-config.createsecret
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/secrets/count
      name: secrets-count
      description: REST surface for secrets-count.
      operations:
      - method: GET
        name: getsecretscounter
        description: Get the Secrets counter
        call: microcks-config.getsecretscounter
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/secrets/search
      name: secrets-search
      description: REST surface for secrets-search.
      operations:
      - method: GET
        name: searchsecrets
        description: Search for Secrets
        call: microcks-config.searchsecrets
        with:
          name: rest.name
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/secrets/{id}
      name: secrets-id
      description: REST surface for secrets-id.
      operations:
      - method: GET
        name: getsecret
        description: Get Secret
        call: microcks-config.getsecret
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updatesecret
        description: Update Secret
        call: microcks-config.updatesecret
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletesecret
        description: Delete Secret
        call: microcks-config.deletesecret
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: microcks-config-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microcks API v1.14 — config. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: get-features-configuration
      description: Get features configuration
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: microcks-config.getfeaturesconfig
      outputParameters:
      - type: object
        mapping: $.
    - name: get-authentification-configuration
      description: Get authentification configuration
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: microcks-config.getkeycloakconfig
      outputParameters:
      - type: object
        mapping: $.
    - name: get-secrets
      description: Get Secrets
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: microcks-config.getsecrets
      with:
        page: tools.page
        size: tools.size
      outputParameters:
      - type: object
        mapping: $.
    - name: create-new-secret
      description: Create a new Secret
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: microcks-config.createsecret
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-secrets-counter
      description: Get the Secrets counter
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: microcks-config.getsecretscounter
      outputParameters:
      - type: object
        mapping: $.
    - name: search-secrets
      description: Search for Secrets
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: microcks-config.searchsecrets
      with:
        name: tools.name
      outputParameters:
      - type: object
        mapping: $.
    - name: get-secret
      description: Get Secret
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: microcks-config.getsecret
      outputParameters:
      - type: object
        mapping: $.
    - name: update-secret
      description: Update Secret
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: microcks-config.updatesecret
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-secret
      description: Delete Secret
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: microcks-config.deletesecret
      outputParameters:
      - type: object
        mapping: $.