Sentry · Capability

Sentry Error Monitoring API — Releases

Sentry Error Monitoring API — Releases. 2 operations. Lead operation: List releases for an organization. Self-contained Naftiko capability covering one Sentry business surface.

Run with Naftiko SentryReleases

What You Can Do

GET
Listreleases — List releases for an organization
/v1/organizations/{organization-slug}/releases
POST
Createrelease — Create a release
/v1/organizations/{organization-slug}/releases

MCP Tools

list-releases-organization

List releases for an organization

read-only idempotent
create-release

Create a release

Capability Spec

sentry-releases.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Sentry Error Monitoring API — Releases
  description: 'Sentry Error Monitoring API — Releases. 2 operations. Lead operation: List releases for an organization. Self-contained
    Naftiko capability covering one Sentry business surface.'
  tags:
  - Sentry
  - Releases
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SENTRY_API_KEY: SENTRY_API_KEY
capability:
  consumes:
  - type: http
    namespace: sentry-releases
    baseUri: https://sentry.io/api/0
    description: Sentry Error Monitoring API — Releases business capability. Self-contained, no shared references.
    resources:
    - name: organizations-organization_slug-releases
      path: /organizations/{organization_slug}/releases/
      operations:
      - name: listreleases
        method: GET
        description: List releases for an organization
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: query
          in: query
          type: string
        - name: project
          in: query
          type: integer
        - name: limit
          in: query
          type: integer
      - name: createrelease
        method: POST
        description: Create a release
        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.SENTRY_API_KEY}}'
  exposes:
  - type: rest
    namespace: sentry-releases-rest
    port: 8080
    description: REST adapter for Sentry Error Monitoring API — Releases. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/organizations/{organization-slug}/releases
      name: organizations-organization-slug-releases
      description: REST surface for organizations-organization_slug-releases.
      operations:
      - method: GET
        name: listreleases
        description: List releases for an organization
        call: sentry-releases.listreleases
        with:
          query: rest.query
          project: rest.project
          limit: rest.limit
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createrelease
        description: Create a release
        call: sentry-releases.createrelease
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: sentry-releases-mcp
    port: 9090
    transport: http
    description: MCP adapter for Sentry Error Monitoring API — Releases. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: list-releases-organization
      description: List releases for an organization
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: sentry-releases.listreleases
      with:
        query: tools.query
        project: tools.project
        limit: tools.limit
      outputParameters:
      - type: object
        mapping: $.
    - name: create-release
      description: Create a release
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: sentry-releases.createrelease
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.