naftiko: 1.0.0-alpha2 info: label: Lemon Squeezy API — Invoices description: 'Lemon Squeezy API — Invoices. 2 operations. Lead operation: Lemon Squeezy List all subscription invoices. Self-contained Naftiko capability covering one Lemon Squeezy business surface.' tags: - Lemon Squeezy - Invoices 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-invoices baseUri: https://api.lemonsqueezy.com description: Lemon Squeezy API — Invoices 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: $. authentication: type: bearer token: '{{env.LEMON_SQUEEZY_API_KEY}}' exposes: - type: rest namespace: lemon-squeezy-invoices-rest port: 8080 description: REST adapter for Lemon Squeezy API — Invoices. 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-invoices.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-invoices.get outputParameters: - type: object mapping: $. - type: mcp namespace: lemon-squeezy-invoices-mcp port: 9090 transport: http description: MCP adapter for Lemon Squeezy API — Invoices. 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-invoices.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-invoices.get outputParameters: - type: object mapping: $.