JFrog · Capability

JFrog Xray REST API — Summary

JFrog Xray REST API — Summary. 2 operations. Lead operation: JFrog Get Artifact Summary. Self-contained Naftiko capability covering one Jfrog business surface.

Run with Naftiko JfrogSummary

What You Can Do

POST
Getartifactsummary — JFrog Get Artifact Summary
/v1/v1/summary/artifact
POST
Getbuildsummary — JFrog Get Build Summary
/v1/v1/summary/build

MCP Tools

jfrog-get-artifact-summary

JFrog Get Artifact Summary

read-only
jfrog-get-build-summary

JFrog Get Build Summary

read-only

Capability Spec

xray-summary.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: JFrog Xray REST API — Summary
  description: 'JFrog Xray REST API — Summary. 2 operations. Lead operation: JFrog Get Artifact Summary. Self-contained Naftiko
    capability covering one Jfrog business surface.'
  tags:
  - Jfrog
  - Summary
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    JFROG_API_KEY: JFROG_API_KEY
capability:
  consumes:
  - type: http
    namespace: xray-summary
    baseUri: https://{server}.jfrog.io/xray/api
    description: JFrog Xray REST API — Summary business capability. Self-contained, no shared references.
    resources:
    - name: v1-summary-artifact
      path: /v1/summary/artifact
      operations:
      - name: getartifactsummary
        method: POST
        description: JFrog Get Artifact Summary
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v1-summary-build
      path: /v1/summary/build
      operations:
      - name: getbuildsummary
        method: POST
        description: JFrog Get Build Summary
        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.JFROG_API_KEY}}'
  exposes:
  - type: rest
    namespace: xray-summary-rest
    port: 8080
    description: REST adapter for JFrog Xray REST API — Summary. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/v1/summary/artifact
      name: v1-summary-artifact
      description: REST surface for v1-summary-artifact.
      operations:
      - method: POST
        name: getartifactsummary
        description: JFrog Get Artifact Summary
        call: xray-summary.getartifactsummary
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/summary/build
      name: v1-summary-build
      description: REST surface for v1-summary-build.
      operations:
      - method: POST
        name: getbuildsummary
        description: JFrog Get Build Summary
        call: xray-summary.getbuildsummary
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: xray-summary-mcp
    port: 9090
    transport: http
    description: MCP adapter for JFrog Xray REST API — Summary. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: jfrog-get-artifact-summary
      description: JFrog Get Artifact Summary
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: xray-summary.getartifactsummary
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: jfrog-get-build-summary
      description: JFrog Get Build Summary
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: xray-summary.getbuildsummary
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.