ChopChop MCP Server
Provides tools for interacting with a multi-tenant Supabase commerce backend, including listing tenants, browsing catalogue items with variant pricing, retrieving recent orders with line items, and adding products.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ChopChop MCP Server show me recent orders for the Acme tenant"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
ChopChop MCP Server
A Model Context Protocol (MCP) server that exposes tools from a multi-tenant Supabase commerce backend. Lets an AI agent query tenants, browse catalogue items with pricing, pull recent orders, and add products — all through the MCP tool-calling interface.
Tools
Tool | Description |
| Returns all active tenants on the platform |
| Catalogue items with variant pricing for a tenant (embedded select join) |
| Recent orders with line items for a tenant |
| Adds a product with a default variant and price to a tenant's catalogue |
Related MCP server: shop-mcp
Setup
# Install dependencies
npm install
# Copy environment template and fill in your Supabase credentials
cp .env.example .env
# Build
npm run build
# Run
npm startEnvironment Variables
Variable | Description |
| Your Supabase project URL |
| Service-role key (bypasses RLS) |
Usage with MCP Inspector
npx @modelcontextprotocol/inspector node dist/index.jsThis opens a web UI where you can call each tool interactively.
Usage with Claude Desktop
Add to your Claude Desktop MCP config (claude_desktop_config.json):
{
"mcpServers": {
"chopchop": {
"command": "node",
"args": ["/absolute/path/to/chopchop-mcp-server/dist/index.js"]
}
}
}Architecture
See ARCHITECTURE.md for data flow, project structure, and schema details.
Design Decisions
See DECISIONS.md for rationale on transport choice, auth strategy, schema validation, and more.
Tech Stack
Runtime: Node.js + TypeScript (strict mode)
MCP: @modelcontextprotocol/sdk (official TypeScript SDK)
Database: Supabase (PostgreSQL) via @supabase/supabase-js
Validation: Zod (integrated with MCP SDK)
Transport: stdio
Available Tools
4 toolsadd_itemA
Adds a product to a tenant's catalogue. Creates both the item and a default variant with the given price.
Inputs: name (required), price (required), tenant_id (required), category_id, +1 more.
get_ordersA
Returns recent orders with line items for a tenant. Ordered by most recent first.
Inputs: tenant_id (required), limit, status.
get_productsA
Returns catalogue items with variant pricing for a tenant. Uses Supabase embedded select to join items with variants.
Inputs: tenant_id (required), limit, category_id.
list_tenantsA
Returns all active tenants on the ChopChop platform
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool maps to a distinct resource and action: tenants, products, orders, and product creation. There is no overlap in purpose, so an agent can reliably choose based on the resource it needs.
All tools use a consistent snake_case verb_noun pattern: list_tenants, get_products, get_orders, add_item. The minor variation between list/get and add/create does not break the pattern.
Four tools is a reasonable, tightly scoped set for a platform integration focused on reading tenants, products, and orders while supporting product creation. Each tool has a distinct role and none feel redundant.
The core read paths for tenants, products, and orders are covered, and product creation exists. However, product update/delete and any order lifecycle mutations are absent, leaving the write surface incomplete for fuller management workflows.
Related MCP Connectors
Hosted MCP for e-commerce: live product catalog, stock, and pricing for AI agents.
Multi-tenant MCP gateway for AI commerce. One connection, every store.
Multi-tenant MCP gateway for AI commerce. One connection, every store.
Multi-tenant MCP gateway for AI commerce. One connection, every store.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to manage products, shopping carts, and orders in an online store through a well-defined MCP API.-
- AlicenseAqualityBmaintenanceEnables an LLM agent to query a Shopify store's catalogue and stock via MCP, with tools for product search, product details, per-location inventory, and low-stock reports.414 PyPIMIT
- AlicenseNot gradedqualityBmaintenanceServes a product store's catalog over MCP tool calls so agents can search products, add items to a cart, inspect the cart, and complete checkout without parsing full HTML pages. This keeps action payloads and token usage far smaller than DOM scraping, especially as catalogs grow, and also works through Chrome's native document.modelContext API.MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to browse products, look up orders, and place orders through MCP tools, with API-key authentication, rate limiting, and idempotent order operations.MIT