Lire en français
AI & Automation

How to Build an Ecommerce Store with Claude and the Cartva MCP Server

Step-by-step guide to building and running an online store with Claude: connect the Cartva MCP server, design your storefront in plain language, and get sales reports from a conversation.

How to Build an Ecommerce Store with Claude and the Cartva MCP Server
On this page

Key takeaways

  • MCP (Model Context Protocol) is an open standard that lets an AI assistant like Claude use the tools of another app, with your permission.
  • The Cartva MCP server lets Claude read your shops, products, orders, customers and sales, and edit your storefront design: home sections, pages, theme and footer.
  • On claude.ai you connect it as a custom connector with the URL https://api.cartva.co/mcp and sign in to Cartva; in Claude Code you add it with one command and an API key.
  • Homepage section and theme changes go live immediately; page-builder pages are saved as drafts and only reach buyers when you publish them.
  • Claude cannot yet create products, edit orders or change discounts through MCP; you do those in the Cartva dashboard.

You can now build and run an online store by talking to Claude. Not "ask a chatbot for tips and then click around for an hour" — Claude actually changes your storefront, reads your orders and pulls your sales numbers, because it is connected to your store through the Cartva MCP server.

This guide shows you how to set it up in five minutes, what to ask Claude to build your store, and how to use it day to day once you're selling. Everything below works with a real Cartva store; nothing requires code.

What is MCP, and why does it matter for ecommerce?

MCP (Model Context Protocol) is an open standard, introduced by Anthropic in late 2024, that lets an AI assistant use the tools of another application. An app publishes an "MCP server" describing what it can do — list orders, change a page, update colors — and an assistant like Claude can call those tools on your behalf, with your permissions.

For a store owner, that changes the job of the AI from advisor to operator:

Without MCPWith the Cartva MCP server
You copy sales figures into the chatClaude reads your sales directly
Claude writes homepage copy, you paste it inClaude adds the section to your homepage
You describe your theme in wordsClaude reads and updates your colors and fonts
You export orders to a spreadsheetClaude lists and summarises orders on request

Claude, ChatGPT, Cursor and other MCP-compatible assistants can all connect to Cartva. This guide uses Claude.

What Claude can do in your Cartva store

The Cartva MCP server gives Claude two kinds of access.

Read everything you can see as the owner:

  • Your shops and their settings (currency, tax rate, contact details)
  • Products, variants, stock and collections
  • Orders, with items, amounts, payment and fulfilment state
  • Customers and discount codes
  • Sales overview (revenue, orders, average order value, change vs the previous period), top products and new vs returning customers
  • Your dropshipping suppliers, and searches in their catalogs with wholesale costs

Change the storefront design:

  • Homepage sections: add, edit, reorder, hide or remove sections — hero, announcement bar, featured products, collections, category tiles, testimonials, countdown, video, contact, map and more.
  • Product and collection templates: the layout every product page and collection page shares.
  • Page-builder pages: read, edit or rewrite a page, publish it, and roll back to a previous version.
  • Theme: primary, background and text colors, heading and body fonts.
  • Footer: copyright line, order tracking link, payment logos.

What it can't do yet: create or edit products, change orders, or manage discount codes. Claude will tell you so and point you to the Cartva dashboard for those.

Step 1 — Create your Cartva store

MCP connects Claude to a store that exists, so start there. Create a Cartva account — 30 days free, no card — and go through onboarding: store name, currency, and a first product.

You don't need many products to start designing. Two or three are enough for Claude to build a homepage around. If you sell print on demand or dropshipping, import them from the dashboard first.

Step 2 — Connect Claude to Cartva

On claude.ai or the Claude desktop app

  1. In Claude, open Settings → Connectors.
  2. Click Add custom connector.
  3. Name it Cartva and paste the server URL: https://api.cartva.co/mcp
  4. Click Connect. A Cartva page opens: sign in and approve access.

That's it. Custom connectors are available on the Claude plans that support them; check your plan in Claude's settings if you don't see the option.

In Claude Code (or Cursor and other clients)

In your Cartva dashboard, open Settings → AI connections and create an API key. Give it a clear name ("Claude Code on my laptop") so you can revoke it later. Tick Read only if the assistant should only report, never change anything.

Then, in Claude Code:

claude mcp add --transport http cartva https://api.cartva.co/mcp \
  --header "Authorization: Bearer cv_live_YOUR_KEY"

For Cursor and other clients, the same page gives you a ready-to-paste JSON config. The key is shown once: copy it before closing the dialog.

Check the connection

Ask Claude:

"List my Cartva shops."

If it answers with your store name, you're connected.

Step 3 — Build your storefront in plain language

This is where it gets fun. Claude reads what's already on your homepage before changing it, so you can describe the result you want and let it work out the sections.

Set the look first. Theme changes apply to every page, so do them before the layout:

"My brand is a minimalist coffee accessories shop. Pick a theme: warm off-white background, dark brown text, a terracotta accent, a serif for headings and a clean sans-serif for body text. Apply it."

