SDK reference · Rails
readMcpGrantKeyed
readMcpGrantKeyed in @provenanceauth/rails/mcp, Rails. The grant an MCP request's _meta carries and the key it was under, or null.
Signature
readMcpGrantKeyed(meta: unknown, opts?: ReadMcpGrantOptions): { data: DelegationMessageData; key: McpGrantKey } | nullParameters
metaunknownRequiredoptsReadMcpGrantOptions
Returns
{ data: DelegationMessageData; key: McpGrantKey } | null
HTTP operation
Runs locally, with no request to the API.