Technical Guide

ID-JAG Audit Evidence Checklist: Logging IdP-Granted Model Context Protocol Access

When an identity provider grants an AI client access to MCP servers through an Identity Assertion JWT Authorization Grant (ID-JAG) flow, capture evidence at three stages: the IdP assertion, the token exchange, and each MCP tool call. IdP and authorization server records show what was authorized and why. They do not show what the AI did with that access. Tool-call evidence has to come from a component that sees the call at runtime.

  • Which user identity and which policy produced the grant behind this call?
  • Which audience and scopes were issued, and did they match what the tool required?
  • Was the token within its lifetime, and was validation recorded, when the call was made?
  • Can the MCP server's record be joined to the IdP record through a shared identifier?
  • What decision was made on the call itself, and can you show it was enforced rather than only observed?

Grant-time evidence and use-time evidence are different things

In an ID-JAG-based design, the grant is issued centrally. The IdP asserts an identity, the client exchanges that assertion for an access token, and the MCP server receives a token it can validate. Each step is performed by a different party: the IdP, the MCP client, the authorization server and the MCP server. Each party keeps its own records, in its own format.

That split creates the audit problem. Token and assertion issuance events are grant-time evidence. They answer who was authorized, by which issuer, for which audience and scope, and for how long. NIST IR 8587 guidance on protecting tokens and assertions points to logging token- and assertion-related events and to addressing lifetimes, validation, key management and audit logging in organizational practice. That covers the grant.

It does not cover use. A token issuance record does not say which tools the AI called, with what inputs, or whether any call was blocked or approved by a person. An auditor who asks what the AI did needs use-time evidence, and the IdP is not positioned to produce it.

NIST SP 800-171r3 leaves event types and audit record content to the organization. Control 03.03.01 asks you to specify which event types you log, and 03.03.02 asks for defined audit record content with additional information as needed. The checklists below are a practical baseline for those definitions. They are not a field list that any framework prescribes.

Where IdP records stop and runtime evidence begins

The boundary sits at the point where a token is presented to an MCP server. Everything before it is issuance: the IdP and authorization server know what they granted. Everything after it is use, and only a component that sees the tool call can record it.

This is also a question of trust in each log source. OWASP guidance for MCP environments advises that when logs come from a component you did not build, you should assess what such a record actually establishes. A third-party MCP server's own log may state that a call happened without establishing that the call matched the grant. Treat the authorization server, MCP client and MCP server as separate log sources, and decide which of them you can rely on as evidence and which you can only treat as claims.

Least privilege adds another test. OWASP advises giving agents the minimum tools required for a task. To demonstrate that, your evidence must let you compare the tools a grant permitted with the tools the agent invoked. That comparison is only possible when tool-call records carry the grant identifier.

How enforcement in the execution path produces tool-call evidence

Records written after the fact depend on each component choosing to log, and on logs that may be incomplete or hard to trust. Evidence is stronger when it comes from the point where the decision is made. Trussed enforces policy in the execution path across models, agents, tools and MCP servers. For each individual interaction or tool call, it can allow, redact, block, rate limit or escalate for human approval, and that enforcement generates audit-ready evidence of the decision.

In terms of the checklists above, this addresses the use-time fields: the tool invoked, the policy decision, any redaction applied, and the approver on escalated calls. The decision is enforced at runtime, not reviewed after the fact, so the record reflects what actually happened to the call. The evidence is mapped to frameworks including NIST, and Trussed can be self-managed in the customer cloud with configurable retention and data residency.

The scope is the individual interaction and tool call. Trussed does not replace the IdP's grant-time records, which remain the source for who issued what and why. The two sets of evidence are complementary, and the shared grant identifier is what lets an auditor follow a single tool call back to the policy that allowed the access.

Evidence across an IdP-granted MCP access flow

IdP assertion

Who the user is, which policy applied, and what the IdP asserted.

Token exchange

Which scopes and audience were issued to the client, and how the grant was validated.

MCP tool call

Which tool ran, under which grant, and what policy decision applied at runtime.

See what tool-call evidence looks like in practice

Review how policy enforcement in the execution path produces audit-ready evidence for MCP tool calls in a regulated enterprise.

See How Evidence Is Produced