Lemon Squeezy · Capability

Lemon Squeezy API — Subscription

Lemon Squeezy API — Subscription. 6 operations. Lead operation: Lemon Squeezy List all subscription invoices. Self-contained Naftiko capability covering one Lemon Squeezy business surface.

Run with Naftiko Lemon SqueezySubscription

What You Can Do

GET
Get — Lemon Squeezy List all subscription invoices
/v1/v1/subscription-invoices
GET
Get — Lemon Squeezy Retrieve a subscription invoice
/v1/v1/subscription-invoices/1
GET
Get — Lemon Squeezy List all subscription items
/v1/v1/subscription-items
GET
Get — Lemon Squeezy Retrieve a subscription item
/v1/v1/subscription-items/1
PATCH
Patch — Lemon Squeezy Update a subscription item
/v1/v1/subscription-items/1
GET
Get — Lemon Squeezy Retrieve a subscription items current usage
/v1/v1/subscription-items/1/current-usage

MCP Tools

lemon-squeezy-list-all-subscription

Lemon Squeezy List all subscription invoices

read-only idempotent
lemon-squeezy-retrieve-subscription-invoice

Lemon Squeezy Retrieve a subscription invoice

read-only idempotent
lemon-squeezy-list-all-subscription-2

Lemon Squeezy List all subscription items

read-only idempotent
lemon-squeezy-retrieve-subscription-item

Lemon Squeezy Retrieve a subscription item

read-only idempotent
lemon-squeezy-update-subscription-item

Lemon Squeezy Update a subscription item

idempotent
lemon-squeezy-retrieve-subscription-items

Lemon Squeezy Retrieve a subscription items current usage

read-only idempotent

Capability Spec

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