Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words

LemonSqueezy MCP Server

by YawLabsversion 1.1.3i★ 3iRuns on your computerOfficial site ↗
Registry nameio.github.YawLabs/lemonsqueezy-mcp

How to install

What it does

LemonSqueezy MCP server for managing your store from AI assistants

  • Connects Runs on your computer
  • Account or key No key needed
  • Category Other

Why it ranks here

Lists are ordered by a usage score (out of 100) built from these parts

Popularity7/80GitHub stars or weekly downloads: the larger counts 60, the smaller 20
Freshness12/12Full marks for a release or code change within 30 days
Still answering0/8The cloud endpoint answered at the last check
Usage score19/100

Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)

Install

Pick the AI app you use, then copy the settings.

Let your AI install it with one sentence

Please install LemonSqueezy MCP Server. Follow https://mcp.popnx.com/i/yawlabs-lemonsqueezy-mcp.md, show me the commands and wait for my OK before running them.

Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads

Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 16, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

Let AI install it

Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server LemonSqueezy MCP Server for Claude on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "lemonsqueezy": { "command": "npx", "args": [ "-y", "@yawlabs/lemonsqueezy-mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the LemonSqueezy MCP Server tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  3. Paste these settings and save the file

    {
      "mcpServers": {
        "lemonsqueezy": {
          "command": "npx",
          "args": [
            "-y",
            "@yawlabs/lemonsqueezy-mcp"
          ]
        }
      }
    }
  4. Quit Claude and open it again

  5. Try it

    Use LemonSqueezy MCP Server and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using LemonSqueezy MCP Server or shows a LemonSqueezy MCP Server tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect LemonSqueezy MCP Server yet

LemonSqueezy MCP Server runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect LemonSqueezy MCP Server

  • Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • Install Node.js on your computer first (one time)
  • Install Node.js on your computer first (one time)
  • Install Node.js on your computer first (one time)

B · Others in Other that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server LemonSqueezy MCP Server for Claude Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user lemonsqueezy -- npx -y @yawlabs/lemonsqueezy-mcp 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the LemonSqueezy MCP Server tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  3. Paste this command and press Enter

    claude mcp add --scope user lemonsqueezy -- npx -y @yawlabs/lemonsqueezy-mcp
  4. Type /mcp in Claude Code

    You should see LemonSqueezy MCP Server listed as connected

  5. Try it

    Use LemonSqueezy MCP Server and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using LemonSqueezy MCP Server or shows a LemonSqueezy MCP Server tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server LemonSqueezy MCP Server for Cursor on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "lemonsqueezy": { "command": "npx", "args": [ "-y", "@yawlabs/lemonsqueezy-mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the LemonSqueezy MCP Server tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  3. Open the AI chat in Cursor in Agent mode

  4. Try it

    Use LemonSqueezy MCP Server and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using LemonSqueezy MCP Server or shows a LemonSqueezy MCP Server tool in the answer, you are connected

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server LemonSqueezy MCP Server for VS Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "lemonsqueezy": { "type": "stdio", "command": "npx", "args": [ "-y", "@yawlabs/lemonsqueezy-mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the LemonSqueezy MCP Server tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  3. Open the AI chat in VS Code in Agent mode

  4. Try it

    Use LemonSqueezy MCP Server and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using LemonSqueezy MCP Server or shows a LemonSqueezy MCP Server tool in the answer, you are connected

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use LemonSqueezy MCP Server💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add --scope user lemonsqueezy -- npx -y @yawlabs/lemonsqueezy-mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "lemonsqueezy": {
      "command": "npx",
      "args": [
        "-y",
        "@yawlabs/lemonsqueezy-mcp"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "lemonsqueezy": {
      "command": "npx",
      "args": [
        "-y",
        "@yawlabs/lemonsqueezy-mcp"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "lemonsqueezy": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@yawlabs/lemonsqueezy-mcp"
      ]
    }
  }
}

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Downloads per weeki
226/wk
Connection
Runs on your computer
Latest versioni
1.1.3
Categoryi
Other
Published to registryi
Nov 16, 2026
Code last changedi
Nov 16, 2026
Maker
YawLabs
Packages
npm: @yawlabs/lemonsqueezy-mcp
Website
yaw.sh
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 19, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account YawLabs, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed 3 days ago

  • ✓ Pass

    Has a licence

    Uses MIT

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

Not checked yet

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/yawlabs-lemonsqueezy-mcp.svg)](https://mcp.popnx.com/en/servers/yawlabs-lemonsqueezy-mcp)

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Otheri

  • More stars than 93% of the other 20613 servers in this category
  • Published to the registry more recently than 93% of the other 20613 servers in this category
  • Basic checks equal to or better than 99% of the other 20613 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is LemonSqueezy MCP Server safe?

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

The registry does not list a required key, though some servers ask you to sign in on first use.

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed 3 days ago, and the latest version (1.1.3) reached the registry 3 days ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: World Monitor, openstatus, Oh My Posh Validator, Strata, Jitsu

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

World Monitor

Real-time global intelligence on conflict, markets, energy, trade, shipping and cyber. 100 tools.

by koala73Widely used★ 90.9KUpdated 3 days ago

Runs in the cloud✓ service owner · worldmonitor.app

openstatus

Manage monitors, status pages, incidents and maintenances in your openstatus workspace.

by openstatusHQWidely used★ 9.3KUpdated 2 months ago

Runs in the cloud✓ service owner · openstatus.dev

Oh My Posh Validator

Validate oh-my-posh configurations and segment snippets against the official schema.

by JanDeDobbeleerWidely used★ 23.8K Stars for the whole repoUpdated 30 days ago

Runs in the cloud✓ service owner · ohmyposh.dev

Strata

MCP server for progressive tool usage at any scale (see https://klavis.ai)

by Klavis-AIGrowing★ 5.8KUpdated 14 months ago

Runs in the cloudRepo archived✓ klavis.ai

Jitsu

Manage Jitsu data pipelines: destinations, streams, connections, functions, live events.

by jitsucomWidely used★ 5.1KUpdated 4 months ago

Runs in the cloud✓ service owner · jitsu.com
Compared with similar ones
This one
LemonSqueezy MCP Server
World MonitoropenstatusOh My Posh ValidatorStrataJitsu
Runs whereInstalls on your computerRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to install
Needs a keyNoNoNoNoNoNo
Add with + in ClaudeNoNoNoNoNoNo
Basic checks3/34/44/44/41/44/4
LicenseMITAGPL-3.0AGPL-3.0MITApache-2.0MIT
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

@yawlabs/lemonsqueezy-mcp

One click adds this to your local Yaw MCP config so it's available in every Yaw Terminal session. Tested with Yaw MCP 1.1.13 or newer. Or install manually below.

MCP server for the LemonSqueezy API. Manage your store, products, customers, subscriptions, discounts, license keys, and more from any MCP-compatible AI assistant.

Quick start

npx -y @yawlabs/lemonsqueezy-mcp@latest

Requires Node.js 22 or later (engines.node is >=22).

Or one-click install via Smithery:

npx -y @smithery/cli install @yawlabs/lemonsqueezy-mcp --client claude

Smithery prompts for your env vars (API key, optional guardrails) and writes the config into your client for you.

What it looks like

Once configured, you can ask your AI assistant store-management questions in plain English and it routes them through the MCP tools:

You:  How much did we make from the "Pro Annual" plan last month?

Claude: [calls ls_list_subscriptions, ls_get_variant, ls_list_subscription_invoices] Pro Annual brought in $14,280 across 84 active subscriptions in April. Three of those were upgrades from monthly; none churned.

You: Refund order #LS-1234 in full. Claude: [calls ls_get_order to fetch the total, then ls_refund_order with amount = total] Refunded $99.00 against order LS-1234. The customer's card will see the credit in 5-10 business days.

You: Disable license key abc-123 for the customer who reported abuse. Claude: [calls ls_list_license_keys to find the ID, then ls_update_license_key with disabled: true] License key disabled. Their existing activations will fail validation on the next check.

Guardrails (refund cap, rate limit, store allowlist) catch the obvious mistakes before they reach LemonSqueezy. See Configuration for the env vars that turn them on.

Setup

Set your LemonSqueezy API key as an environment variable:

export LEMONSQUEEZY_API_KEY="your-api-key"

Get your API key from your LemonSqueezy dashboard.

Docker

A multi-stage Dockerfile is included at the repo root. The runtime image is a single bundled file on node:22-alpine running as the non-root node user, with no port exposed (stdio transport).

docker build -t yawlabs/lemonsqueezy-mcp .

docker run --rm -i -e LEMONSQUEEZY_API_KEY="your-api-key" yawlabs/lemonsqueezy-mcp

A matching Containerfile is provided for Podman users. It is generated from Dockerfile via npm run gen:containerfile. release.sh runs npm run check:containerfile in step 1, so a release fails if the two have drifted. This repo has no CI, so nothing checks a pull request for drift: run it yourself after editing Dockerfile.

Claude Code

Add to your MCP config:

{

"mcpServers": { "lemonsqueezy": { "command": "npx", "args": ["-y", "@yawlabs/lemonsqueezy-mcp@latest"], "env": { "LEMONSQUEEZY_API_KEY": "your-api-key" } } } }

Claude Desktop

Add to claude_desktop_config.json:

{

"mcpServers": { "lemonsqueezy": { "command": "npx", "args": ["-y", "@yawlabs/lemonsqueezy-mcp@latest"], "env": { "LEMONSQUEEZY_API_KEY": "your-api-key" } } } }

Yaw MCP

The Add to Yaw MCP button at the top adds the server without a key. Store the key in Yaw MCP's encrypted vault rather than as a plain env value:

yaw-mcp set lemonsqueezy env.LEMONSQUEEZY_API_KEY --secret

It prompts for the value without echoing it (or reads it from piped stdin) and writes only a ${secret:...} reference into ~/.yaw-mcp/bundles.json. The same works for LEMONSQUEEZY_TEST_API_KEY and LEMONSQUEEZY_SINK_ADMIN_TOKEN.

Yaw MCP also treats LEMONSQUEEZY_API_KEY_COMMAND as a credential, because its name contains KEY: yaw-mcp doctor flags a literal value as plaintext:, and the value is masked in captured stderr. That is expected. The variable holds a command line, not a key, so the flag is harmless, and you can store the command as a secret the same way to silence it.

Tools (64)

Users
  • ls_get_user — Get the authenticated user
Stores
  • ls_get_store — Get a store by ID
  • ls_list_stores — List all stores (not gated by LEMONSQUEEZY_ALLOWED_STORE_IDS: returns every store the API key can see)
Customers
  • ls_get_customer — Get a customer by ID
  • ls_list_customers — List customers (filter by store, email)
  • ls_create_customer — Create a customer
  • ls_update_customer — Update a customer
  • ls_archive_customer — Archive a customer
Products
  • ls_get_product — Get a product by ID
  • ls_list_products — List products (filter by store)
Variants
  • ls_get_variant — Get a variant by ID
  • ls_list_variants — List variants (filter by product)
Prices
  • ls_get_price — Get a price by ID
  • ls_list_prices — List prices (filter by variant)

Both annotate every price record with effective_unit_price, the cents actually charged per unit, and effective_unit_price_note, which says where that number came from; unit_price_is_not_charged or unit_price_is_per_package is added where it applies. Read effective_unit_price rather than unit_price, which is vestigial on tiered (volume / graduated) pricing, or a variant's price. The subscription-item reads apply the same annotation to prices embedded via include=price.

Files
  • ls_get_file — Get a file by ID
  • ls_list_files — List files (filter by variant)
Orders
  • ls_get_order — Get an order by ID
  • ls_list_orders — List orders (filter by store, email)
  • ls_generate_order_invoice — Generate a PDF invoice
  • ls_refund_order — Issue a refund
Order Items
  • ls_get_order_item — Get an order item by ID
  • ls_list_order_items — List order items (filter by order, product, variant)
Subscriptions
  • ls_get_subscription — Get a subscription by ID
  • ls_list_subscriptions — List subscriptions (filter by store, status, product, etc.)
  • ls_update_subscription — Update (plan switch, pause, billing anchor, trial)
  • ls_cancel_subscription — Cancel a subscription
Subscription Invoices
  • ls_get_subscription_invoice — Get a subscription invoice by ID
  • ls_list_subscription_invoices — List subscription invoices (filter by store, subscription, status)
  • ls_generate_subscription_invoice — Generate a PDF invoice
  • ls_refund_subscription_invoice — Issue a refund
Subscription Items
  • ls_get_subscription_item — Get a subscription item by ID
  • ls_list_subscription_items — List subscription items (filter by subscription, price)
  • ls_update_subscription_item — Update quantity
  • ls_get_subscription_item_usage — Get current billing period usage
Usage Records
  • ls_get_usage_record — Get a usage record by ID
  • ls_list_usage_records — List usage records (filter by subscription item)
  • ls_create_usage_record — Report metered usage (increment or set)
Discounts
  • ls_get_discount — Get a discount by ID
  • ls_list_discounts — List discounts (filter by store)
  • ls_create_discount — Create a discount code
  • ls_delete_discount — Delete a discount
Discount Redemptions
  • ls_get_discount_redemption — Get a discount redemption by ID
  • ls_list_discount_redemptions — List redemptions (filter by discount, order)
License Keys
  • ls_get_license_key — Get a license key by ID
  • ls_list_license_keys — List license keys (filter by store, order, product)
  • ls_update_license_key — Update activation limit, expiry, or disabled status
License Key Instances
  • ls_get_license_key_instance — Get a license key activation by ID
  • ls_list_license_key_instances — List activations (filter by license key)
Checkouts
  • ls_get_checkout — Get a checkout by ID
  • ls_list_checkouts — List checkouts (filter by store, variant)
  • ls_create_checkout — Create a checkout URL (custom pricing, prefill, discounts)
Webhooks
  • ls_get_webhook — Get a webhook by ID
  • ls_list_webhooks — List webhooks (filter by store)
  • ls_create_webhook — Create a webhook
  • ls_update_webhook — Update a webhook
  • ls_delete_webhook — Delete a webhook
License API
  • ls_activate_license — Activate a license key (no API key required)
  • ls_validate_license — Validate a license key (no API key required)
  • ls_deactivate_license — Deactivate a license key instance (no API key required). Destructive on every call: rate-limited and audited, with the license key masked in the audit entry
Affiliates
  • ls_get_affiliate — Get an affiliate by ID (commission rate, status, earnings)
  • ls_list_affiliates — List affiliates (filter by user email). Not gated by LEMONSQUEEZY_ALLOWED_STORE_IDS: returns affiliates from every store the API key can see
Webhook sink (optional)

Bridge to a separate @yawlabs/lemonsqueezy-webhook-sink process so the agent can reconcile against webhooks that actually fired. Tools are always registered; if LEMONSQUEEZY_SINK_URL / LEMONSQUEEZY_SINK_ADMIN_TOKEN are unset, calls return a clear "not configured" error.

  • ls_sink_events_list — List webhook events the sink has received (filter by since / type / limit)
  • ls_sink_event_mark_processed — Mark a sink event as processed by your consumer (idempotent)
  • ls_sink_stats — Get total events, unprocessed count, and last-received timestamp

Features

  • API coverage — 58 tools across 20 LemonSqueezy API resources, 3 License API tools, and 3 bridge tools to an optional @yawlabs/lemonsqueezy-webhook-sink for webhook reconciliation (64 in total)
  • JSON:API support — Pagination on every ls_list_* tool, filters on every one but ls_list_stores, and relationship inclusion (include) on every ls_get_* / ls_list_* tool except ls_get_user and ls_get_subscription_item_usage
  • Zero runtime dependencies — Single bundled file for instant npx startup
  • License API — Activate, validate, and deactivate license keys without an API key
  • MCP annotations — Every tool declares read-only, destructive, and idempotent hints
  • Retry with backoff — for LemonSqueezy API calls (the ls_sink_* tools make a single attempt): a 429 is retried for every method, including POSTs such as refunds and License API calls, after waiting for the server's Retry-After (1s if it is missing or unparseable). This relies on a 429 meaning the request was rejected before LemonSqueezy acted on it. If Retry-After is over 30s, or the wait would pass the overall deadline, the 429 is returned instead. 5xx responses, timeouts and network errors are retried only for idempotent methods (GET, DELETE), with exponential backoff and jitter; a POST or PATCH that hits one is not retried. Up to 4 attempts, 30s per attempt, and no new attempt or wait is started after 90s
  • Guardrails — opt-in store allowlist, refund cap, destructive-call rate limit, authority-class disable (LEMONSQUEEZY_DISABLE_CLASSES), and per-authority-class rate limits (LEMONSQUEEZY_RATE_LIMIT_PER_CLASS)
  • Audit log MCP Resource — lemonsqueezy://audit-log exposes the last 1000 destructive-call entries as application/x-ndjson for clients without stderr access
  • Structured logging — opt-in JSON logs to stderr with selectable levels (error, audit, all)

Configuration

All configuration is via environment variables. The management-API tools need one of LEMONSQUEEZY_API_KEY_COMMAND, `LEMONSQUEEZY_TEST_A

Only the beginning is shown; read the rest in the repo