Skip to content

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/rbs/PROTOCOL.md and is mirrored here at /rbs/PROTOCOL.md. MCP server endpoint: https://api.mcp.g3nretailstack.com/mcp (CloudFront mcp.g3nretailstack.com/mcp 307-redirects there).

Quick checks (once published)

  1. Protocol reachable: curl -I https://mcp.g3nretailstack.com/rbs/PROTOCOL.md → 200 text/markdown.
  2. 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
  1. With session headers, call resources/list then resources/read for https://mcp.g3nretailstack.com/rbs/PROTOCOL.md.

Contents summary

  • Contract surfaces for RBS (API Gateway base https://api.g3nretailstack.com/rbs).
  • Auth/tenancy + pagination defaults (limit 8, clamp 1–256, next_token).
  • Response envelope + error tags (see Common contract).

Service notes