# Sample Shop MCP server

> Sample shop MCP server: paginated search, idempotent orders, guarded cancellation. Four languages.

- name: io.github.apitoagents/sample-shop-mcp
- version: 1.0.1
- connection class: R0 (autonomous)
- trust: 97/100
- quality: 92/100 (strong)
- owner: not claimed
- descriptor: https://api.protogrid.dev/v1/servers/io.github.apitoagents%2Fsample-shop-mcp
- tools: https://api.protogrid.dev/v1/servers/io.github.apitoagents%2Fsample-shop-mcp/tools

**An agent can connect right now, no human step.** Remote endpoint, no authentication, reachable on the last probe.

## Connection (mcpServers)

```json
{
  "mcpServers": {
    "sample-shop-mcp": {
      "type": "http",
      "url": "https://demo.apitoagents.com/mcp"
    }
  }
}
```


## Trust

- hygiene: 100
- liveness: 100
- freshness: 100
- provenance: 90
- drivers: +repository +namespace-matches-repo +website +reachable +uptime-100% +updated-13d-ago
- Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed.

## Quality 92/100 (strong)

### protocol: 88 (weight 25)

- pass `protocol.modern`: supports 2026-07-28 (server/discover)
- pass `protocol.stateless`: answers without a session
- pass `protocol.transport`: streamable HTTP
- warn `protocol.list_ttl`: tools/list declares ttlMs 0, so clients re-fetch it on every use

### authorization: n/a (weight 15)

- n/a `auth.prm`, `auth.as_metadata`, `auth.cimd`: no remote uses OAuth
- n/a `auth.secret_in_url`: no templated URL

### tool hygiene: 93 (weight 30)

- pass `tools.descriptions`: every tool has a description
- pass `tools.description_length`: descriptions are concise
- pass `tools.schemas`: every tool has an object input schema
- pass `tools.annotations`: 4 of 4 tools declare readOnlyHint or destructiveHint
- warn `tools.directory_hints`: 2 of 4 tools declare all four hints; missing: get_product (destructiveHint, idempotentHint); search_products (destructiveHint, idempotentHint)
- pass `tools.token_cost`: about 703 tokens to load every tool
- pass `tools.api_dump`: tools are not a one-to-one API dump

### stability: 100 (weight 15)

- pass `stability.changes`: no tool changes in 30 days
- pass `stability.rug_pull`: no tool changed its meaning under the same name

### dependencies: n/a (weight 15)

- n/a `deps.known_vulns`, `deps.mcp_sdk_version`, `deps.resolvable`: deps.dev does not know @apitoagents/sample-shop-mcp@1.0.1

- tools: 4, about 703 tokens to load them all
- tool set hash: 4ac0e1022ff3ad6da0acbd810c413eb3
- badge: [![protogrid quality](https://protogrid.dev/badge/io.github.apitoagents/sample-shop-mcp.svg)](https://protogrid.dev/servers/io.github.apitoagents/sample-shop-mcp)
- Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed.

### Tool changes

_No tool definition changes recorded._

## Dependencies

- npm @apitoagents/sample-shop-mcp@1.0.1: unknown

Dependency graphs from deps.dev; advisories from OSV.dev, including the GitHub Advisory Database and the PyPI Advisory Database; all CC BY 4.0.

## Remotes

- https://demo.apitoagents.com/mcp (streamable-http, auth none, reachable true, uptime30d 1)

## Packages

- npm @apitoagents/sample-shop-mcp@1.0.1

## Tools (4)

- `cancel_order`: Cancel an order that has not shipped. This cannot be undone. Call it first with confirm=false to get the order details, show them to the user, and only after the user explicitly agrees call again with confirm=true.
- `create_order`: Place an order for one product. Generate one random idempotencyKey per user request and reuse the same key if you retry after an error or timeout; the shop returns the original order instead of creating a duplicate. Confirm product and quantity with the user before calling. Returns the order with its id, status and total.
- `get_product`: Return the full details of one product by its id (for example p-1001). Use search_products first if you only know a name.
- `search_products`: Search the shop catalogue by phrase and optional category. Returns one page of up to `limit` products and a `nextCursor`; when nextCursor is not null, more results exist and you must say so rather than claiming the list is complete. Use get_product for full details of one item. This tool does not place orders.
