
MCP Commerce Server Starter
io.github.NewPlanetWWPublished by GitHub account NewPlanetWWv1.0.0Updated Oct 24, 2026
FastMCP commerce server starter: product catalog, search, and checkout. Deploy to Vercel in 5 min.
Overview
A FastMCP commerce starter server exposing a sample product catalog, product search and a checkout stub, deployable to Vercel.
- What you can do
- Read the full sample product catalog as a resource before acting
- Search products by keyword, category and maximum price
- Start a checkout that returns an order summary and a checkout URL
- Serve a health endpoint for status checks
- Act as a boilerplate to customize with your own products, database or Stripe checkout
- When to use it
- Useful if you want a working example of an agent-facing commerce server to clone, extend and deploy, or to try catalog search and checkout flows with sample data. It is a starter, not a production storefront.
- Requirements
- Runs as a hosted remote endpoint, or locally with Python and the listed dependencies (python server.py, MCP endpoint at /mcp). Deploying to Vercel needs Node 18+ for the Vercel CLI and a Vercel account. Optional API-key auth uses the X-API-Key header, toggled by REQUIRE_AUTH, with the key set in API_KEY.
Installation
In SourceWeft
- Open MCP Commerce Server Starter in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.
Use with an agent
Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.
Read https://sourceweft.com/mcp/io.github.NewPlanetWW%2Fmcp-commerce-starter/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.Other MCP clients
Add this to your client's mcpServers config.
{
"mcpServers": {
"commerce-starter": {
"type": "http",
"url": "https://mcp-commerce-starter.vercel.app/mcp"
}
}
}README
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
- Product catalog Resource — agents read the full catalog before acting
search_productsTool — keyword + category + max-price filterinitiate_checkoutTool — returns order summary + checkout URL- Optional API-key auth —
X-API-Keyheader, toggle withREQUIRE_AUTH=true - Health endpoint at
/health - Vercel-ready — one command deploy, free Hobby tier
Stack: Python · FastMCP · FastAPI · Vercel
Quick start (local)
Test the health endpoint:
Deploy to Vercel (free)
Requires Node 18+ for the Vercel CLI. No GitHub required — the CLI uploads directly.
The CLI prints your production URL. Your MCP endpoint is at:
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):
Option B — Remote (after Vercel deploy) using mcp-remote:
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:
Add Stripe checkout
Replace the stub in initiate_checkout with a real Stripe session:
The 5 errors you'll hit (and how to fix them)
Covered in the full guide: 30daypivot.com/agentmall_spoke_mcp
MCP error -32600— initialization order violation422 Unprocessable Entity— Pydantic model vs plain args mismatch405 Method Not Allowed— missing DELETE in CORS allowed methodsstateless_http not set— serverless Vercel requiresstateless_http=TrueModuleNotFoundError: mcp— wrong package name (mcp[cli], notfastmcp)
Project structure
Go deeper
This starter is the code companion to the AgentMall spoke series on 30DayPivot:
- MCP Server Build Guide — the full walkthrough behind this repo
- Agent-Readable Product Data — Schema.org markup so agents find your products without calling the server
- FastAPI Commerce API — REST layer that sits alongside your MCP server
- Free-to-Paid / Stripe Metered Billing — monetize the server you just built
- The AgentMall Roadmap — full picks-and-shovels map of agentic commerce infrastructure
License
MIT
Source: README.md at commit d9ec6db
Tools
0Version history
1- v1.0.0LatestSep 16, 2026
Score
75% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 daysRequired25 pts
- Auth declaredRequired10 pts
- Tools listedRequired15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Declare a license in the repository or the registry entry.