IBM WebSphere · Capability

Open Liberty APIs — Config

Open Liberty APIs — Config. 2 operations. Lead operation: Get Server Configuration. Self-contained Naftiko capability covering one Websphere business surface.

Run with Naftiko WebsphereConfig

What You Can Do

GET
Getserverconfig — Get Server Configuration
/v1/ibm/api/config
GET
Getconfigelement — Get Configuration Element
/v1/ibm/api/config/{elementname}

MCP Tools

get-server-configuration

Get Server Configuration

read-only idempotent
get-configuration-element

Get Configuration Element

read-only idempotent

Capability Spec

open-liberty-apis-config.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Open Liberty APIs — Config
  description: 'Open Liberty APIs — Config. 2 operations. Lead operation: Get Server Configuration. Self-contained Naftiko
    capability covering one Websphere business surface.'
  tags:
  - Websphere
  - Config
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    WEBSPHERE_API_KEY: WEBSPHERE_API_KEY
capability:
  consumes:
  - type: http
    namespace: open-liberty-apis-config
    baseUri: https://localhost:9443
    description: Open Liberty APIs — Config business capability. Self-contained, no shared references.
    resources:
    - name: ibm-api-config
      path: /ibm/api/config
      operations:
      - name: getserverconfig
        method: GET
        description: Get Server Configuration
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: ibm-api-config-elementName
      path: /ibm/api/config/{elementName}
      operations:
      - name: getconfigelement
        method: GET
        description: Get Configuration Element
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: elementName
          in: path
          type: string
          description: Configuration element name
          required: true
    authentication:
      type: bearer
      token: '{{env.WEBSPHERE_API_KEY}}'
  exposes:
  - type: rest
    namespace: open-liberty-apis-config-rest
    port: 8080
    description: REST adapter for Open Liberty APIs — Config. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/ibm/api/config
      name: ibm-api-config
      description: REST surface for ibm-api-config.
      operations:
      - method: GET
        name: getserverconfig
        description: Get Server Configuration
        call: open-liberty-apis-config.getserverconfig
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/ibm/api/config/{elementname}
      name: ibm-api-config-elementname
      description: REST surface for ibm-api-config-elementName.
      operations:
      - method: GET
        name: getconfigelement
        description: Get Configuration Element
        call: open-liberty-apis-config.getconfigelement
        with:
          elementName: rest.elementName
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: open-liberty-apis-config-mcp
    port: 9090
    transport: http
    description: MCP adapter for Open Liberty APIs — Config. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: get-server-configuration
      description: Get Server Configuration
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: open-liberty-apis-config.getserverconfig
      outputParameters:
      - type: object
        mapping: $.
    - name: get-configuration-element
      description: Get Configuration Element
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: open-liberty-apis-config.getconfigelement
      with:
        elementName: tools.elementName
      outputParameters:
      - type: object
        mapping: $.