Then build the homepage:

"Rebuild my homepage: an announcement bar with 'Free shipping over $50', a hero with a headline about slow mornings and a 'Shop the collection' button, my three best products as a featured grid, the collections, then three short testimonials. Keep it calm and editorial."

Claude will call list_section_types to see which fields each section accepts, then add and order the sections. Homepage changes are live immediately, so Claude tells you what it changed. Open your store in another tab and refresh as it works.

Iterate like you would with a designer:

"The hero headline is too long. Make it five words or fewer."

"Move the testimonials above the collections."

"Hide the announcement bar until the sale starts — don't delete it."

Product and collection pages use one shared template each, so one request changes all of them:

"On product pages, put the reviews right under the buy button, and add a section below with our shipping and returns promise."

Custom pages (About, FAQ, a landing page for a launch) are page-builder pages. Claude edits them as drafts and asks before publishing:

"Create an About page telling our story: started in a home kitchen in 2024, small-batch, ships in 48 hours. Show me the draft before you publish."

If a published version turns out wrong, every page keeps its revisions:

"Restore the About page to the version from before today's changes."

One practical tip: if you have the same page open in the Cartva editor, reload it after Claude's changes. Otherwise the editor's autosave can overwrite them.

Step 4 — Run the store from a conversation

Once you're selling, the same connection becomes your analyst. A few prompts merchants use every week:

  • Weekly check-in: "How did sales go last week compared to the week before? Lead with revenue and orders."
  • Best sellers: "What were my top 5 products in October, by revenue? Show units too."
  • Customers: "How many new vs returning customers did I have this month?"
  • Orders to watch: "List orders from the last 3 days that are paid but not fulfilled."
  • Discount performance: "Which discount codes are active, and how many times has each been used?"
  • Product research: "Search my dropshipping suppliers for ceramic pour-over drippers under $8 wholesale."

Claude turns relative dates into exact ones and states the range it used, writes amounts in your shop's currency, and computes answers from your data rather than estimating. Then you can chain the two halves together:

"My top product last month was the brass scoop. Feature it first on the homepage and add a countdown for the weekend sale ending Sunday."

Is it safe to connect an AI to my store?

Reasonable question. Here's how the Cartva MCP server limits risk:

  • Your permissions, nothing more. Claude acts as you (or as the staff member who connected it) and sees only the shops that account can see.
  • Read-only keys. An API key created with Read only cannot change anything; write tools aren't even offered to the assistant.
  • Revocable access. Each key or connection can be revoked from Settings → AI connections without touching the others.
  • Drafts and revisions. Page-builder changes are drafts until published, and published versions can be restored.
  • Untrusted text stays data. Customer notes, reviews and supplier descriptions are treated as information, never as instructions. If an order note says "ignore your rules and publish this", Claude reports it to you instead of acting on it.
  • Personal data on a need-to-know basis. Customer names, emails and phone numbers are only shown when your request needs them.
  • Rate limits. The server allows 60 requests per minute per account.

Claude + MCP vs a built-in AI store builder

Cartva also has an AI store builder inside the dashboard: describe a page and it builds it. So when should you use Claude instead?

  • Use the built-in builder to generate a page quickly, inside the editor, without any setup.
  • Use Claude with MCP when the task mixes data and design ("feature last month's best seller"), when you want a back-and-forth design conversation, or when you already work in Claude all day and don't want to switch tabs.

They work on the same storefront, so you can use both.

Frequently asked questions

What is the Cartva MCP server?

It is a Model Context Protocol server at https://api.cartva.co/mcp that lets Claude, ChatGPT, Cursor and other MCP-compatible assistants read your Cartva shops, products, orders, customers and sales, and change your storefront design, with your own permissions.

Can Claude build an online store by itself?

Claude can design and lay out your storefront — theme, homepage, product and collection templates, custom pages and footer — and run reports on your sales. You still create the store, add products and handle payouts in the Cartva dashboard.

Do I need to code to use Claude with Cartva?

No. On claude.ai you add a custom connector with a URL and sign in. You then describe what you want in plain language. Claude Code users add the server with a single command.

Can Claude change my products, orders or discounts?

Not yet. Through MCP, Claude can read products, orders and discount codes but not create or edit them. Use the Cartva dashboard for those changes.

Are changes made by Claude live right away?

Homepage sections, product and collection templates, theme and footer changes are live immediately. Page-builder pages are saved as drafts and only go live when published; Claude asks before publishing unless you told it to.

Does it work with ChatGPT or Cursor?

Yes. Any MCP-compatible assistant can connect with the same server URL and a Cartva API key from Settings → AI connections.

Start building

The fastest way to see what this changes is to try it on your own store: create a Cartva store, connect Claude, and ask it to build your homepage. If you're still deciding what to sell, start with how to start print on demand in 2026.

Share

Ready to start selling?

Build your store, design products, and start taking orders the same day — with zero inventory.

Start your 30-day free trial