Server MCP MCP Commerce Server Starter | PlugMCP
Lewati ke konten MCP Commerce Server Starter
Clone-and-deploy boilerplate for a commerce MCP server. Live on Vercel in five minutes. Reachable by Claude, ChatGPT, Gemini, Cursor, and every other MCP-compatible client.
Full build guide (with the why behind every line): How to Build an MCP Server in 2026
What you get
FastMCP commerce server starter: product catalog, search, and checkout. Deploy to Vercel in 5 min.
Hubungkan alat apa pun ke agen apa pun. Direktori MCP untuk yang tidak menulis server.
Produk
Direktori
Pengembang
Perusahaan
2026-11-09
Product catalog Resource — agents read the full catalog before acting
search_products Tool — keyword + category + max-price filter
initiate_checkout Tool — returns order summary + checkout URL
Optional API-key auth — X-API-Key header, toggle with REQUIRE_AUTH=true
Health endpoint at /health
Vercel-ready — one command deploy, free Hobby tier
Stack: Python · FastMCP · FastAPI · Vercel
Quick start (local) git clone https://github.com/NewPlanetWW/mcp-commerce-starter
cd mcp-commerce-starter
python -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
python server.py
# Server running at http://localhost:8000
# MCP endpoint: http://localhost:8000/mcp
# Health check: http://localhost:8000/health
Test the health endpoint:
curl http://localhost:8000/health
# {"status":"ok","server":"Commerce MCP Server","version":"1.0.0"}
Deploy to Vercel (free) Requires Node 18+ for the Vercel CLI. No GitHub required — the CLI uploads directly.
npm i -g vercel
vercel login
vercel --prod
The CLI prints your production URL. Your MCP endpoint is at:
https://your-project.vercel.app/mcp
Set environment variables in the Vercel dashboard (Settings → Environment Variables):
Wire into Claude Desktop Option A — Local stdio (fast iteration while building):
Edit ~/Library/Application Support/Claude/claude_desktop_config.json on macOS (see full guide for Windows/Linux paths):
{
"mcpServers": {
"commerce-catalog": {
"command": "uvicorn",
"args": ["server:app", "--host", "127.0.0.1", "--port", "8001"],
"env": {
"REQUIRE_AUTH": "false"
},
"cwd": "/path/to/mcp-commerce-starter"
}
}
}
Option B — Remote (after Vercel deploy) using mcp-remote:
{
"mcpServers": {
"commerce-catalog-remote": {
"command": "npx",
"args": [
"-y", "mcp-remote@latest",
"https://your-project.vercel.app/mcp",
"--header", "Authorization: Bearer ${MCP_API_KEY}"
],
"env": { "MCP_API_KEY": "your-secret-key" }
}
}
}
Fully quit and relaunch Claude Desktop. Ask: "What products do you have under $100?" — Claude calls search_products and responds with your catalog.
Customize
Replace the sample products Edit the PRODUCTS list in server.py. Each product needs: sku, name, price, description, availability, category, image_url.
For real inventory, replace the list with a database call:
# server.py — swap PRODUCTS for a live query
import psycopg2 # or SQLAlchemy, Supabase, etc.
def get_products():
# your DB query here
return [...]
PRODUCTS = get_products()
Add Stripe checkout Replace the stub in initiate_checkout with a real Stripe session:
import stripe
stripe.api_key = os.getenv("STRIPE_SECRET_KEY")
session = stripe.checkout.Session.create(
line_items=[{"price": price_id, "quantity": quantity}],
mode="payment",
success_url="https://yourstore.com/success",
cancel_url="https://yourstore.com/cancel",
)
return {"success": True, "checkout_url": session.url, ...}
The 5 errors you'll hit (and how to fix them)
MCP error -32600 — initialization order violation
422 Unprocessable Entity — Pydantic model vs plain args mismatch
405 Method Not Allowed — missing DELETE in CORS allowed methods
stateless_http not set — serverless Vercel requires stateless_http=True
ModuleNotFoundError: mcp — wrong package name (mcp[cli], not fastmcp)
Project structure mcp-commerce-starter/
├── server.py # FastMCP app — resource, tools, middleware, FastAPI mount
├── requirements.txt # Pinned dependencies
├── vercel.json # Vercel deployment config
├── mcp.json # MCP server manifest
├── .env.example # Environment variable template
└── README.md
Go deeper This starter is the code companion to the AgentMall spoke series on 30DayPivot :
License
Skor direktori 20/100 Terdaftar 10 dari 10
Ada di MCP Registry resmi 18 dari 18
Diklaim oleh maintainer 0 dari 8
Merespons dengan daftar tool 0 dari 12
Bintang GitHub 0 dari 16
Unduhan mingguan 0 dari 10
Vivaldo Product Discovery Public read-only MCP server for Vivaldo.shop, a European online store for MacBook cases, iPad cases, laptop sleeves, keyboard covers, screen protectors and everyday computer accessories.
This server Codex With Chatgpt ChatGPT thinks. Codex works. Use ChatGPT as the planning brain while keeping the Codex harness. Surprise Buddy ## What is Surprise Buddy?
Surprise Buddy is a curated, country-scoped gift database exposed via a public Model Context Protocol (MCP) server. International coverage — every result is a real product ToolSnap MCP Connect directly: https://mcp.toolsnap.app/mcp (Streamable HTTP, free tools need no account). The run.tools URL on this page stopped working when Smithery's proxy shut down on 2026-10-31.
Determinist Northcinder Open-source MCP server for comparing products and asking the buyer before purchase. Grandet Cheapest API for any model across official, inference and relay providers; find free credits Clipforge ClipForge(原『带货剪手』/ daihuo-jianshou):开源 AI 带货短视频神器——上传一张商品图,AI 自动提炼卖点 + 写种草脚本 + 锁定商品原图不变形 + 配画面/配音/字幕,一键产出抖音小店 / 快手 / 小红书 / TikTok Shop 卖货短视频。0 成本批量出片、开源无水印、本地自部署。也支持一句话主题成片。Open-source AI e-commerce/U Anythingmcp MCP gateway for AI agents: turn any REST/OpenAPI, GraphQL, SOAP or SQL API into MCP tools. 547 ready-made connectors (SAP, ERP, e-commerce) with RBAC, SSO, audit logs and a knowledge graph. Innoshop InnoShop is an AI-powered open source e-commerce system built on Laravel 13. It supports multiple AI models and native MCP (Model Context Protocol) for intelligent automation, with multi-language and MxPage 开源 AI 电商图片工作台:商品主图与详情页、批量图片翻译、小红书图文、LangGraph Agent。支持 Windows / macOS 和本地部署,使用自己的模型 API。Open-source e-commerce image generator, translation & agent workspace. Wocart Wocart :The open-source, COD-first e-commerce platform for Algeria built agentic-ready. Codflow The open-source, COD-first e-commerce + delivery platform for Algeria built agentic-ready. Server MCP E-commerce Server MCP E-commerce terbaik
Belum ada daftar tool. Server remote mendapatkannya setelah pemeriksaan kesehatan pertama.
Bagaimana cara menginstal MCP Commerce Server Starter? Salin konfigurasi http untuk Cursor, Claude Desktop, Claude Code, atau VS Code di halaman ini. Konfigurasi ini memakai instalasi dari penerbit, bukan proxy PlugMCP.
Apakah MCP Commerce Server Starter memerlukan kunci API? Tidak ada variabel lingkungan wajib yang tercantum di catatan ini.
Transport apa yang digunakan MCP Commerce Server Starter? MCP Commerce Server Starter diakses melalui HTTP.
Kapan MCP Commerce Server Starter terakhir diperiksa? Terakhir diperiksa 2026-11-09. FastMCP commerce server starter: product catalog, search, and checkout. Deploy to Vercel in 5 min.
Tool memiliki deskripsi 0 dari 6
Tidak terlihat selama tiga hari -8