FastMCP commerce server starter: product catalog, search, and checkout. Deploy to Vercel in 5 min.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
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
search_products Tool β keyword + category + max-price filterinitiate_checkout Tool β returns order summary + checkout URLX-API-Key header, toggle with REQUIRE_AUTH=true/healthStack: Python Β· FastMCP Β· FastAPI Β· Vercel
Test the health endpoint:
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):
| Variable | Default | Notes |
|---|---|---|
API_KEY | dev-secret-key | Change before going live |
REQUIRE_AUTH | false | Set true to enforce the key |
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.
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:
Replace the stub in initiate_checkout with a real Stripe session:
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 requires stateless_http=TrueModuleNotFoundError: mcp β wrong package name (mcp[cli], not fastmcp)This starter is the code companion to the AgentMall spoke series on 30DayPivot:
MIT
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/mcp-commerce-server-starter)<a href="https://allmcps.com/mcp/mcp-commerce-server-starter"><img src="https://allmcps.com/api/badge/mcp-commerce-server-starter?style=directory" alt="MCP Commerce Server Starter on AllMCPs" /></a>