Running MCP servers in production
For engineers
Gateways, tracing, caching, quotas and change management for MCP servers that many agents depend on
110 questions across four stages: Understand, Apply, Solve and Judge.
Try 5 questions
Practice items, not counted towards your mastery. No account needed.
Check yourself · 1 of 5
Which two request headers let an MCP gateway apply a per-tool allowlist over Streamable HTTP without parsing the body?
Check yourself · 2 of 5
Where does MCP carry OpenTelemetry trace context in a request?
Check yourself · 3 of 5
What does cacheScope: "private" on a tools/list result tell clients and proxies?
Check yourself · 4 of 5
Which change to a live tool is safe for existing agents?
Check yourself · 5 of 5
A gateway allows the 'wiki' server for all agents. The wiki team ships a new delete_page tool. What does the gateway policy do?
Topics
- MCP gateways for routing, policy and audit5 min read · A central gateway in front of many servers that enforces allowlists, authentication and per-tool policy using standard MCP request headers
- Tracing and logging MCP tool calls5 min read · OpenTelemetry trace context passed in request metadata, MCP semantic conventions, what to record per call and what must be redacted
- Caching, rate limits and quotas for agent traffic5 min read · Freshness hints on list results, deterministic tool order for prompt caching, agents that loop, per-user quotas and timeouts
- Changing tools without breaking connected agents5 min read · Additive changes, deprecating tools and parameters, list-change notifications, supporting several spec revisions, and announcing removals
Start here
- MCP specification: Streamable HTTP transport (opens in a new tab)StandardFree
Defines the Mcp-Method and Mcp-Name request headers and the Origin check a gateway can rely on.
- MCP specification: Caching (opens in a new tab)StandardFree
Defines ttlMs and cacheScope, which results must carry them, and the rule against sharing caches across authorization contexts.
- MCP specification: Versioning and Compatibility (opens in a new tab)StandardFree
How clients and servers negotiate a revision, and how one server can serve old and new clients.
Helps to know first
110 questions · last verified 2026-12