跳过安装。2 分钟内即可运行。
在 cloud.anythingmcp.com 开始免费试用,一键添加 Lemon Squeezy,然后将你的 AI 客户端(Claude、ChatGPT、Copilot 或 Cursor)指向生成的 MCP 端点。无需 Docker,无需 git clone,无需任何工程经验。
摘要
通过任何 AI 代理读取并操作 Lemon Squeezy 的商业数据:订单、订阅、客户、产品、变体、许可证密钥、折扣、付款。14 个工具,Bearer 身份验证。兼容 JSON:API 规范。
试试这样问
Lemon Squeezy 的示例提示
点击任意提示即可复制,然后粘贴到 Claude、ChatGPT、Cursor、Gemini、Copilot 或 OpenClaw 中,在该连接器上运行。
Claude 是 AI,可能会出错。请核对回答。
💡 无需安装? 直接使用 cloud.anythingmcp.com。 登录、点击 Connectors → Lemon Squeezy、粘贴凭证、生成 MCP API key — 完成。无 Docker、无
git clone、无本地服务器。
Lemon Squeezy
通过任何 AI 代理读取并操作 Lemon Squeezy 的商业数据:订单、订阅、客户、产品、变体、许可证密钥、折扣、付款。14 个工具,Bearer 身份验证。兼容 JSON:API 规范。
设置
Setup:
- Sign in to https://app.lemonsqueezy.com → Settings → API → + Create API key.
- Name it ('AnythingMCP'), select the store this key acts on (or 'All stores' if you have multiple).
- Copy the key. It's prefixed with
eyJ...(it's a JWT, but treat as opaque). SetLEMONSQUEEZY_API_KEY.
Authentication: Authorization: Bearer ${LEMONSQUEEZY_API_KEY} + Accept: application/vnd.api+json (the adapter sets the Accept header automatically per endpoint).
…(continued in the in-app connector instructions)
前提条件: LEMONSQUEEZY_API_KEY
本地安装连接器
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
打开 http://localhost:3000/connectors/store,选择 Lemon Squeezy 并填入前提条件中列出的环境变量。
可用工具
| Tool | What it does |
|---|---|
lemonsqueezy_get_current_user | Return the user the API key belongs to (whoami) |
lemonsqueezy_list_stores | List stores the API key has access to |
lemonsqueezy_list_products | List products for a store |
lemonsqueezy_list_variants | List variants — the SKUs of a product (e |
lemonsqueezy_list_customers | List customers for a store |
lemonsqueezy_get_customer | Fetch one customer with their full purchase history (use include=orders,subscriptions) |
lemonsqueezy_list_orders | List orders for a store with optional filters |
lemonsqueezy_get_order | Fetch one order with full details |
lemonsqueezy_list_subscriptions | List subscriptions with status filters |
lemonsqueezy_get_subscription | Fetch one subscription with detailed billing state |
lemonsqueezy_cancel_subscription | Cancel a subscription |
lemonsqueezy_list_license_keys | List license keys (relevant for products with has_license_keys=true) |
lemonsqueezy_list_discounts | List discount codes for a store |
lemonsqueezy_list_payouts | List payouts to your bank account (Lemon Squeezy as Merchant of Record handles tax + remits net to you) |
下一步
这份指南对你有帮助吗?