Spring Boot 3 · Capability

Spring Boot 3 Actuator API — Environment

Spring Boot 3 Actuator API — Environment. 2 operations. Lead operation: Get Environment Properties. Self-contained Naftiko capability covering one Spring Boot 3 business surface.

Run with Naftiko Spring Boot 3Environment

What You Can Do

GET
Getenvironment — Get Environment Properties
/v1/env
GET
Getenvironmentproperty — Get Environment Property
/v1/env/{tomatch}

MCP Tools

get-environment-properties

Get Environment Properties

read-only idempotent
get-environment-property

Get Environment Property

read-only idempotent

Capability Spec

actuator-environment.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Spring Boot 3 Actuator API — Environment
  description: 'Spring Boot 3 Actuator API — Environment. 2 operations. Lead operation: Get Environment Properties. Self-contained
    Naftiko capability covering one Spring Boot 3 business surface.'
  tags:
  - Spring Boot 3
  - Environment
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SPRING_BOOT_3_API_KEY: SPRING_BOOT_3_API_KEY
capability:
  consumes:
  - type: http
    namespace: actuator-environment
    baseUri: http://localhost:8080/actuator
    description: Spring Boot 3 Actuator API — Environment business capability. Self-contained, no shared references.
    resources:
    - name: env
      path: /env
      operations:
      - name: getenvironment
        method: GET
        description: Get Environment Properties
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: env-toMatch
      path: /env/{toMatch}
      operations:
      - name: getenvironmentproperty
        method: GET
        description: Get Environment Property
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: toMatch
          in: path
          type: string
          description: Property key to look up (e.g., spring.application.name)
          required: true
  exposes:
  - type: rest
    namespace: actuator-environment-rest
    port: 8080
    description: REST adapter for Spring Boot 3 Actuator API — Environment. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/env
      name: env
      description: REST surface for env.
      operations:
      - method: GET
        name: getenvironment
        description: Get Environment Properties
        call: actuator-environment.getenvironment
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/env/{tomatch}
      name: env-tomatch
      description: REST surface for env-toMatch.
      operations:
      - method: GET
        name: getenvironmentproperty
        description: Get Environment Property
        call: actuator-environment.getenvironmentproperty
        with:
          toMatch: rest.toMatch
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: actuator-environment-mcp
    port: 9090
    transport: http
    description: MCP adapter for Spring Boot 3 Actuator API — Environment. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: get-environment-properties
      description: Get Environment Properties
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: actuator-environment.getenvironment
      outputParameters:
      - type: object
        mapping: $.
    - name: get-environment-property
      description: Get Environment Property
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: actuator-environment.getenvironmentproperty
      with:
        toMatch: tools.toMatch
      outputParameters:
      - type: object
        mapping: $.