Open-source B2B and marketplace ecommerce; new stores include an MCP server for AI agents.
Sellbase
ภาพรวม
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Open source commerce in your own Supabase: catalog, checkout, orders and bookings, run by your AI.
สามเสาของ PopNx MCP
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
- เสียงผู้ใช้iยังไม่มีรีวิวรีวิวเปิดพร้อมระบบบัญชีในขั้นถัดไป
- ผลตรวจเบื้องต้นของเราiผ่าน 1 จาก 1 ข้อตรวจจากข้อมูลที่เปิดอยู่ ยังไม่ได้สแกนโค้ด
- การใช้งานiยังไม่ได้วัด★ –
ใช้ทำอะไรได้
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
- การเชื่อมต่อ: รันบนเครื่อง
- ช่องทาง (transport): stdio
- หมวด: ร้านค้าออนไลน์และรับเงิน
- ต้องใส่ค่าเหล่านี้: SELLBASE_URL, SELLBASE_API_TOKEN
ติดตั้ง
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ก่อนติดตั้ง
- ผลตรวจเบื้องต้น: ผ่าน 1 จาก 1 ข้อ
- รันในเครื่องคุณด้วยสิทธิ์ของผู้ใช้คุณ (ไฟล์ อินเทอร์เน็ต แอปต่าง ๆ)
- ค่าที่คุณต้องใส่เอง:
SELLBASE_URL,SELLBASE_API_TOKEN,SUPABASE_ANON_KEY
ค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
- npmติดตั้ง Node.js (มีคำสั่ง npx) ในเครื่อง
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"sellbase": {
"command": "npx",
"args": [
"-y",
"sellbase",
"mcp"
],
"env": {
"SELLBASE_URL": "ใส่ค่าของคุณ",
"SELLBASE_API_TOKEN": "ใส่ค่าของคุณ",
"SUPABASE_ANON_KEY": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add sellbase --env SELLBASE_URL='ใส่ค่าของคุณ' --env SELLBASE_API_TOKEN='ใส่ค่าของคุณ' --env SUPABASE_ANON_KEY='ใส่ค่าของคุณ' -- npx -y sellbase mcpเติมค่าที่เว้นว่างไว้ก่อนรัน
หรือคัดลอกค่าตั้งเอง
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"sellbase": {
"command": "npx",
"args": [
"-y",
"sellbase",
"mcp"
],
"env": {
"SELLBASE_URL": "ใส่ค่าของคุณ",
"SELLBASE_API_TOKEN": "ใส่ค่าของคุณ",
"SUPABASE_ANON_KEY": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
หรือคัดลอกค่าตั้งเอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"sellbase": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"sellbase",
"mcp"
],
"env": {
"SELLBASE_URL": "ใส่ค่าของคุณ",
"SELLBASE_API_TOKEN": "ใส่ค่าของคุณ",
"SUPABASE_ANON_KEY": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าที่ต้องใส่เอง
- Your store API: /functions/v1/sellbase-api. `npx sellbase init` writes it to .env.sellbase, which the server also reads.
- Agent token (sb_live_…) with the scopes the owner granted. Create one with `npx sellbase token create` or in Admin → Settings → AI agents.
SUPABASE_ANON_KEYenvSupabase anon/publishable key (public). Needed for storefront tools on hosted projects.
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
ทำอะไรได้บ้าง
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
ผลตรวจเบื้องต้นi
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 8 พ.ย. 2569
- ✓ ผ่าน
ตัวตนผู้ทำตรงกับ repo
ชื่อใน registry ยืนยันด้วยบัญชี GitHub jlgavel011 ซึ่งเป็นเจ้าของ repo
- … ยังไม่ตรวจ
ยังมีคนดูแล
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
- … ยังไม่ตรวจ
มีสัญญาอนุญาต (license)
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
- – ไม่เกี่ยว
endpoint ตอบ
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
- – ไม่เกี่ยว
ล็อกอินแบบ OAuth
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
- … ยังไม่ตรวจ
คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับตัวอื่นในหมวด ร้านค้าออนไลน์และรับเงินi
- ดาวมากกว่า 0% ของอีก 2550 ตัวในหมวดนี้
- ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 43% ของอีก 2550 ตัวในหมวดนี้
- ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 2550 ตัวในหมวดนี้
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
คำถามที่พบบ่อย
Sellbase ปลอดภัยไหม?
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใช้กุญแจหรือรหัสอะไรบ้าง?
ต้องใส่ค่าเหล่านี้: SELLBASE_URL, SELLBASE_API_TOKEN
ตัวนี้รันบนเครื่องหรือบนคลาวด์?
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
ยังมีคนดูแลอยู่ไหม?
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.3.3) เข้า registry 40 วันที่ผ่านมา
ใช้กับโปรแกรมไหนได้บ้าง?
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
มีตัวไหนใช้แทนได้บ้าง?
ในหมวดเดียวกันมี Spree Commerce: open-source B2B and marketplace ecommerce, Stripe MCP, MCP Cn Commerce
ตัวที่ใช้แทนได้
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
Stripe MCP
server ทางการของ Stripe ให้ AI ดูและจัดการลูกค้า สินค้า การชำระเงิน และใบแจ้งหนี้ ต่อผ่านคลาวด์ของ Stripe และล็อกอินแบบ OAuth
MCP Cn Commerce
8 read-only MCP platform entries; support is operation-specific; merchant live acceptance pending
README จากผู้ทำ
เปิดอ่าน README
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Sellbase
An open source Shopify alternative you drop into your existing project, run by your AI agent.
Add products, a cart, Stripe checkout and an admin to the Next.js, React or plain HTML site you already have, on the Supabase you already use, with one command: npx sellbase init. Also included: orders, inventory, abandoned carts, discounts, appointments, emails, an API and an MCP server.
Quick start · Features · Docs · Deploy · Contributing · Español
Why Sellbase
- Yours, end to end. Your data lives in your Postgres, your money goes to your Stripe account and your code stays in your repo. There is no platform fee, no lock-in and no Sellbase servers in between. MIT licensed.
- AI-first.
sellbase initwritesCLAUDE.md/AGENTS.md, skills and an MCP server. Tell your agent "set up my store" and it creates products, connects payments and runs a test purchase. Money and destructive actions always ask the owner first, and everything is logged. - Works on any site.
- Next.js and Vite + React: React components.
- Plain HTML, WordPress, Webflow, Vue, Svelte, Astro, Angular:
web components (13 KB gzipped) and a static admin. - An admin that is a pleasure to use. Products with drag and drop photos and variants, inventory, orders with packing slips and refunds, abandoned cart recovery, customers, discounts and settings for every connection. Also:
- a command palette (⌘K) to search and act;
- an AI copilot on Home;
- built for store owners, not developers.
- Safe by default.
- Money stored as integers.
- RLS on every table, with tests.
- Orders only come from verified payment webhooks.
- Idempotent writes.
- Third-party secrets in Supabase Vault.
- Signed outbound webhooks that never reach private networks.
Sellbase or build it yourself?
The usual way to add a store to a Next.js + Supabase app is to write it by hand: a products table, a cart, a Server Action for Stripe Checkout and a webhook route. It works for the first sale. Sellbase is that same stack (your Supabase and your Stripe) with the rest already built and tested.
| By hand (Supabase + Stripe) | Sellbase | |
|---|---|---|
| Setup | 5–6 files to write and keep correct | npx sellbase init |
| Runs in your existing app and Supabase | Yes | Yes: its own sellbase schema, no extra server |
| Admin for the owner | Supabase dashboard, or build one | /admin: products, photos, variants, orders, refunds, discounts |
| Inventory, variants, shipping rates, taxes, discounts | Build each one | Included |
| Orders created only by the verified webhook, idempotent | Up to you | Built in, with tests |
| Emails, abandoned cart recovery, refunds | Build each one | Included |
| Your AI agent can run the store (create products, check orders…) | No | MCP server with 31 tools; money and destructive actions ask the owner |
Unlike engines such as Medusa, Vendure or Saleor, Sellbase needs no separate backend server. It runs on Supabase Edge Functions next to your app, and the storefront components are copied into your repo for you to edit.
Quick start
Requirements: Node 20+ and a Supabase project (or the local stack with Docker).
npx supabase start # local stack (or pass --supabase-url … for a hosted project)
npx sellbase init --yes # schema, Edge Functions, store, owner, admin, components, agent files
Then:
- Admin: open
/adminand sign in. Locally, the owner's email and password are in.env.sellbase. - Setup: follow the setup guide on Home.
- Or let your agent do it: open it in the project and say "Configura mi tienda con Sellbase" / "Set up my store with Sellbase". It uses the
sellbaseMCP tools until a test purchase succeeds.
npx sellbase doctor # checklist with the next step for anything missing
npx sellbase upgrade # new versions: dry run, backup, migrations, functions, components
Start from a template
npx sellbase create my-store --template nextjs # Next.js store with the admin at /admin
npx sellbase create my-landing --template html # plain HTML landing page, no build step
Both are in examples/ with Vercel and Netlify deploy buttons.
With Claude Code
/plugin marketplace add jlgavel011/sellbase
/plugin install sellbase@sellbase /sellbase:setup I sell handmade candles, $250 MXN each, shipping $120
The plugin brings the Sellbase skills and MCP server to every project. /sellbase:setup installs Sellbase, creates your products, connects Stripe in test mode and runs a test purchase. Any other MCP client can use npx sellbase mcp (listed in the MCP registry as io.github.jlgavel011/sellbase).
With any agent (Cursor, Codex, Copilot, Gemini CLI, Windsurf…)
npx skills add jlgavel011/sellbase # the Sellbase skills, including add-ecommerce
Then ask your agent to "add a store to this project". The add-ecommerce skill installs Sellbase and sets it up.
With shadcn
The storefront components are also a shadcn-compatible registry:
npx shadcn add https://jlgavel011.github.io/sellbase/r/store.json # everything
npx shadcn add https://jlgavel011.github.io/sellbase/r/product-grid.json # or one component
They still need the backend: npx sellbase init --yes. The index is at /r/registry.json.
Going live: deploy guide and live payments with Stripe.
Features
Catalog:
- physical products, digital downloads and services with appointments;
- up to 3 options per product (size, color…) with a variant matrix, compare-at prices and SEO;
- collections, tags and stock per variant;
- CSV import (including Shopify exports) and export;
- bulk price changes with a preview.
Checkout:
- Stripe Checkout (cards, Apple Pay, Google Pay; test and live mode);
- shipping rates, free shipping thresholds and local pickup;
- inclusive or exclusive taxes;
- discount codes and automatic discounts;
- deposits for services;
- a required consent checkbox (e.g. 18+ for alcohol) enforced by the server and stored with the order.
Orders:
- payment and fulfillment statuses;
- shipping with carrier and tracking;
- full or partial refunds;
- cancellations with restock;
- a timeline with comments;
- printable packing slips;
- manual orders (cash, transfer, WhatsApp) and payment links.
Growth:
- abandoned checkouts with one-click or automatic recovery emails that restore the cart;
- customers with their history;
- sales metrics and best sellers.
Services:
- resources with weekly hours and exceptions;
- availability;
- bookings with reminders (24 h and 2 h before) and calendar invites.
Emails (Resend): order confirmation with download links, shipping updates, refunds, cancellations, appointment notices and cart recovery. All of them carry your logo and brand color.
Team and AI:
- staff roles and invitations;
- API tokens with scopes for agents (money and data export scopes are opt-in);
- an activity log;
- signed outbound webhooks with retries for your ERP, spreadsheets or Zapier.
Storefront:
- React components copied into your repo (edit freely);
- headless hooks;
- web components for any site;
- SEO helpers (JSON-LD, sitemap);
- order lookup and download pages;
- accessible markup (checked with axe).
How it works
your site ──(@sellbase/react or <sellbase-*> web components)──┐
/admin (@sellbase/admin) ─────────────────────────────────────┤ your AI agent ──(sellbase MCP server)─────────────────────────┤ ▼ Supabase: Edge Functions (sellbase-api, -webhooks, -jobs) Postgres schema sellbase (RLS) · Vault · Storage · pg_cron │ Stripe · Resend · your webhooks
- One API contract. Every route is declared once with Zod in
@sellbase/core. The Hono server validates with it, the OpenAPI spec and the typed SDK come from it, and the MCP tools reuse it. - Snapshots. Orders keep a copy of prices, titles and addresses, so later catalog changes never alter past orders.
- The outbox. Business events are written in the same transaction as the change; jobs deliver emails and webhooks from it.
| Package | What it is |
|---|---|
sellbase | CLI: init, doctor, upgrade, add, seed, token, mcp |
@sellbase/admin | The admin (React), also shipped as a static page |
@sellbase/react | Provider and hooks for storefronts |
@sellbase/web | Web components for any site |
@sellbase/sdk | Typed API client and SEO helpers |
@sellbase/mcp | MCP server for AI agents |
@sellbase/core | Schemas, API contracts, pricing, state machines |
Documentation
- Getting started (español)
- Add an ecommerce store to a Next.js app with Supabase (en español)
- Deploy to production
- Customize the admin
- Live payments with Stripe (español)
- API reference, plus
llms.txtandllms-full.txtfor agents - Specification and architecture decisions
- Changelog
Development
pnpm i
pnpm exec supabase start && node scripts/seed-demo.mjs pnpm dev # playground on http://localhost:3100 (admin at /ad
ตัดมาแค่ช่วงต้น อ่านต่อใน repo