Connect Codex to LotsStore
Manage your products, stock and orders in LotsStore from Codex. Add LotsStore to Codex as a remote MCP server and sign in once.
LotsStore MCP server URL
https://api.lotsstore.app/mcpOr let Codex guide the setup: send it this prompt
Read https://lotsstore.app/skill.md and help me connect LotsStore for you.What Codex can do with LotsStore
Once connected, Codex can:
- Add and update products, variants, prices, categories and collections. New products start as drafts.
- Check and set stock for each variant.
- See new orders, accept or reject them, and mark them processing, shipped or delivered.
- Create and manage discount codes.
- Read your sales: revenue, orders, average order value and where visitors drop off.
- Look up customers, and moderate and reply to product reviews.
- Publish your storefront once you approve its address.
The LotsStore dashboard does the whole job on its own too: products, stock, orders, customers, discounts, payments and your storefront. Your agent for speed, the dashboard for control.
You need
- Codex CLI, the Codex app or the IDE extension
- A LotsStore account. You can create one during sign-in.
Connect Codex to LotsStore
Add the server
Run this in your terminal.
codex mcp add lots-commerce --url https://api.lotsstore.app/mcpSign in
Run this and finish the sign-in in the browser that opens.
codex mcp login lots-commerceCheck the connection
Start Codex and run /mcp; lots-commerce is listed with its tools. In the Codex app or IDE extension, add it instead under Settings, then MCP servers: select Add server, choose Streamable HTTP, paste the URL, save and select Authenticate.
/mcp
What to ask next
- “Which orders are waiting for me to accept?”
- “We are out of the blue mug. Set its stock to 0 and tell me who ordered it this week.”
- “Add a summer tee in sizes S, M and L as a draft so I can check it before it goes live.”
- “How did my store do last week? Show revenue, orders and where visitors drop off.”
- “Add every product in products.csv in this repo to my store as a draft.”
If something goes wrong
- Tools fail with an auth error
- Run codex mcp login lots-commerce again; sessions expire after a period of inactivity.
Steps checked on 13 October 2026 against Codex: MCP.
Pricing
Current plans and prices are on https://lotsstore.app/pricing. Your agent’s own plan or usage fees are separate.
Codex and LotsStore: questions
How do I connect Codex to LotsStore?
Follow the Codex setup above to add https://api.lotsstore.app/mcp. Complete sign-in using the authentication method shown. Then ask “List my stores in LotsStore”.
Does LotsStore work in the Codex app and the IDE extension?
Yes. Add it under Settings, then MCP servers: select Add server, choose Streamable HTTP, paste https://api.lotsstore.app/mcp, save and select Authenticate.
Do I need an API key to use LotsStore with Codex?
No. Codex signs in to LotsStore in your browser. API keys are for the REST API, for scripts and your own apps.
What does LotsStore cost?
Current plans and prices are on https://lotsstore.app/pricing. Your agent’s own plan or usage fees are separate.
Can my agent take payments or move money?
No. Shoppers pay straight into your own Stripe or Razorpay account, by UPI to your UPI ID, or by ordering on WhatsApp, and LotsStore never holds the money. Your agent never asks for card details or payment keys: you connect Stripe or Razorpay yourself.
Can my agent delete my products or my store?
Your agent can delete a product or a category when you ask it to, and that cannot be undone, so it should confirm with you first. It cannot delete a store. The owner can archive one, which takes the storefront offline and stops billing for it, and restore it within 30 days.
Where do I see what my agent changed?
Everything your agent does shows up in your LotsStore dashboard. You approve the connection when you sign in, and you can disconnect it at any time from connected apps.
Tools fail with an auth error
Run codex mcp login lots-commerce again; sessions expire after a period of inactivity.