JFrog · Capability

JFrog Platform REST API — Permissions

JFrog Platform REST API — Permissions. 5 operations. Lead operation: JFrog List Permissions. Self-contained Naftiko capability covering one Jfrog business surface.

Run with Naftiko JfrogPermissions

What You Can Do

GET
Listpermissions — JFrog List Permissions
/v1/access/api/v2/permissions
POST
Createpermission — JFrog Create Permission
/v1/access/api/v2/permissions
GET
Getpermission — JFrog Get Permission
/v1/access/api/v2/permissions/{permissionname}
PUT
Updatepermission — JFrog Update Permission
/v1/access/api/v2/permissions/{permissionname}
DELETE
Deletepermission — JFrog Delete Permission
/v1/access/api/v2/permissions/{permissionname}

MCP Tools

jfrog-list-permissions

JFrog List Permissions

read-only idempotent
jfrog-create-permission

JFrog Create Permission

jfrog-get-permission

JFrog Get Permission

read-only idempotent
jfrog-update-permission

JFrog Update Permission

idempotent
jfrog-delete-permission

JFrog Delete Permission

idempotent

Capability Spec

platform-permissions.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: JFrog Platform REST API — Permissions
  description: 'JFrog Platform REST API — Permissions. 5 operations. Lead operation: JFrog List Permissions. Self-contained
    Naftiko capability covering one Jfrog business surface.'
  tags:
  - Jfrog
  - Permissions
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    JFROG_API_KEY: JFROG_API_KEY
capability:
  consumes:
  - type: http
    namespace: platform-permissions
    baseUri: https://{server}.jfrog.io
    description: JFrog Platform REST API — Permissions business capability. Self-contained, no shared references.
    resources:
    - name: access-api-v2-permissions
      path: /access/api/v2/permissions
      operations:
      - name: listpermissions
        method: GET
        description: JFrog List Permissions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createpermission
        method: POST
        description: JFrog Create Permission
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: access-api-v2-permissions-permissionName
      path: /access/api/v2/permissions/{permissionName}
      operations:
      - name: getpermission
        method: GET
        description: JFrog Get Permission
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: permissionName
          in: path
          type: string
          description: Permission name
          required: true
      - name: updatepermission
        method: PUT
        description: JFrog Update Permission
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: permissionName
          in: path
          type: string
          description: Permission name
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deletepermission
        method: DELETE
        description: JFrog Delete Permission
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: permissionName
          in: path
          type: string
          description: Permission name
          required: true
    authentication:
      type: bearer
      token: '{{env.JFROG_API_KEY}}'
  exposes:
  - type: rest
    namespace: platform-permissions-rest
    port: 8080
    description: REST adapter for JFrog Platform REST API — Permissions. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/access/api/v2/permissions
      name: access-api-v2-permissions
      description: REST surface for access-api-v2-permissions.
      operations:
      - method: GET
        name: listpermissions
        description: JFrog List Permissions
        call: platform-permissions.listpermissions
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createpermission
        description: JFrog Create Permission
        call: platform-permissions.createpermission
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/access/api/v2/permissions/{permissionname}
      name: access-api-v2-permissions-permissionname
      description: REST surface for access-api-v2-permissions-permissionName.
      operations:
      - method: GET
        name: getpermission
        description: JFrog Get Permission
        call: platform-permissions.getpermission
        with:
          permissionName: rest.permissionName
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updatepermission
        description: JFrog Update Permission
        call: platform-permissions.updatepermission
        with:
          permissionName: rest.permissionName
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletepermission
        description: JFrog Delete Permission
        call: platform-permissions.deletepermission
        with:
          permissionName: rest.permissionName
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: platform-permissions-mcp
    port: 9090
    transport: http
    description: MCP adapter for JFrog Platform REST API — Permissions. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: jfrog-list-permissions
      description: JFrog List Permissions
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: platform-permissions.listpermissions
      outputParameters:
      - type: object
        mapping: $.
    - name: jfrog-create-permission
      description: JFrog Create Permission
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: platform-permissions.createpermission
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: jfrog-get-permission
      description: JFrog Get Permission
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: platform-permissions.getpermission
      with:
        permissionName: tools.permissionName
      outputParameters:
      - type: object
        mapping: $.
    - name: jfrog-update-permission
      description: JFrog Update Permission
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: platform-permissions.updatepermission
      with:
        permissionName: tools.permissionName
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: jfrog-delete-permission
      description: JFrog Delete Permission
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: platform-permissions.deletepermission
      with:
        permissionName: tools.permissionName
      outputParameters:
      - type: object
        mapping: $.