Sample Shop MCP server
Sample shop MCP server: paginated search, idempotent orders, guarded cancellation. Four languages.
Sample Shop MCP server scores 62 (Good), licensed MIT and written in TypeScript. It can be reached as a remote MCP endpoint. It does not declare tools yet. Filed under Search. GitHub shows 0 stars. Package registries report about 55 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
62 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade C
60/100 for listing completeness. Lost points: short README, no listed tools, short summary.
How quality is graded
Where the 62 comes from
22 + 15 + 4 + 10 + 4 + 7 = 62. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 15 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 4 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 7 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "apitoagents-typescript": { "command": "npx", "args": [ "-y", "@apitoagents/sample-shop-mcp@1.0.1" ] } }}
Environment variables
This server does not declare environment variables.
Tools
All capabilitiesTools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.
About
@apitoagents/sample-shop-mcp
An MCP server for a small sample shop, written with the official TypeScript SDK. It shows the three kinds of tool every real integration needs: paginated reads (search_products, get_product), an idempotent write (create_order) and a guarded action that refuses to run without explicit confirmation (cancel_order).
The same server exists in Python, C# and PHP, all passing one conformance scenario: github.com/apitoagents/mcp-examples. Walkthrough: apitoagents.com/docs/build-mcp-server-typescript.
Try it in one command (stdio)
npx @apitoagents/sample-shop-mcp
That starts the bundled Sample Shop API on 127.0.0.1:4010 and serves the MCP tools over stdio, which is what Claude Desktop, Claude Code and the MCP Inspector expect from a local server.
Claude Code:
claude mcp add sample-shop -- npx -y @apitoagents/sample-shop-mcp
Claude Desktop (claude_desktop_config.json):
{ "mcpServers": { "sample-shop": { "command": "npx", "args": ["-y", "@apitoagents/sample-shop-mcp"] } } }
Run it over Streamable HTTP
UPSTREAM_URL=http://127.0.0.1:4010 npx -p @apitoagents/sample-shop-mcp node node_modules/@apitoagents/sample-shop-mcp/dist/server.js
Or from a clone: npm ci && npm run build && npm start (listens on 127.0.0.1:3001/mcp). Environment: HOST, PORT, UPSTREAM_URL, UPSTREAM_API_KEY (default demo-key), ALLOWED_HOSTS (comma-separated public hostnames accepted in the Host header).
Public demo
A hosted copy runs at https://demo.apitoagents.com/mcp (in-memory data, resets regularly). Add it as a remote MCP server in Claude or ChatGPT and ask for a desk lamp.
MIT. Built by API to Agents, which designs and hosts servers like this for companies' own APIs.
Frequently asked questions
What is Sample Shop MCP server?
Sample shop MCP server: paginated search, idempotent orders, guarded cancellation. Four languages.
How do I install Sample Shop MCP server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Sample Shop MCP server runs locally from the npm package @apitoagents/sample-shop-mcp with the command npx -y @apitoagents/sample-shop-mcp@1.0.1.
Is Sample Shop MCP server free and open source?
Yes. Sample Shop MCP server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does Sample Shop MCP server support remote (HTTP) connections?
Yes. Sample Shop MCP server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.
How is Sample Shop MCP server's trust score calculated?
Sample Shop MCP server scores 62 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.