Appearance
MCP
For MCP transport/auth/resources and tools, see /common/mcp.html.
Scope: contract-only (no internal infra/storage/alarms). Canonical protocol lives at https://mcp.g3nretailstack.com/scm/PROTOCOL.md and is mirrored here at /scm/PROTOCOL.md. MCP server endpoint: https://api.mcp.g3nretailstack.com/mcp (CloudFront mcp.g3nretailstack.com/mcp 307-redirects there).
Quick checks (once published)
- Protocol reachable:
curl -I https://mcp.g3nretailstack.com/scm/PROTOCOL.md→ 200text/markdown. - Initialize MCP:
sh
PROTOCOL=2025-03-26
curl -i -X POST https://api.mcp.g3nretailstack.com/mcp \
-H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
-d '{"jsonrpc":"2.0","id":"init","method":"initialize","params":{"protocolVersion":"'"$PROTOCOL"'","clientInfo":{"name":"manual","version":"0.0.1"},"capabilities":{"resources":{},"logging":{}}}}'
# capture MCP-Session-Id header for follow-up requests- With session headers, call
resources/listthenresources/readfor https://mcp.g3nretailstack.com/scm/PROTOCOL.md.
Contents summary
- Contract surfaces for SCM (API Gateway base
https://api.g3nretailstack.com/scm). - Auth/tenancy + pagination defaults (limit 8, clamp 1–256,
next_token). - Response envelope + error tags (see Common contract).
Service notes
- OpenAPI: https://doc.g3nretailstack.com/scm/openapi.yaml
- Base path:
/scmonhttps://api.g3nretailstack.com. - Direct Lambdas: none (API Gateway only).