LotsCommerce for
your AI agent.
Add products with sizes and colours, update stock, accept and ship orders, create discount codes and see what needs you today, from your agent or the LotsCommerce dashboard. Customers pay you directly through your own Stripe or Razorpay account, UPI or WhatsApp; you pay per store.
https://api.lotscommerce.com/mcpAsk your agent, for example.
Once LotsCommerce is connected, plain requests like these work.
- “Add the new summer tees in S, M and L at $24 and publish them.”
- “Which orders are waiting for me to accept?”
- “Create a 10% code WELCOME10 for first orders.”
Connect in two minutes.
Claude
Settings → Connectors → Add custom connector. Paste the URL, connect, and sign in with your Lots account.
ChatGPT
Plugins → + → Add custom MCP server. Name it, enter the URL under Connection, choose OAuth, tick I understand and want to continue, then Create as a plugin. Install it, sign in, and type @ in a new chat to pick it. Full MCP is on Business, Enterprise and Edu, on the web; Pro is read and fetch only.
Claude Code
claude mcp add --transport http lots-commerce https://api.lotscommerce.com/mcp
Codex
codex mcp add lots-commerce --url https://api.lotscommerce.com/mcp
Cursor, Windsurf and others
{
"mcpServers": {
"lots-commerce": {
"url": "https://api.lotscommerce.com/mcp"
}
}
}Cloud agents without MCP
Give the agent https://api.lotscommerce.com/docs.md and an API key from lotstech.com/api. It calls the REST API with Authorization: Bearer <key>.
Every server uses OAuth: your agent acts as you, inside your own roles and workspaces. You can disconnect it at any time from the app.
66 tools, also REST endpoints.
Each tool is available over MCP and as a REST endpoint under https://api.lotscommerce.com/api/v1/lotscommerce.
Accept a store invitation
Accept an invitation to a store's team with the token from the invitation link. The signed-in account's email must match the invitation.
Add Custom Domain
Connect the person's own domain (for example shop.example.com) to a store. Returns one CNAME record pointing to customers.lotscommerce.com for the owner to add at their DNS provider; HTTPS is set up automatically.
Add Product
Add a product to a store with its variants (for example sizes or colours), prices in minor units of the store currency, stock, images and category. Products start as drafts unless status is published.
Add Product Variant
Creates a variant with options, pricing, identifiers, dimensions, and inventory behavior on an owned product.
Archive a store
Archive a store: owner only, confirmed by typing the store name in confirm_name. The storefront goes offline and billing for the store stops; nothing is deleted. The owner can restore it for 30 days. Show the person what this does and get their go-ahead first.
Bulk Add Products
Add up to 100 products to a store in one call, each with the same fields as add_product.
Choose a LotsCommerce plan or add credits
Create a checkout link. Pass plan (starter, pro or business) and cycle (monthly or annual) for a plan, or amount_usd (10 to 1000) to add LotsTech Credits. Give the link to the person to pay in their browser; never ask for card details in chat.
Connect Razorpay
Record the store's own Razorpay account after the owner connects it. Prefer start_payment_oauth, which gives the owner a Razorpay sign-in link.
Connect Stripe
Connect the store owner's own Stripe account. Returns the store's Payments page, where the owner pastes one Stripe restricted key, and the steps page for creating that key. Never ask for or accept a Stripe key in chat. Charges run on the owner's Stripe account and settle to their Stripe balance; LotsCommerce takes 0% of sales. Stripe works in the countries Stripe supports.
create Category
Create a product category, optionally under a parent category.
create Collection
Create a product collection, such as Summer or Best sellers.
Create Discount
Creates a standard fixed or percentage order discount scoped to the store sales channel.
Create Store
Create a store with a free name.lotscommerce.com address. Needs room on the person's LotsCommerce plan or LotsTech Credits (check get_billing). The country decides the store currency (for example US sells in USD, IN in INR) and cannot change later. The store starts as a draft; publish_store puts it live.
delete Category
Delete a product category. Products in it are kept.
delete Collection
Delete a product collection. Its products are kept.
Delete Custom Domain
Removes a custom domain from a store and its storefront deployment.
Delete Discount
Deletes a store-owned discount code.
Delete Product
Deletes a product and its derived Lots snapshot after validating store ownership.
Delete Product Variant
Deletes a variant after validating store and product ownership.
Get Checkout Order
Gets a tenant-scoped checkout order request, payment attempts, and timeline.
Get Customer
Gets one store customer, addresses, and store-scoped order summary after customer-group ownership checks.
Get LotsCommerce billing
Show how the caller's stores are paid for: the plan (if any), whether today is covered or paid from LotsTech Credits, the credit balance, and the plans to choose from. Each store needs room on a plan or credits; an unfunded store keeps its storefront and data but pauses new orders and becomes read-only until funded.
Get Order
Get one confirmed order: items, totals, customer, addresses, payment and fulfilment.
Get Payment Settings
Gets safe payment method and order acceptance settings for a store.
Get Product
Get one product with its variants, prices, stock settings, images and categories.
Get Shipping Settings
Gets tenant-safe business origin, zones, methods, and provider connection summaries.
Get Store
Gets one LotsCommerce tenant, storefront settings, user role, and public URL.
Get Store Analytics
Revenue, orders, average order value and the visit-to-order funnel for one store over a date range, with daily rows and the totals compared with the previous period of the same length.
Get Tax Settings
Gets tenant-safe GST/tax, invoice, and category configuration.
Invite a store teammate
Invite a teammate to a store by email with a role (admin, manager, staff or viewer). They get an email with a link and have access only after they accept it, signed in with that email. Returns invite_url to share if the email does not arrive. Inviting someone again sends a fresh link.
Leave a store
Leave a store's team. Anyone except the owner can leave; the owner archives the store instead. Rejoining needs a new invitation.
list Categories
List a store's product categories, including parent and subcategories and their order.
List Checkout Orders
Lists pre-fulfillment checkout order requests and their independent payment/acceptance states.
list Collections
List a store's product collections.
List Custom Domains
Lists custom domains configured for a store.
List Customers
List a store's customers with search and paging.
List Discounts
List a store's discount codes.
List Inventory
List stock per product variant: in stock, reserved by open orders, incoming and available.
List Orders
List a store's confirmed orders with paging and filters.
List Product Reviews
Lists tenant-scoped product reviews for merchant moderation.
List Products
List a store's products with search, status filter and paging.
List Store Activity
Lists recent merchant and commerce activity for an accessible store.
List Store Team Members
Lists a store's team: active members, pending invitations (with when they expire) and removed members.
List Stores
Lists LotsCommerce tenants where the authenticated user is an active member.
Moderate Product Review
Publishes or rejects a tenant-owned product review.
Operate Checkout Order
Applies fulfillment, shipment, cancellation, tracking, invoice, and manual refund actions.
Publish Store
Put a store's storefront live at its address so shoppers can browse and buy.
Remove Store Team Member
Deactivates a store team member without deleting audit history.
Reply to Product Review
Adds or updates the merchant reply on a tenant-owned review.
Restore an archived store
Restore a store archived in the last 30 days: owner only. It needs room on the person's plan or LotsTech Credits; the storefront comes back online.
Start Payment Provider Connection
Start connecting the store's own Razorpay account: returns a Razorpay sign-in and consent link for the store owner to open in their browser. Payments settle straight to the merchant's Razorpay account.
Start Razorpay Account Onboarding
Get a link for the store owner to open in their browser to sign in to Razorpay, or create a Razorpay account, and connect it to the store. For businesses registered in India. Money from online payments then settles to the owner's own Razorpay account.
update Category
Rename, move or reorder a product category.
Update Checkout Order
Applies an audited payment verification or seller acceptance action.
update Collection
Rename a product collection or change its handle.
Update Discount
Changes the status of a store-owned discount code.
Update Inventory
Set the stock of a product variant.
Update Payment Settings
Turn checkout on or off, choose test or live mode, and set which payment methods the store offers (Stripe, Razorpay, UPI to a UPI ID, WhatsApp orders) and whether verified payments are accepted automatically. A Stripe key is pasted by the owner on the Payments page, never sent here from a chat.
Update Product
Change a product: title, description, status, prices, variants, images, categories, SEO and more.
Update Product Variant
Updates a variant and its prices after validating store and product ownership.
Update Shipping Settings
Updates business origin, zones, and manual shipping methods.
Update Store
Update a store's name, description, settings or status. Set status to archived to stop billing for the store and take its storefront offline (nothing is deleted); set it back to draft or active to restore it, which needs room on your plan or LotsTech Credits.
Update Store Team Member
Updates a store team member role or active status.
Update Storefront Settings
Saves, publishes, or resets versioned storefront appearance, content, navigation, policies, and SEO settings.
Update Tax Settings
Updates GST registration, pricing, shipping tax, invoice, and tax categories.
Verify Custom Domain
Check a connected domain: reports whether DNS is in place, the security certificate is being issued, or the store is live on the domain.
Questions, answered.
What is the LotsCommerce MCP server URL?
https://api.lotscommerce.com/mcp. Add it as a remote MCP server (custom connector) in your AI agent and sign in with your Lots account.
Which agents work with LotsCommerce?
Claude, ChatGPT (Business, Enterprise and Edu, from Plugins), Claude Code, Codex, Cursor, Windsurf and any other client that supports remote MCP with OAuth. Agents without MCP use the REST API with an API key.
Where are the LotsCommerce API docs?
https://api.lotscommerce.com/docs.md: Markdown written so an AI agent can read it. Requests go to https://api.lotscommerce.com/api/v1/lotscommerce with Authorization: Bearer <your key>.
How do I get a LotsCommerce API key?
Use Generate key on this page or at lotstech.com/api. Sign in with your LotsTech account, name the key and copy it once. You can revoke it there at any time.
Does MCP or API access cost extra?
No. It is included with LotsCommerce. You pay only for LotsCommerce's own plan or usage, and your AI provider bills its own usage.