MCP Server Documentation
LotsCommerce MCP Server
Connect AI agents like Claude and Cursor to LotsCommerce using the Model Context Protocol
Quick Information
MCP Endpoint
https://api.lotscommerce.com/mcpAvailable Tools
66 tools
Authentication
OAuth 2.1 with PKCE
Setup Instructions
Configure your MCP client to connect to LotsCommerce
Add this configuration to your Cursor settings:
{
"mcpServers": {
"lotsstore": {
"url": "https://api.lotscommerce.com/mcp"
}
}
}Steps:
- Open Cursor Settings (Cmd/Ctrl + ,)
- Search for "MCP Servers"
- Click "Edit in settings.json"
- Add the configuration above
- Restart Cursor
- Cursor will automatically discover OAuth endpoints and handle authentication
Authentication
This server implements OAuth 2.1 with PKCE for secure authentication
OAuth 2.1 with PKCE (S256)
Most modern MCP clients will automatically discover and handle the OAuth flow. The server uses OAuth 2.1 with PKCE (S256) for secure authentication.
OAuth Discovery
https://api.lotscommerce.com/.well-known/oauth-authorization-serverAuthorization Endpoint
https://api.lotscommerce.com/api/oauth/authorizeToken Endpoint
https://api.lotscommerce.com/api/oauth/tokenHow it works:
- Clients automatically discover OAuth endpoints
- Users are redirected to authenticate via browser
- Authorization code is exchanged for access token
- Bearer token is used for all MCP requests
Available Tools
66 MCP tools available for LotsCommerce. Use these tool names when calling the MCP server.
analytics
billing
create_checkoutChoose 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.
get_billingGet 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.
customers
get_customerGet Customer
Gets one store customer, addresses, and store-scoped order summary after customer-group ownership checks.
list_customersList Customers
List a store's customers with search and paging.
discounts
create_promotionCreate Discount
Creates a standard fixed or percentage order discount scoped to the store sales channel.
delete_promotionDelete Discount
Deletes a store-owned discount code.
list_promotionsList Discounts
List a store's discount codes.
update_promotionUpdate Discount
Changes the status of a store-owned discount code.
domains
add_custom_domainAdd 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.
delete_custom_domainDelete Custom Domain
Removes a custom domain from a store and its storefront deployment.
list_custom_domainsList Custom Domains
Lists custom domains configured for a store.
verify_custom_domainVerify 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.
inventory
list_inventoryList Inventory
List stock per product variant: in stock, reserved by open orders, incoming and available.
update_inventoryUpdate Inventory
Set the stock of a product variant.
orders
get_checkout_orderGet Checkout Order
Gets a tenant-scoped checkout order request, payment attempts, and timeline.
get_orderGet Order
Get one confirmed order: items, totals, customer, addresses, payment and fulfilment.
list_checkout_ordersList Checkout Orders
Lists pre-fulfillment checkout order requests and their independent payment/acceptance states.
list_ordersList Orders
List a store's confirmed orders with paging and filters.
operate_checkout_orderOperate Checkout Order
Applies fulfillment, shipment, cancellation, tracking, invoice, and manual refund actions.
update_checkout_orderUpdate Checkout Order
Applies an audited payment verification or seller acceptance action.
payments
connect_razorpayConnect 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_stripeConnect 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.
get_payment_settingsGet Payment Settings
Gets safe payment method and order acceptance settings for a store.
start_payment_oauthStart 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_onboardingStart 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_payment_settingsUpdate 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.
products
add_productAdd 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_variantAdd Product Variant
Creates a variant with options, pricing, identifiers, dimensions, and inventory behavior on an owned product.
bulk_add_productsBulk Add Products
Add up to 100 products to a store in one call, each with the same fields as add_product.
create_categorycreate Category
Create a product category, optionally under a parent category.
create_collectioncreate Collection
Create a product collection, such as Summer or Best sellers.
delete_categorydelete Category
Delete a product category. Products in it are kept.
delete_collectiondelete Collection
Delete a product collection. Its products are kept.
delete_productDelete Product
Deletes a product and its derived Lots snapshot after validating store ownership.
delete_product_variantDelete Product Variant
Deletes a variant after validating store and product ownership.
get_productGet Product
Get one product with its variants, prices, stock settings, images and categories.
list_categorieslist Categories
List a store's product categories, including parent and subcategories and their order.
list_collectionslist Collections
List a store's product collections.
list_productsList Products
List a store's products with search, status filter and paging.
update_categoryupdate Category
Rename, move or reorder a product category.
update_collectionupdate Collection
Rename a product collection or change its handle.
update_productUpdate Product
Change a product: title, description, status, prices, variants, images, categories, SEO and more.
update_product_variantUpdate Product Variant
Updates a variant and its prices after validating store and product ownership.
reviews
list_product_reviewsList Product Reviews
Lists tenant-scoped product reviews for merchant moderation.
moderate_product_reviewModerate Product Review
Publishes or rejects a tenant-owned product review.
reply_product_reviewReply to Product Review
Adds or updates the merchant reply on a tenant-owned review.
shipping
get_shipping_settingsGet Shipping Settings
Gets tenant-safe business origin, zones, methods, and provider connection summaries.
update_shipping_settingsUpdate Shipping Settings
Updates business origin, zones, and manual shipping methods.
stores
archive_storeArchive 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.
create_storeCreate 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.
get_storeGet Store
Gets one LotsCommerce tenant, storefront settings, user role, and public URL.
list_store_activityList Store Activity
Lists recent merchant and commerce activity for an accessible store.
list_storesList Stores
Lists LotsCommerce tenants where the authenticated user is an active member.
publish_storePublish Store
Put a store's storefront live at its address so shoppers can browse and buy.
restore_storeRestore 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.
update_storeUpdate 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_storefront_settingsUpdate Storefront Settings
Saves, publishes, or resets versioned storefront appearance, content, navigation, policies, and SEO settings.
taxes
get_tax_settingsGet Tax Settings
Gets tenant-safe GST/tax, invoice, and category configuration.
update_tax_settingsUpdate Tax Settings
Updates GST registration, pricing, shipping tax, invoice, and tax categories.
team
accept_store_invitationAccept 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_store_memberInvite 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_storeLeave 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_store_membersList Store Team Members
Lists a store's team: active members, pending invitations (with when they expire) and removed members.
remove_store_memberRemove Store Team Member
Deactivates a store team member without deleting audit history.
update_store_memberUpdate Store Team Member
Updates a store team member role or active status.