Sonatype Nexus · Capability

Sonatype Nexus Repository Manager — Data Store

Sonatype Nexus Repository Manager — Data Store. 2 operations. Lead operation: Get the data store. Self-contained Naftiko capability covering one Sonatype Nexus business surface.

Run with Naftiko Sonatype NexusData Store

What You Can Do

GET
Getdatastore — Get the data store
/v1/beta/data-store
PUT
Updatedatastore — Update the data store
/v1/beta/data-store

MCP Tools

get-data-store

Get the data store

read-only idempotent
update-data-store

Update the data store

idempotent

Capability Spec

repository-data-store.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Sonatype Nexus Repository Manager — Data Store
  description: 'Sonatype Nexus Repository Manager — Data Store. 2 operations. Lead operation: Get the data store. Self-contained
    Naftiko capability covering one Sonatype Nexus business surface.'
  tags:
  - Sonatype Nexus
  - Data Store
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SONATYPE_NEXUS_API_KEY: SONATYPE_NEXUS_API_KEY
capability:
  consumes:
  - type: http
    namespace: repository-data-store
    baseUri: ''
    description: Sonatype Nexus Repository Manager — Data Store business capability. Self-contained, no shared references.
    resources:
    - name: beta-data-store
      path: /beta/data-store
      operations:
      - name: getdatastore
        method: GET
        description: Get the data store
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updatedatastore
        method: PUT
        description: Update the data store
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    authentication:
      type: basic
      username: '{{env.SONATYPE_NEXUS_USER}}'
      password: '{{env.SONATYPE_NEXUS_PASS}}'
  exposes:
  - type: rest
    namespace: repository-data-store-rest
    port: 8080
    description: REST adapter for Sonatype Nexus Repository Manager — Data Store. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/beta/data-store
      name: beta-data-store
      description: REST surface for beta-data-store.
      operations:
      - method: GET
        name: getdatastore
        description: Get the data store
        call: repository-data-store.getdatastore
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updatedatastore
        description: Update the data store
        call: repository-data-store.updatedatastore
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: repository-data-store-mcp
    port: 9090
    transport: http
    description: MCP adapter for Sonatype Nexus Repository Manager — Data Store. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: get-data-store
      description: Get the data store
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: repository-data-store.getdatastore
      outputParameters:
      - type: object
        mapping: $.
    - name: update-data-store
      description: Update the data store
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: repository-data-store.updatedatastore
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.