Built on the Model Context Protocol
Ask for a recommendation, place an order or add a product in plain language. The assistant finds the right tool at runtime, so new capabilities ship by registering a tool on the server, not by changing the client.

The chat route asks the MCP server which tools exist on every request and hands them to the model next to two local tools. The model decides which to call.
Next.js + useChat streams the conversation.
Vercel AI SDK lists the server's tools on every request and lets the model pick one.
A Streamable HTTP endpoint inside the app exposes 4 tools backed by PostgreSQL.
getProductsReads the live catalogue from PostgreSQL so answers are never stale.
getOrdersLooks up existing orders and what was in them.
orderPlaces an order for one or more products, with quantities.
createProductAdds a new product to the store from a chat message.
The same four tools the shop assistant uses are served publicly over Streamable HTTP. Point Claude, Cursor or any MCP client at the endpoint and query the live catalogue yourself. Orders and new products go into the demo database.
Endpoint (Streamable HTTP)
https://mcp-shop-chi.vercel.app/api/store/mcpRun this once in your terminal, then start a new session and ask “list the products in mcp-shop”.
claude mcp add --transport http mcp-shop https://mcp-shop-chi.vercel.app/api/store/mcp