View as Markdown

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 } | null

Parameters

metaunknownRequired
optsReadMcpGrantOptions

Returns

{ data: DelegationMessageData; key: McpGrantKey } | null

HTTP operation

Runs locally, with no request to the API.

Was this page helpful? Send us feedback

LLM? Read llms.txt.