Product Catalog MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Product Catalog MCP Server
A production-oriented Model Context Protocol server in Python. It exposes read-only product catalog tools over stateless Streamable HTTP.
Version: 0.6.0 · MCP spec: 2026-07-28 (also serves 2025-x clients) · License: Apache 2.0 · Changelog · Roadmap
Quick start
python3 -m venv .venv
.venv/bin/pip install --require-hashes -r requirements-dev.lock.txt # pinned, hashed (threat T10)
.venv/bin/pip install --no-deps -e .
cp .env.example .env # adjust settings if needed
.venv/bin/mcp-server # serves http://127.0.0.1:8000/mcp
.venv/bin/pytest # run the tests
.venv/bin/python evals/run_evals.py --dry-run # validate the model eval set (free)In VS Code, use the Run and Debug panel: "MCP server (local)", "Tests (all)" and others are defined in .vscode/launch.json.
Production-shaped stack (2 instances, Redis, nginx on port 8080):
docker compose -f deploy/docker-compose.yml up --buildAdd --profile observability for Prometheus (http://localhost:9090) and the Grafana traffic dashboard (http://localhost:3000).
Related MCP server: reknihy-mcp
Setup checklist
What to configure, in order. Settings are environment variables (see Configuration).
# | Where | Step | How | Required? |
1 | Local | Install from the hashed lock files |
| Yes |
2 | Local | Create |
| Yes |
3 | Local | Check it runs |
| Yes |
4 | Local | Connect a client | Postman or another MCP client at | Optional |
5 | Redis tools | Turn on and point at a Redis |
| Optional; read threat T13 first |
6 | Voice tool | Keep or turn off |
| Optional |
7 | GitHub | Create the repo and push |
| Yes |
8 | GitHub | Protect | Settings → Branches: require pull requests and the | Yes |
9 | GitHub | Turn on security features | Settings → Code security: Dependabot alerts and security updates, private vulnerability reporting (used by SECURITY.md), secret scanning | Yes |
10 | GitHub | Add a code owner | Create | Yes for production (roadmap: named owner) |
11 | GitHub | Paid eval secret | Settings → Secrets → Actions: | Optional |
12 | Production | Network and hosts |
| Yes |
13 | Production | Behind a load balancer |
| Yes, if behind one |
14 | Production | 2+ instances |
| Yes, if more than one instance |
15 | Production | Build identity |
| Recommended |
16 | Production | Observability |
| Recommended |
17 | Production | Cost cap |
| Yes, if a paid API is used |
Testing with Postman
Start the server (.venv/bin/mcp-server), then use either option.
Option A: MCP request (easiest). New → MCP, transport HTTP, URL http://localhost:8000/mcp, then Connect. Postman runs the handshake and lists the tools; fill in the arguments and run them.
Option B: plain HTTP. POST http://localhost:8000/mcp with these headers:
Content-Type: application/json
Accept: application/json, text/event-streamSend
initialize:{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"postman","version":"1"}}}Add the header
MCP-Protocol-Version: 2025-06-18, then list or call tools:{"jsonrpc":"2.0","id":2,"method":"tools/list"}{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"get_product","arguments":{"sku":"SKU-1001"}}}
Common errors
Response | Cause | Fix |
| Postman in the browser (go.postman.co) or the Postman Agent sends an | Use the desktop app, or for local testing only add |
| The URL uses a hostname other than | Use |
|
| Make the header and the body's version the same |
| A | Use |
| An argument is missing, misspelled or invalid | The message names the field and the allowed arguments |
| Rate limit (100/min per client) or the same call repeated more than 10 times a minute | Wait for |
Tools
Tool | Purpose |
| Find products by name, with category and stock filters and pagination |
| Full details for one SKU |
Details: docs/tool-catalog.md
Project layout
src/mcp_server/
domain/ entities, errors, ports (no framework code)
application/ use cases
infrastructure/ repositories, Redis rate limiter, resilience, metrics, logging
interface/ MCP tools, HTTP middleware, health and metrics routes
bootstrap.py wires everything; entry point
tests/ unit, interface, infrastructure and architecture tests
deploy/ docker-compose, nginx, Prometheus alerts
loadtest/ Locust load test
evals/ model eval set: does Claude pick the right tool?
docs/ requirements, roadmap, architecture, decisions, runbookDocumentation
Also: CONTRIBUTING.md (setup, PR rules) · SECURITY.md (reporting, known limits)
Doc | What it covers |
The full checklist | |
Phases and progress | |
Layers, request flow, how to extend | |
Why things are the way they are | |
Tool contracts and rules | |
Risks and controls | |
Logging, redaction, retention | |
Alerts, procedures, load test results | |
Breaking-change rules, release checklist | |
How each MCP 2026-07-28 rule is met | |
Phase 3: what was built and what was deferred |
Configuration
All settings come from environment variables, read in config.py. Copy .env.example to .env to start.
Nothing is required to run locally. Every setting has a safe default. The server checks settings at startup and refuses to start with a message saying what to fix.
Required for production
Situation | Set | Why |
Running in a container or behind a load balancer |
| The defaults only accept |
Behind a load balancer |
| Without it, |
2 or more instances |
| Rate limits are per instance without it |
Using the Redis tools |
| Off by default: anyone who can reach the server can read that Redis. The URL must differ from |
Calling a paid downstream API |
| The cost cap is off ( |
Tracing |
| Tracing is off without it |
All settings
Variable | Default | What it does |
Version | ||
|
| Version reported in MCP |
| empty | Git SHA or image digest, shown on |
Network | ||
|
| Bind address. Use |
|
| Port |
|
| Allowed |
|
| Allowed |
| empty | Proxy IPs whose |
Limits | ||
|
| Request body cap (1 MB) |
|
| Requests per minute, all clients together |
|
| Requests per minute per client |
|
| Per-tool limit per client per minute |
|
| Identical calls per minute before a call is treated as a runaway loop ( |
|
| In-flight requests per instance before returning |
|
| Tool output cap; longer results are truncated and marked |
|
| Timeout for each downstream call |
|
| Downstream calls per UTC day ( |
Cache | ||
|
| Read-only response cache lifetime ( |
|
| Cache size |
Shared state | ||
| empty | Redis for shared rate limits. Empty = in-process limits. |
Redis tools (decision 0007) | ||
|
| Register |
|
| Register the Redis tools, the |
|
| The Redis the model can inspect ( |
|
|
|
| empty | Confine every key and scan to this prefix (no glob characters) |
|
| Max items per call |
Observability | ||
|
| Log level |
| empty | OTLP/HTTP endpoint, e.g. |
|
| Service name in traces |
Evals only ( | ||
| empty | Or use an |
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Read-only product catalog for shopping agents: search, details, compatibility, shop answers.
Read-only product catalog for shopping agents: search, details, compatibility, shop answers.
Read-only product catalog for shopping agents: search, details, compatibility, shop answers.
Read-only product catalog for shopping agents: search, details, compatibility, shop answers.
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceProvides read-only access to the Lumenco product catalog, enabling retrieval of products, specifications, listings, and recommendation candidates without browsing the site.-
- AlicenseAqualityDmaintenanceEnables read-only search and retrieval of the public Reknihy.cz book catalog, including filtering, sorting, ISBN lookup, category browsing, and access to product details such as price, availability, and images.4ISC
- AlicenseNot gradedqualityBmaintenanceEnables MCP clients to browse a read-only catalog of published products and their documented interfaces, listing entries, fetching one by stable ID, and searching names, descriptions, and limitations with optional protocol filters. It also exposes the versioned manifest as a resource and a prompt that helps clients match a task to catalog entries without inventing unsupported capabilities.MIT
- AlicenseNot gradedqualityCmaintenanceEnables read-only catalogue discovery through standard MCP tools for searching, batch lookup, and retrieving product/variant details with prices and availability.MIT