All-in-one payments for digital products.
## Lemon Squeezy MCP Server: Digital Commerce The **Lemon Squeezy MCP Server** integrates Lemon Squeezy's digital product platform into Google Antigravity, enabling developers to sell software, subscriptions, and digital products through AI-assisted commerce workflows. ### Why Lemon Squeezy MCP? - **Merchant of Record**: Handle taxes, VAT, and compliance - **Digital Products**: Built for software and digital goods - **License Keys**: Automatic license key generation - **Subscriptions**: Recurring billing with trials - **Affiliate Program**: Built-in affiliate management ### Key Features #### 1. Product and Order Management ```javascript // Get products const products = await lemonsqueezy.getProducts({ storeId: "store_123" }); // Get orders const orders = await lemonsqueezy.getOrders({ storeId: "store_123", status: "paid", productId: "product_456" }); // Get order details const order = await lemonsqueezy.getOrder({ orderId: "order_789" }); console.log("Customer:", order.user_email); console.log("Amount:", order.total); // Issue refund await lemonsqueezy.refundOrder({ orderId: "order_789", amount: 1000 // partial refund in cents }); ``` #### 2. Subscriptions and Licenses ```javascript // Get subscriptions const subscriptions = await lemonsqueezy.getSubscriptions({ storeId: "store_123", status: "active" }); // Cancel subscription await lemonsqueezy.cancelSubscription({ subscriptionId: "sub_123" }); // Get license keys const licenses = await lemonsqueezy.getLicenseKeys({ orderId: "order_789" }); // Validate license const validation = await lemonsqueezy.validateLicense({ licenseKey: "XXXX-XXXX-XXXX-XXXX" }); console.log("Valid:", validation.valid); console.log("Activations:", validation.activations); ``` ### Configuration ```json { "mcpServers": { "lemonsqueezy": { "command": "npx", "args": ["-y", "@anthropic/mcp-lemonsqueezy"], "env": { "LEMONSQUEEZY_API_KEY": "your-api-key" } } } } ``` ### Use Cases **Software Licensing**: Sell and manage software licenses. **SaaS Subscriptions**: Handle recurring billing for SaaS products. **Digital Downloads**: Sell digital products with delivery. The Lemon Squeezy MCP Server brings digital commerce to your workflow.
{
"mcpServers": {
"lemonsqueezy": {}
}
}