Lemon Squeezy · Capability

Lemon Squeezy API — Subscriptions

Lemon Squeezy API — Subscriptions. 4 operations. Lead operation: Lemon Squeezy List all subscriptions. Self-contained Naftiko capability covering one Lemon Squeezy business surface.

Run with Naftiko Lemon SqueezySubscriptions

What You Can Do

GET
Get — Lemon Squeezy List all subscriptions
/v1/v1/subscriptions
GET
Get — Lemon Squeezy Retrieve a subscription
/v1/v1/subscriptions/1
PATCH
Patch — Lemon Squeezy Update a subscription
/v1/v1/subscriptions/1
DELETE
Delete — Lemon Squeezy Cancel a Subscription
/v1/v1/subscriptions/1

MCP Tools

lemon-squeezy-list-all-subscriptions

Lemon Squeezy List all subscriptions

read-only idempotent
lemon-squeezy-retrieve-subscription

Lemon Squeezy Retrieve a subscription

read-only idempotent
lemon-squeezy-update-subscription

Lemon Squeezy Update a subscription

idempotent
lemon-squeezy-cancel-subscription

Lemon Squeezy Cancel a Subscription

idempotent

Capability Spec

lemon-squeezy-subscriptions.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Lemon Squeezy API — Subscriptions
  description: 'Lemon Squeezy API — Subscriptions. 4 operations. Lead operation: Lemon Squeezy List all subscriptions. Self-contained
    Naftiko capability covering one Lemon Squeezy business surface.'
  tags:
  - Lemon Squeezy
  - Subscriptions
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    LEMON_SQUEEZY_API_KEY: LEMON_SQUEEZY_API_KEY
capability:
  consumes:
  - type: http
    namespace: lemon-squeezy-subscriptions
    baseUri: https://api.lemonsqueezy.com
    description: Lemon Squeezy API — Subscriptions business capability. Self-contained, no shared references.
    resources:
    - name: v1-subscriptions
      path: /v1/subscriptions
      operations:
      - name: get
        method: GET
        description: Lemon Squeezy List all subscriptions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v1-subscriptions-1
      path: /v1/subscriptions/1
      operations:
      - name: get
        method: GET
        description: Lemon Squeezy Retrieve a subscription
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: patch
        method: PATCH
        description: Lemon Squeezy Update a subscription
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: delete
        method: DELETE
        description: Lemon Squeezy Cancel a Subscription
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.LEMON_SQUEEZY_API_KEY}}'
  exposes:
  - type: rest
    namespace: lemon-squeezy-subscriptions-rest
    port: 8080
    description: REST adapter for Lemon Squeezy API — Subscriptions. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/v1/subscriptions
      name: v1-subscriptions
      description: REST surface for v1-subscriptions.
      operations:
      - method: GET
        name: get
        description: Lemon Squeezy List all subscriptions
        call: lemon-squeezy-subscriptions.get
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/subscriptions/1
      name: v1-subscriptions-1
      description: REST surface for v1-subscriptions-1.
      operations:
      - method: GET
        name: get
        description: Lemon Squeezy Retrieve a subscription
        call: lemon-squeezy-subscriptions.get
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: patch
        description: Lemon Squeezy Update a subscription
        call: lemon-squeezy-subscriptions.patch
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: delete
        description: Lemon Squeezy Cancel a Subscription
        call: lemon-squeezy-subscriptions.delete
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: lemon-squeezy-subscriptions-mcp
    port: 9090
    transport: http
    description: MCP adapter for Lemon Squeezy API — Subscriptions. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: lemon-squeezy-list-all-subscriptions
      description: Lemon Squeezy List all subscriptions
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: lemon-squeezy-subscriptions.get
      outputParameters:
      - type: object
        mapping: $.
    - name: lemon-squeezy-retrieve-subscription
      description: Lemon Squeezy Retrieve a subscription
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: lemon-squeezy-subscriptions.get
      outputParameters:
      - type: object
        mapping: $.
    - name: lemon-squeezy-update-subscription
      description: Lemon Squeezy Update a subscription
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: lemon-squeezy-subscriptions.patch
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: lemon-squeezy-cancel-subscription
      description: Lemon Squeezy Cancel a Subscription
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: lemon-squeezy-subscriptions.delete
      outputParameters:
      - type: object
        mapping: $.