part…
Building governance for MCP?
The gateway applies what the guide teaches: policies on discovery, invocation and authorisation.
The gateway applies what the guide teaches: policies on discovery, invocation and authorisation.
This lesson turns 13.1–13.3 into product requirements: what to log, how to trace, what to measure and how to preserve evidence.
traceparent) and a CLIENT span per request to the server (child), with the OTel conventions for MCP (13.2): mcp.method.name, gen_ai.tool.name, error.type, mcp.protocol.version, transport.traceparent towards each server; forward tracestate; baggage only by policy.tools/call; subscriptions as long-lived spans with an event per notification.x-mcp-header, -32020/-32021/-32022 errors, use of removed items per era, tasks by state, result sizes and redactions.One event per request and per round, with actor (sub, host), server, era, method, target, decision, policy, resultType, isError, error code, latency, hashes of the request and of requestState, traceparent. Lifecycle events: approvals, consents (including the exact command of local servers), era changes, catalogue changes, token issuance and use (hashed), cancellations with reason. No secrets, no unnecessary PII, no requestState or session ids in the clear.
The security guide for organisations aligns these practices with supply-chain regulation (e.g. the CRA in the EU): inventory, SBOM, update process, vulnerability management. Your platform should produce, per server: pinned version, SBOM (if local), provenance, approvals and activity.
Faced with a vulnerable server or SDK: locate instances (inventory), block its egress or disable it in the gateway, rotate any credentials it held (token broker), push the corrected pinned version, review the audit trail of what it did.
1. How are MRTR rounds represented in traces?
They keep the correlation with the original request.
2. What must be reconstructible about an approval?
It is the evidence an auditor will ask for.