Lemon Squeezy

Lemon Squeezy

Read and act on Lemon Squeezy commerce data — orders, subscriptions, customers, products, variants, license keys, discounts, payouts — from any AI agent. 14 tools, Bearer auth. JSON:API spec compliant.

7 天免费 · 无需信用卡 · EU 托管

问 Lemon 任何事

通过 AnythingMCP 对 Lemon Squeezy 试一个真实提示 — Claude 调用工具并返回答案。在你的消息上按 Enter 即可在 Cloud 安装。

在 Cloud 上安装 Lemon
Lemon Squeezy · 通过 MCP 实时
分享
Opus 4.7

Claude 是 AI,可能会出错。请核对回答。

2 分钟设置

  1. 1在 cloud.anythingmcp.com 开始免费试用。
  2. 2在连接器商店点击 Lemon Squeezy。提示时粘贴凭据。
  3. 3生成 MCP API 密钥,将 AI 客户端指向生成的 MCP URL。
立即安装 Lemon Squeezy

Lemon 指南

面向主流 AI 客户端的逐步设置。

配置 Lemon Squeezy

直接来自连接器定义:在哪里获取凭据、需要哪些权限,以及该适配器调用的是哪个 API。 由连接器作者以英文提供。

This connector uses the Lemon Squeezy API v1.

Setup:

  1. Sign in to https://app.lemonsqueezy.com → Settings → API → + Create API key.
  2. Name it ('AnythingMCP'), select the store this key acts on (or 'All stores' if you have multiple).
  3. Copy the key. It's prefixed with eyJ... (it's a JWT, but treat as opaque). Set LEMONSQUEEZY_API_KEY.

Authentication: Authorization: Bearer ${LEMONSQUEEZY_API_KEY} + Accept: application/vnd.api+json (the adapter sets the Accept header automatically per endpoint).

JSON:API conventions: every response wraps data in {data: ..., meta: {page: {...}}, links: {...}}. Each resource has id, type, attributes, relationships. Use ?include= to side-load related resources in one call — e.g. ?include=order-items,customer on an order. Without include, the relationships only return IDs and require N+1 lookups.

Filtering: ?filter[store_id]=NNN, ?filter[status]=paid, etc. The adapter exposes the most common filters per endpoint.

Pagination: ?page[number]=N and ?page[size]=M (max 100). meta.page.lastPage tells you the total.

Mode (test vs live): every object has a test_mode boolean attribute. The same API key can act on either; mode is determined by the resource you reference (test resources are created when your store is in test mode).

Store IDs: most resources scope to a store. Find your store_id via lemonsqueezy_list_stores once. If you only have one store, every list call defaults to it.

License keys are a Lemon Squeezy first-class product type — useful for SaaS apps. The adapter exposes list + retrieve. Activation/deactivation lives at the public license-keys endpoint (different auth) and is intentionally out of scope here.

Webhooks out of scope (configured in the UI and delivered to your hosted endpoint).

Rate limits: 300 req/min per API key. On 429, back off. Retry-After header is set.

Out of scope here: writes to products/variants/files (Lemon Squeezy is a curated marketplace and asks you to manage catalog via UI), checkout link creation (use the simpler hosted-checkout URL), affiliates, store theme.

你的 AI 距离 Lemon Squeezy 仅两次点击。

安装连接器、粘贴凭据、向 AI 提问。7 天免费,无需信用卡。