Fortify · Capability

Fortify on Demand API — Microservices

Fortify on Demand API — Microservices. 2 operations. Lead operation: Fortify List application microservices. Self-contained Naftiko capability covering one Fortify business surface.

Run with Naftiko FortifyMicroservices

What You Can Do

GET
Listapplicationmicroservices — Fortify List application microservices
/v1/api/v3/applications/{applicationid}/microservices
POST
Createapplicationmicroservice — Fortify Create application microservice
/v1/api/v3/applications/{applicationid}/microservices

MCP Tools

fortify-list-application-microservices

Fortify List application microservices

read-only idempotent
fortify-create-application-microservice

Fortify Create application microservice

Capability Spec

on-demand-microservices.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Fortify on Demand API — Microservices
  description: 'Fortify on Demand API — Microservices. 2 operations. Lead operation: Fortify List application microservices.
    Self-contained Naftiko capability covering one Fortify business surface.'
  tags:
  - Fortify
  - Microservices
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    FORTIFY_API_KEY: FORTIFY_API_KEY
capability:
  consumes:
  - type: http
    namespace: on-demand-microservices
    baseUri: https://api.ams.fortify.com
    description: Fortify on Demand API — Microservices business capability. Self-contained, no shared references.
    resources:
    - name: api-v3-applications-applicationId-microservices
      path: /api/v3/applications/{applicationId}/microservices
      operations:
      - name: listapplicationmicroservices
        method: GET
        description: Fortify List application microservices
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: includeReleases
          in: query
          type: boolean
          description: Whether to include release information for each microservice
      - name: createapplicationmicroservice
        method: POST
        description: Fortify Create application microservice
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.FORTIFY_API_KEY}}'
  exposes:
  - type: rest
    namespace: on-demand-microservices-rest
    port: 8080
    description: REST adapter for Fortify on Demand API — Microservices. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/api/v3/applications/{applicationid}/microservices
      name: api-v3-applications-applicationid-microservices
      description: REST surface for api-v3-applications-applicationId-microservices.
      operations:
      - method: GET
        name: listapplicationmicroservices
        description: Fortify List application microservices
        call: on-demand-microservices.listapplicationmicroservices
        with:
          includeReleases: rest.includeReleases
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createapplicationmicroservice
        description: Fortify Create application microservice
        call: on-demand-microservices.createapplicationmicroservice
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: on-demand-microservices-mcp
    port: 9090
    transport: http
    description: MCP adapter for Fortify on Demand API — Microservices. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: fortify-list-application-microservices
      description: Fortify List application microservices
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: on-demand-microservices.listapplicationmicroservices
      with:
        includeReleases: tools.includeReleases
      outputParameters:
      - type: object
        mapping: $.
    - name: fortify-create-application-microservice
      description: Fortify Create application microservice
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: on-demand-microservices.createapplicationmicroservice
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.