# How to connect Lemon squeezy to Grok Bot

```json
{
  "title": "How to connect Lemon squeezy to Grok Bot",
  "toolkit": "Lemon squeezy",
  "toolkit_slug": "lemon_squeezy",
  "framework": "Grok Bot",
  "framework_slug": "grok-bot",
  "url": "https://composio.dev/toolkits/lemon_squeezy/framework/grok-bot",
  "markdown_url": "https://composio.dev/toolkits/lemon_squeezy/framework/grok-bot.md",
  "updated_at": "2026-10-31T06:00:27.964Z"
}
```

## Introduction

Grok is xAI's assistant, and its bot builder lets you create a personal agent that holds context, runs skills, and connects to the apps you already use through plugins.
This guide explains how to connect Lemon squeezy to a Grok bot using Composio Connect, which handles OAuth, token refresh, and reliability so you do not have to. You add Composio as a plugin, authenticate once, then ask your bot to work with Lemon squeezy in plain language.

## Also integrate Lemon squeezy with

- [Claude Code](https://composio.dev/toolkits/lemon_squeezy/framework/claude-code)
- [Claude Cowork](https://composio.dev/toolkits/lemon_squeezy/framework/claude-cowork)
- [OpenAI Agents SDK](https://composio.dev/toolkits/lemon_squeezy/framework/open-ai-agents-sdk)
- [Claude Agent SDK](https://composio.dev/toolkits/lemon_squeezy/framework/claude-agents-sdk)
- [Codex](https://composio.dev/toolkits/lemon_squeezy/framework/codex)
- [OpenClaw](https://composio.dev/toolkits/lemon_squeezy/framework/openclaw)
- [Hermes](https://composio.dev/toolkits/lemon_squeezy/framework/hermes-agent)
- [Atomic Agent](https://composio.dev/toolkits/lemon_squeezy/framework/atomic-agent)
- [Google ADK](https://composio.dev/toolkits/lemon_squeezy/framework/google-adk)
- [LangChain](https://composio.dev/toolkits/lemon_squeezy/framework/langchain)
- [Vercel AI SDK](https://composio.dev/toolkits/lemon_squeezy/framework/ai-sdk)
- [Mastra AI](https://composio.dev/toolkits/lemon_squeezy/framework/mastra-ai)
- [LlamaIndex](https://composio.dev/toolkits/lemon_squeezy/framework/llama-index)
- [CrewAI](https://composio.dev/toolkits/lemon_squeezy/framework/crew-ai)
- [Pydantic AI](https://composio.dev/toolkits/lemon_squeezy/framework/pydantic-ai)
- [AutoGen](https://composio.dev/toolkits/lemon_squeezy/framework/autogen)

## TL;DR

Composio exposes 1,500+ apps to your Grok bot through a single connection, so you get:
- Connect to 1,500+ apps with on-demand tool loading, so you do not fill your context window with unnecessary tool definitions.
- Use programmatic tool calling through a remote workbench, letting the model write its own code to handle complex tool chaining. This reduces back-and-forth for frequent tool calls.
- Handle large tool responses outside the model context to keep conversations lean.

## Connect Lemon squeezy to Grok Bot

### Connecting Lemon squeezy to Grok Bot
Once Grok Bot is set up, you connect Lemon squeezy entirely from its interface, and the whole flow takes under a minute.
### Set up Grok Bot
Get access. Grok Bot is included with Cursor Ultra, Cursor Premium Teams, and SuperGrok Heavy. Get the desktop app for macOS or Windows from [x.ai/bot](https://x.ai/bot) and sign in. An iPhone companion app is also available, and your bots sync across devices.
Create a bot. Pick a suggested role or define your own, then give it a short name, one primary job, and a short description of how it should work. Focused bots work best, because a clear role gives the bot more useful context over time.
### Connect Lemon squeezy
### 1. Add the Composio plugin
Click the button. The Composio listing on x.ai opens and launches Grok Bot for you. If the app does not open on its own, click Add to Grok Bot.
[Add to Grok Bot](https://x.ai/bot/plugin/32661537)
Grok Bot opens the Composio plugin, showing its connector and skills. Click Add.
### 2. Authenticate
Go to the Installed section and click the Composio entry. You'll see its connector and skills listed.
Click Authenticate. You'll be taken to the Composio consent screen. Review the access it requests and click Authorize. Composio handles the OAuth handshake for you, so you never touch API keys or tokens.
### 3. Connect your Lemon squeezy account
Back in the chat, ask your bot to connect to Lemon squeezy or give it any Lemon squeezy task.
For example, ask it to:
- "List all recent orders for your store"
- "Create a new customer with email address"
- "Show all active discounts available now"
It will prompt you to authenticate and authorize access.
That's it. Composio's tools are now available in your Grok bot, and your Lemon squeezy account is ready to use.

## What is Grok Bot?

Grok is xAI's assistant, available as a chat interface and a bot builder for creating personal agents that run skills and connect to external apps.
With Composio Connect, your Grok bot can securely access apps like Lemon squeezy through MCP without you sharing account credentials directly with the agent.

## What is the Lemon squeezy MCP server, and what's possible with it?

The Lemon Squeezy MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Lemon Squeezy account. It provides structured and secure access to your e-commerce operations, so your agent can perform actions like managing customers, tracking orders, retrieving discounts, and handling subscriptions on your behalf.
- Customer creation and management: Quickly add new customers or pull up detailed customer lists, streamlining your onboarding and support flows.
- Order tracking and retrieval: Effortlessly fetch a paginated list of orders or drill down to specific order items to monitor sales activity and fulfillment status.
- Discount and affiliate insights: Retrieve all active discounts or affiliate partners, making it a breeze to analyze promotions and partner performance.
- Checkout and price listing: Access and filter all checkouts or prices across your stores and variants, helping you keep tabs on your sales funnels and product offerings.
- License key and redemption management: List all license key instances and track discount redemptions, ensuring easy oversight of software access and promotional usage.

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `LEMON_SQUEEZY_CREATE_CUSTOMER` | Create Customer | Tool to create a new customer. Use after verifying the store exists and you need to add a customer to it. Example: "Create a customer John Doe with email johndoe@example.com in store 1." |
| `LEMON_SQUEEZY_CREATE_DISCOUNT` | Create Discount | Tool to create a new discount code in Lemon Squeezy. Use when you need to create promotional discounts for products or subscriptions. Example: "Create a discount code SUMMER20 with 20% off in store 123." |
| `LEMON_SQUEEZY_CREATE_WEBHOOK` | Create Webhook | Tool to create a new webhook for receiving event notifications. Use when you need to register a webhook endpoint to receive events like order_created, subscription_created, etc. Specify the webhook URL, signing secret, and event types to subscribe to. |
| `LEMON_SQUEEZY_DELETE_DISCOUNT` | Delete Discount | Tool to delete a discount by its ID. Use when you need to permanently remove a discount from a store. |
| `LEMON_SQUEEZY_DELETE_WEBHOOK` | Delete Webhook | Tool to delete a webhook. Use when you need to remove a registered webhook endpoint. |
| `LEMON_SQUEEZY_LIST_ALL_AFFILIATES` | List All Affiliates | Tool to list all affiliates. Use when you need to retrieve affiliates with optional filters and pagination. |
| `LEMON_SQUEEZY_LIST_ALL_CHECKOUTS` | List All Checkouts | Tool to list all checkouts. Use when you need a paginated list of checkouts, optionally filtering by store or variant. |
| `LEMON_SQUEEZY_LIST_ALL_CUSTOMERS` | List All Customers | Retrieves a paginated list of all customers from your Lemon Squeezy store(s). Returns customer details including email, name, location, revenue metrics (MRR, total revenue), marketing status, and relationships to orders, subscriptions, and license keys. Use this action to: - Get all customers across stores or filter by specific store_id - Find a customer by email address - List customers with pagination support (default 10 per page, max 100) - Access customer portal URLs and relationship links All parameters are optional. Without filters, returns all customers ordered by creation date (newest first). |
| `LEMON_SQUEEZY_LIST_ALL_DISCOUNT_REDEMPTIONS` | List All Discount Redemptions | Tool to list all discount redemptions. Use when you need a paginated list of discount redemptions, optionally filtering by discount or order. |
| `LEMON_SQUEEZY_LIST_ALL_DISCOUNTS` | List All Discounts | Tool to list all discounts. Use when you need a paginated list of discounts after confirming authentication. |
| `LEMON_SQUEEZY_LIST_ALL_FILES` | List All Files | Retrieves a paginated list of files from Lemon Squeezy. Use this to get digital goods that can be downloaded by customers after purchase. Each file belongs to a variant and includes download URLs (signed, expiring after 1 hour, rate-limited to 10 downloads/day/IP). Filter by variant ID or control pagination with page number and size. |
| `LEMON_SQUEEZY_LIST_ALL_LICENSE_KEY_INSTANCES` | List All License Key Instances | Tool to list all license key instances. Use when you need a paginated list of license key instances, optionally filtering by license key ID. |
| `LEMON_SQUEEZY_LIST_ALL_LICENSE_KEYS` | List All License Keys | Tool to list all license keys. Use when you need a paginated list of license keys, optionally filtering by store, order, order item, or product. |
| `LEMON_SQUEEZY_LIST_ALL_ORDER_ITEMS` | List All Order Items | Tool to list all order items. Use when you need a paginated list of order items, optionally filtered by order, product, or variant. Note: the `first_order_item` field on an order object returns only one item; use `filter_order_id` here to retrieve all line items for multi-item orders. |
| `LEMON_SQUEEZY_LIST_ALL_ORDERS` | List All Orders | Tool to list all orders. Use when you need a paginated list of orders, optionally filtering by store or user email. Monetary fields (e.g., `subtotal`, `tax`, `total`) are integers in the smallest currency unit (e.g., cents); use `*_formatted` variants for display only, not calculations. |
| `LEMON_SQUEEZY_LIST_ALL_PRICES` | List All Prices | Tool to list all prices. Use when you need a paginated list of all prices, optionally filtering by variant. |
| `LEMON_SQUEEZY_LIST_ALL_PRODUCTS` | List All Products | List all products from your Lemon Squeezy store with pagination and filtering. Returns a paginated list of products ordered by name. Each product includes pricing, status, thumbnails, checkout URLs, and metadata. Useful for browsing your product catalog, checking product details, or filtering by store. |
| `LEMON_SQUEEZY_LIST_ALL_STORES` | List All Stores | Retrieves a paginated list of all stores belonging to the authenticated Lemon Squeezy account. This action returns comprehensive store information including store details (name, slug, domain, URL), financial metrics (total sales/revenue, 30-day sales/revenue), configuration (plan, country, currency), and relationship links to associated resources (products, orders, subscriptions, discounts, license keys, webhooks, and affiliates). Returns stores ordered by name in ascending order with pagination metadata. No input parameters required. Use this as a starting point to discover available stores before working with other store-specific resources. |
| `LEMON_SQUEEZY_LIST_ALL_SUBSCRIPTION_INVOICES` | List All Subscription Invoices | Tool to list all subscription invoices. Use when you need a paginated list of subscription invoices with optional filters. |
| `LEMON_SQUEEZY_LIST_ALL_SUBSCRIPTION_ITEMS` | List All Subscription Items | Tool to list all subscription items. Use when you need a paginated list of items across subscriptions for reporting or auditing. |
| `LEMON_SQUEEZY_LIST_ALL_SUBSCRIPTIONS` | List All Subscriptions | Tool to list all subscriptions. Use when you need a paginated list of subscriptions, optionally filtered by store, order, product, or status. |
| `LEMON_SQUEEZY_LIST_ALL_USAGE_RECORDS` | List All Usage Records | Retrieves all usage records from Lemon Squeezy, with optional filtering and pagination. Usage records track consumption for usage-based billing on subscription items. Each record represents reported usage with a quantity and action type (increment or set). Records are returned in descending order by creation date (newest first). Use this when you need to: - View all usage records across subscription items - Filter usage records for a specific subscription item - Paginate through large sets of usage records Note: Returns an empty list if no usage records exist or the filter matches nothing. |
| `LEMON_SQUEEZY_LIST_ALL_VARIANTS` | List All Variants | Retrieves a paginated list of product variants from Lemon Squeezy. A variant represents a variation of a product with its own pricing options, files, and license key settings. You can filter by product ID and status (pending/draft/published), and control pagination with page number and size. |
| `LEMON_SQUEEZY_LIST_ALL_WEBHOOKS` | List All Webhooks | Tool to list all webhooks. Use when you need to retrieve registered webhooks. Supports optional filtering by store ID and pagination parameters for controlling result size and navigation. |
| `LEMON_SQUEEZY_RETRIEVE_AUTHENTICATED_USER` | Retrieve Authenticated User | Tool to retrieve the currently authenticated user from Lemon Squeezy. Use when you need to get details about the user associated with the current API key, including their name, email, avatar, and account timestamps. |
| `LEMON_SQUEEZY_RETRIEVE_CUSTOMER` | Retrieve Customer | Tool to retrieve a specific customer by their ID. Use when you need detailed information about a single customer including their email, name, location, revenue metrics, and relationships to orders and subscriptions. |
| `LEMON_SQUEEZY_RETRIEVE_DISCOUNT` | Retrieve Discount | Tool to retrieve a single discount by ID. Use when you need details about a specific discount. |
| `LEMON_SQUEEZY_RETRIEVE_STORE` | Retrieve Store | Tool to retrieve a store by its ID. Use when you need to get detailed information about a specific store. Returns comprehensive store data including financial metrics, configuration, and related resource links. |
| `LEMON_SQUEEZY_RETRIEVE_WEBHOOK` | Retrieve Webhook | Tool to retrieve a webhook by its ID. Use when you need to get details of a specific webhook configuration. |
| `LEMON_SQUEEZY_UPDATE_CUSTOMER` | Update Customer | Tool to update an existing customer with the given ID. Use when you need to modify customer details like name, email, or address information. At least one attribute field must be provided to update. |
| `LEMON_SQUEEZY_UPDATE_WEBHOOK` | Update Webhook | Tool to update an existing webhook. Use when you need to modify the URL, events, or secret for a registered webhook. |
| `LEMON_SQUEEZY_VALIDATE_LICENSE` | Validate License | Tool to validate a license key and optionally a specific license key instance. Use when you need to check if a license key is valid and active. |

## Supported Triggers

None listed.

## Creating MCP Server - Stand-alone vs Composio SDK

Once connected, your Grok bot can access the Lemon squeezy MCP server through Composio to run the actions you authorize, using plain language in the chat.

## Complete Code

None listed.

## Conclusion

### Way Forward
Now that Lemon squeezy is connected, extend your setup by connecting the other apps you already use every day, so your Grok bot can run true cross-app workflows end to end.
- Connect Calendar to turn threads into scheduled meetings automatically.
- Connect Slack or Teams to post summaries, approvals, and alerts where your team works.
- Connect Notion, Linear, Jira, or Asana to convert requests into tickets, tasks, and docs.
- Connect Drive, Dropbox, or OneDrive to fetch, file, and share attachments without manual steps.
Start with one workflow you do repeatedly, then keep adding apps as you find new handoffs. With everything behind a single connection, your bot can coordinate multiple tools safely and reliably in one conversation.

## How to build Lemon squeezy MCP Agent with another framework

- [Claude Code](https://composio.dev/toolkits/lemon_squeezy/framework/claude-code)
- [Claude Cowork](https://composio.dev/toolkits/lemon_squeezy/framework/claude-cowork)
- [OpenAI Agents SDK](https://composio.dev/toolkits/lemon_squeezy/framework/open-ai-agents-sdk)
- [Claude Agent SDK](https://composio.dev/toolkits/lemon_squeezy/framework/claude-agents-sdk)
- [Codex](https://composio.dev/toolkits/lemon_squeezy/framework/codex)
- [OpenClaw](https://composio.dev/toolkits/lemon_squeezy/framework/openclaw)
- [Hermes](https://composio.dev/toolkits/lemon_squeezy/framework/hermes-agent)
- [Atomic Agent](https://composio.dev/toolkits/lemon_squeezy/framework/atomic-agent)
- [Google ADK](https://composio.dev/toolkits/lemon_squeezy/framework/google-adk)
- [LangChain](https://composio.dev/toolkits/lemon_squeezy/framework/langchain)
- [Vercel AI SDK](https://composio.dev/toolkits/lemon_squeezy/framework/ai-sdk)
- [Mastra AI](https://composio.dev/toolkits/lemon_squeezy/framework/mastra-ai)
- [LlamaIndex](https://composio.dev/toolkits/lemon_squeezy/framework/llama-index)
- [CrewAI](https://composio.dev/toolkits/lemon_squeezy/framework/crew-ai)
- [Pydantic AI](https://composio.dev/toolkits/lemon_squeezy/framework/pydantic-ai)
- [AutoGen](https://composio.dev/toolkits/lemon_squeezy/framework/autogen)

## Related Toolkits

- [Addresszen](https://composio.dev/toolkits/addresszen) - Addresszen is a real-time address autocomplete and verification service. It helps capture accurate, deliverable addresses with instant suggestions and validation.
- [Amazon](https://composio.dev/toolkits/amazon) - Amazon is a global e-commerce marketplace for products, sellers, and digital services. Its broad selection and reliable fulfillment help businesses reach customers worldwide.
- [Asin data api](https://composio.dev/toolkits/asin_data_api) - Asin data api gives you detailed, real-time product data from Amazon, including price, rank, and reviews. Perfect for e-commerce pros and data-driven marketers who need instant marketplace insights.
- [Baselinker](https://composio.dev/toolkits/baselinker) - BaseLinker is an all-in-one e-commerce management platform connecting stores, marketplaces, carriers, and more. It streamlines order processing, inventory control, and automates your sales operations.
- [Bestbuy](https://composio.dev/toolkits/bestbuy) - Best Buy is a leading retailer offering APIs for product, store, and recommendation data. Instantly access up-to-date retail insights for smarter shopping and decision-making.
- [Bluebarry](https://composio.dev/toolkits/bluebarry) - Bluebarry is a customer data and product-advice platform for shopper identities, profiles, and recommendations. It helps teams analyze customer context and synchronize shopper data for better commerce experiences.
- [Btcpay server](https://composio.dev/toolkits/btcpay_server) - BTCPay Server is a free, open-source, self-hosted Bitcoin payment processor. It lets merchants accept Bitcoin payments directly, cutting out middlemen and boosting privacy.
- [Cdr platform](https://composio.dev/toolkits/cdr_platform) - Cdr platform is an API for purchasing carbon dioxide removal services. It enables businesses to offset emissions by accessing verified carbon removal projects.
- [ClickFunnels 2.0](https://composio.dev/toolkits/clickfunnels) - ClickFunnels 2.0 is a sales funnel and online business platform for marketing, commerce, courses, and websites. It helps businesses build and manage customer journeys from one workspace.
- [Cloudcart](https://composio.dev/toolkits/cloudcart) - CloudCart is an e-commerce platform for building and managing online stores. It helps businesses streamline product listings, orders, and customer engagement.
- [Clover](https://composio.dev/toolkits/clover) - Clover is a point-of-sale and merchant platform that provides payments, orders, inventory, and device APIs. Use it to manage orders, customers, employees, payments, and receipts across locations.
- [Commerce Layer](https://composio.dev/toolkits/commerce_layer) - Commerce Layer is a headless commerce platform with transactional APIs for orders, inventory, pricing, customers, and fulfillment. Use it to centralize ecommerce operations and surface real-time commerce data.
- [Countdown api](https://composio.dev/toolkits/countdown_api) - Countdown API gives you real-time, structured eBay product data, reviews, and seller feedback. Perfect for powering price monitoring, product research, or marketplace analytics workflows.
- [Creem](https://composio.dev/toolkits/creem) - Creem is a merchant-of-record platform for managing products, checkouts, subscriptions, customers, licenses, discounts, transactions, refunds, and revenue operations. Helps businesses handle billing, compliance, and revenue workflows with a unified billing stack.
- [Dpd2](https://composio.dev/toolkits/dpd2) - Dpd2 is a robust email management platform for handling, sorting, and automating email workflows. Streamline your communications and boost productivity with advanced sorting, labeling, and response tools.
- [eBay](https://composio.dev/toolkits/ebay) - eBay is an online marketplace for buying and selling products worldwide. Its public APIs help developers access listings, categories, and marketplace data.
- [Finerworks](https://composio.dev/toolkits/finerworks) - FinerWorks is an online platform for fine art and photo printing services. Artists and photographers use it to order custom prints and manage print inventory efficiently.
- [Fingertip](https://composio.dev/toolkits/fingertip) - Fingertip is a business management platform for selling, booking, and customer engagement—all from a single link. It helps businesses streamline operations and connect with customers across social channels.
- [Fraudlabs pro](https://composio.dev/toolkits/fraudlabs_pro) - FraudLabs Pro is an online payment fraud detection service for e-commerce and merchants. It helps minimize chargebacks and revenue loss by detecting and preventing fraudulent transactions.
- [Gelato](https://composio.dev/toolkits/gelato) - Gelato is a print-on-demand platform for creating products, managing orders, checking stock, and finding shipping options. It helps businesses sell globally with local production, pricing, and fulfillment.

## Frequently Asked Questions

### What are the differences in Tool Router MCP and Lemon squeezy MCP?

With a standalone Lemon squeezy MCP server, the agents and LLMs can only access a fixed set of Lemon squeezy tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Lemon squeezy and many other apps based on the task at hand, all through a single MCP endpoint.

### Can I use Tool Router MCP with Grok Bot?

Yes, you can. Grok Bot fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right Lemon squeezy tools.

### Can I manage the permissions and scopes for Lemon squeezy while using Tool Router?

Yes, absolutely. You can configure which Lemon squeezy scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

### How safe is my data with Composio Tool Router?

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Lemon squeezy data and credentials are handled as safely as possible.

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
