Sonatype Nexus · Capability

Sonatype Nexus Repository Manager — Recovery Mode

Sonatype Nexus Repository Manager — Recovery Mode. 2 operations. Lead operation: Disables recovery mode. Self-contained Naftiko capability covering one Sonatype Nexus business surface.

Run with Naftiko Sonatype NexusRecovery Mode

What You Can Do

DELETE
Disablerecoverymode — Disables recovery mode
/v1/v1/recovery-mode
POST
Enablerecoverymode — Enables recovery mode and cancels conflicting tasks if running
/v1/v1/recovery-mode

MCP Tools

disables-recovery-mode

Disables recovery mode

idempotent
enables-recovery-mode-and-cancels

Enables recovery mode and cancels conflicting tasks if running

Capability Spec

repository-recovery-mode.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Sonatype Nexus Repository Manager — Recovery Mode
  description: 'Sonatype Nexus Repository Manager — Recovery Mode. 2 operations. Lead operation: Disables recovery mode. Self-contained
    Naftiko capability covering one Sonatype Nexus business surface.'
  tags:
  - Sonatype Nexus
  - Recovery Mode
  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-recovery-mode
    baseUri: ''
    description: Sonatype Nexus Repository Manager — Recovery Mode business capability. Self-contained, no shared references.
    resources:
    - name: v1-recovery-mode
      path: /v1/recovery-mode
      operations:
      - name: disablerecoverymode
        method: DELETE
        description: Disables recovery mode
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: enablerecoverymode
        method: POST
        description: Enables recovery mode and cancels conflicting tasks if running
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: basic
      username: '{{env.SONATYPE_NEXUS_USER}}'
      password: '{{env.SONATYPE_NEXUS_PASS}}'
  exposes:
  - type: rest
    namespace: repository-recovery-mode-rest
    port: 8080
    description: REST adapter for Sonatype Nexus Repository Manager — Recovery Mode. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/v1/recovery-mode
      name: v1-recovery-mode
      description: REST surface for v1-recovery-mode.
      operations:
      - method: DELETE
        name: disablerecoverymode
        description: Disables recovery mode
        call: repository-recovery-mode.disablerecoverymode
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: enablerecoverymode
        description: Enables recovery mode and cancels conflicting tasks if running
        call: repository-recovery-mode.enablerecoverymode
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: repository-recovery-mode-mcp
    port: 9090
    transport: http
    description: MCP adapter for Sonatype Nexus Repository Manager — Recovery Mode. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: disables-recovery-mode
      description: Disables recovery mode
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: repository-recovery-mode.disablerecoverymode
      outputParameters:
      - type: object
        mapping: $.
    - name: enables-recovery-mode-and-cancels
      description: Enables recovery mode and cancels conflicting tasks if running
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: repository-recovery-mode.enablerecoverymode
      outputParameters:
      - type: object
        mapping: $.