Sonatype Nexus · Capability

Sonatype Nexus Repository Manager — Email

Sonatype Nexus Repository Manager — Email. 4 operations. Lead operation: Disable and clear the email configuration. Self-contained Naftiko capability covering one Sonatype Nexus business surface.

Run with Naftiko Sonatype NexusEmail

What You Can Do

DELETE
Deleteemailconfiguration — Disable and clear the email configuration
/v1/v1/email
GET
Getemailconfiguration — Retrieve the current email configuration
/v1/v1/email
PUT
Setemailconfiguration — Set the current email configuration
/v1/v1/email
POST
Testemailconfiguration — Send a test email to the email address provided in the request body
/v1/v1/email/verify

MCP Tools

disable-and-clear-email-configuration

Disable and clear the email configuration

idempotent
retrieve-current-email-configuration

Retrieve the current email configuration

read-only idempotent
set-current-email-configuration

Set the current email configuration

idempotent
send-test-email-email-address

Send a test email to the email address provided in the request body

read-only

Capability Spec

repository-email.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Sonatype Nexus Repository Manager — Email
  description: 'Sonatype Nexus Repository Manager — Email. 4 operations. Lead operation: Disable and clear the email configuration.
    Self-contained Naftiko capability covering one Sonatype Nexus business surface.'
  tags:
  - Sonatype Nexus
  - Email
  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-email
    baseUri: ''
    description: Sonatype Nexus Repository Manager — Email business capability. Self-contained, no shared references.
    resources:
    - name: v1-email
      path: /v1/email
      operations:
      - name: deleteemailconfiguration
        method: DELETE
        description: Disable and clear the email configuration
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: getemailconfiguration
        method: GET
        description: Retrieve the current email configuration
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: setemailconfiguration
        method: PUT
        description: Set the current email configuration
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v1-email-verify
      path: /v1/email/verify
      operations:
      - name: testemailconfiguration
        method: POST
        description: Send a test email to the email address provided in the request body
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: basic
      username: '{{env.SONATYPE_NEXUS_USER}}'
      password: '{{env.SONATYPE_NEXUS_PASS}}'
  exposes:
  - type: rest
    namespace: repository-email-rest
    port: 8080
    description: REST adapter for Sonatype Nexus Repository Manager — Email. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/v1/email
      name: v1-email
      description: REST surface for v1-email.
      operations:
      - method: DELETE
        name: deleteemailconfiguration
        description: Disable and clear the email configuration
        call: repository-email.deleteemailconfiguration
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: getemailconfiguration
        description: Retrieve the current email configuration
        call: repository-email.getemailconfiguration
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: setemailconfiguration
        description: Set the current email configuration
        call: repository-email.setemailconfiguration
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/email/verify
      name: v1-email-verify
      description: REST surface for v1-email-verify.
      operations:
      - method: POST
        name: testemailconfiguration
        description: Send a test email to the email address provided in the request body
        call: repository-email.testemailconfiguration
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: repository-email-mcp
    port: 9090
    transport: http
    description: MCP adapter for Sonatype Nexus Repository Manager — Email. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: disable-and-clear-email-configuration
      description: Disable and clear the email configuration
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: repository-email.deleteemailconfiguration
      outputParameters:
      - type: object
        mapping: $.
    - name: retrieve-current-email-configuration
      description: Retrieve the current email configuration
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: repository-email.getemailconfiguration
      outputParameters:
      - type: object
        mapping: $.
    - name: set-current-email-configuration
      description: Set the current email configuration
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: repository-email.setemailconfiguration
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: send-test-email-email-address
      description: Send a test email to the email address provided in the request body
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: repository-email.testemailconfiguration
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.