lemon-squeezy-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ENABLE_RESOURCES | No | Set to 'true' to let the AI see 'active context' like failed payments automatically. | false |
| SALESFORCE_TOKEN | No | Salesforce security token for CRM integration tools. | |
| SALESFORCE_PASSWORD | No | Salesforce password for CRM integration tools. | |
| SALESFORCE_USERNAME | No | Salesforce username for CRM integration tools. | |
| LEMONSQUEEZY_API_KEY | Yes | Your live Lemon Squeezy API key (starts with ls_...). | |
| POLL_FAILED_PAYMENTS | No | Set to 'true' to check for failed payments every few minutes. | false |
| LEMONSQUEEZY_TEST_API_KEY | No | Optional API key used for testing without affecting real data. |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_storeC | Get details of a specific store by ID. |
| list_storesC | List all stores in your Lemon Squeezy account. |
| get_customerC | Get details of a specific customer by ID. |
| list_customersC | List customers with optional filtering. Useful for finding customer information, subscription status, and order history. |
| create_customerC | Create a new customer in a store. |
| update_customerC | Update an existing customer's information. |
| archive_customerC | Archive a customer (soft delete). |
| get_productB | Get details of a specific product by ID. |
| list_productsB | List all products, optionally filtered by store. |
| get_variantC | Get details of a specific product variant by ID. |
| list_variantsB | List all product variants, optionally filtered by product or store. |
| get_orderA | Retrieve details of a specific Lemon Squeezy order by ID. Use this to verify payment status, order total, and customer information. |
| list_ordersB | List all orders with optional filtering. Useful for finding recent payments, the last successful payment, or browsing order history. Returns orders sorted by most recent first. |
| search_ordersB | Search for orders by email or customer email. Useful for finding a payment when you only have a user's email address. Returns all orders matching the email. |
| get_order_itemC | Get details of a specific order item by ID. |
| list_order_itemsC | List order items, optionally filtered by order. |
| generate_order_invoiceC | Generate an invoice for an order. |
| issue_order_refundC | Issue a refund for an order. |
| get_subscriptionB | Check the status of a subscription. Use this to verify if credits should be active, subscription status, renewal dates, and billing information. |
| list_subscriptionsC | List all subscriptions, optionally filtered by store or customer. |
| update_subscriptionC | Update a subscription (e.g., change plan, update billing details). |
| cancel_subscriptionC | Cancel a subscription. |
| get_subscription_itemC | Get details of a specific subscription item by ID. |
| list_subscription_itemsC | List subscription items, optionally filtered by subscription. |
| get_subscription_item_usageC | Get current usage statistics for a subscription item (useful for usage-based billing). |
| get_subscription_invoiceC | Get details of a specific subscription invoice by ID. |
| list_subscription_invoicesC | List subscription invoices, optionally filtered by subscription. |
| generate_subscription_invoiceC | Generate an invoice for a subscription. |
| issue_subscription_invoice_refundC | Issue a refund for a subscription invoice. |
| get_discountB | Get details of a specific discount by ID. |
| list_discountsC | List all discounts, optionally filtered by store. |
| create_discountC | Create a new discount code. |
| delete_discountC | Delete a discount. |
| get_license_keyC | Get details of a specific license key by ID. |
| list_license_keysB | List license keys, optionally filtered by store or order. |
| update_license_keyC | Update a license key (e.g., activate, deactivate, update status). |
| get_fileC | Get details of a specific file by ID. |
| list_filesC | List files, optionally filtered by product or variant. |
| get_usage_recordC | Get details of a specific usage record by ID. |
| list_usage_recordsC | List usage records, optionally filtered by subscription item. |
| create_usage_recordC | Create a new usage record for a subscription item (for usage-based billing). |
| create_checkoutC | Create a new checkout session for a product variant. |
| get_webhookC | Get details of a specific webhook by ID. |
| list_webhooksC | List all webhooks, optionally filtered by store. |
| create_webhookC | Create a new webhook. |
| update_webhookC | Update an existing webhook. |
| delete_webhookC | Delete a webhook. |
| sync_customer_to_crmA | Sync a customer to Salesforce CRM. Checks if a Lead with the email exists, and if not, creates a new Lead with source 'AI Agent'. Returns the Lead ID. |
| search_transactions_naturalC | Search transactions using natural language (e.g., 'refunds from yesterday', 'subscriptions this week'). Cross-references Lemon Squeezy and Firestore. |
| analyze_churn_riskB | Identify users with active subscriptions who haven't logged in recently (>28 days). |
| canonize_decisionB | Record a business decision with a snapshot of current active user metrics. |
| get_financial_metricsC | Calculate comprehensive financial metrics including revenue (total, by period, growth rates), MRR/ARR, subscription metrics, order statistics, and customer metrics. Supports date range filtering. |
| predict_churn_riskA | Predict churn risk for active subscriptions by analyzing payment history, subscription age, status, and activity patterns. Returns risk scores (0-100) and risk levels (low/medium/high/critical) with detailed factors. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/IntrepidServicesLLC/lemon-squeezy-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server