Lemon Squeezy for AI agents

Lemon Squeezy is a merchant-of-record platform that handles payments, taxes, and subscriptions for software companies selling online without building their own billing stack. Connect it once through Arc0, and your agent, or Claude, ChatGPT and Cursor, can use it through one MCP endpoint, limited to what each user approved.

E-commerceAPI keyMCP + RESTlemonsqueezy.com
AUDIT LOG · LEMON SQUEEZYPOLICY: acme-support
09:41:07 · claude · u_8f2read
lemon_squeezy.list_all_files
List All Files✓ allowed · 212ms
09:41:08 · claude · u_8f2read
lemon_squeezy.list_all_orders
List All Orders✓ allowed · 164ms
09:41:09 · claude · u_8f2write
lemon_squeezy.create_webhook
Create Webhook✓ approved · approved by user
09:41:12 · claude · u_8f2destructive
lemon_squeezy.delete_webhook
Delete Webhook✕ blocked · policy: deny
EVERY LEMON SQUEEZY CALL, ON THE RECORD
01 · USE CASES

What agents do in Lemon Squeezy.

01

Look up a customer's subscriptions

Pull a customer's active subscriptions and orders to answer a billing question.

02

Create a discount code

Create a new discount for a store to run a limited-time promotion.

03

Approve before deleting a discount

Require sign-off before deleting an active discount, since it would stop working immediately for customers.

02 · ACTIONS

32 Lemon Squeezy actions, graded by risk.

Every Lemon Squeezy action is tagged read, write or destructive, so one policy covers the whole app and new actions inherit the right default.

read

25

Look things up. Allowed by default.

  • lemon_squeezy.list_all_files
    List All Files
  • lemon_squeezy.list_all_orders
    List All Orders
  • lemon_squeezy.list_all_prices
    List All Prices
  • lemon_squeezy.list_all_stores
    List All Stores
  • lemon_squeezy.list_all_products
    List All Products
  • lemon_squeezy.list_all_variants
    List All Variants
  • lemon_squeezy.list_all_webhooks
    List All Webhooks
  • lemon_squeezy.list_all_checkouts
    List All Checkouts
  • lemon_squeezy.list_all_customers
    List All Customers
  • lemon_squeezy.list_all_discounts
    List All Discounts
  • lemon_squeezy.list_all_affiliates
    List All Affiliates
  • lemon_squeezy.list_all_order_items
    List All Order Items
  • lemon_squeezy.list_all_license_keys
    List All License Keys
  • lemon_squeezy.list_all_subscriptions
    List All Subscriptions
  • lemon_squeezy.list_all_usage_records
    List All Usage Records
  • lemon_squeezy.list_all_subscription_items
    List All Subscription Items
+ 9 MORE

write

5

Create and change things. Allow, or ask the user first.

  • lemon_squeezy.create_webhook
    Create Webhook
  • lemon_squeezy.update_webhook
    Update Webhook
  • lemon_squeezy.create_customer
    Create Customer
  • lemon_squeezy.create_discount
    Create Discount
  • lemon_squeezy.update_customer
    Update Customer

destructive

2

Delete, cancel or archive. Ask first, or deny outright.

  • lemon_squeezy.delete_webhook
    Delete Webhook
  • lemon_squeezy.delete_discount
    Delete Discount
03 · HOW IT WORKS

Lemon Squeezy in three steps.

  1. 01Your users connect Lemon SqueezyThey add their Lemon Squeezy api key on Arc0 Connect, under your brand. It goes straight into the vault.
  2. 02You set the rulesReads run, writes like “create Webhook” can wait for the user, and “delete Webhook” can be denied outright.
  3. 03Any agent can actYour agent calls Lemon Squeezy through the Arc0 SDK or MCP, and so can Claude, ChatGPT and Cursor. Every call lands on the audit log.
POLICY.TS
await arc0.policies.set('lemon_squeezy', {
  read: 'allow',
  write: 'ask',        // create_webhook
  destructive: 'deny',  // delete_webhook
})

# Claude Code: the same connection, one URL
$ claude mcp add --transport http arc0 \
    https://mcp.arc0.ai/u/u_8f2
04 · AUTH AND DATA

How Lemon Squeezy connects.

Users add their Lemon Squeezy api key on Arc0 Connect. It is encrypted in the vault, never shown to the model, and each user can rotate or revoke it at any time.

The same Lemon Squeezy connection serves your agent over MCP and your own backend over REST and the proxy, so a user connects once. How Arc0 handles credentials →

AUTH
API key
CREDENTIALS
Per-tenant encrypted vault
MODEL SEES
Results only, never credentials
AUDIT LOG
Every call, on every plan
05 · WORKS WITH

Use Lemon Squeezy from any agent.

Claude
ChatGPT
Cursor
Codex
VS Code
OpenAI Agents SDK
Claude Agent SDK
Vercel AI SDK
Mastra
LangGraph
07 · FAQ

Lemon Squeezy and Arc0, answered.

Q01

Can I use Lemon Squeezy with Claude, ChatGPT or Cursor?

Yes. Connect Lemon Squeezy to Arc0 once, then add your Arc0 MCP URL to Claude, ChatGPT, Cursor, Claude Code or any other remote-MCP client. Each assistant only gets the Lemon Squeezy actions you allow.

Q02

How do users connect Lemon Squeezy?

Users add their Lemon Squeezy api key on Arc0 Connect. It is encrypted in the vault, never shown to the model, and each user can rotate or revoke it at any time.

Q03

Which Lemon Squeezy actions can my agent take?

32 in total: 25 read, 5 write and 2 destructive, such as “create Webhook”. Your policies decide which of them each agent may call.

Q04

Can I stop my agent from deleting things in Lemon Squeezy?

Yes. Actions like “delete Webhook” are graded destructive. Set destructive actions to deny, or to ask so the user approves each one, and blocked calls still show up on the audit log.

Q05

Can my own backend call Lemon Squeezy too?

Yes. The same Lemon Squeezy connection is available over REST and through the Arc0 proxy, so your product and your agent share one connection per user.

Get started

Plug Lemon Squeezy into your agent.

Your users connect Lemon Squeezy once, under your brand. Your agent gets 32 actions behind your policies, with every call on the record.

Free to build · MCP + REST · Audit log on every plan